cloud_storage_utility.types.bucket_key
View Source
from typing import NamedTuple class BucketKeyMetadata(NamedTuple): """ Storing meta-information about a bucket key. last_modified: unix timestamp bytes: file-size """ last_modified: int bytes: str
View Source
class BucketKeyMetadata(NamedTuple): """ Storing meta-information about a bucket key. last_modified: unix timestamp bytes: file-size """ last_modified: int bytes: str
Storing meta-information about a bucket key.
last_modified: unix timestamp
bytes: file-size
Create new instance of BucketKeyMetadata(last_modified, bytes)
#  
last_modified
itemgetter(item, ...) --> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3])
#  
bytes
itemgetter(item, ...) --> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3])
Inherited Members
- builtins.tuple
- index
- count