Package s3 :: Module objects :: Class S3Object
[hide private]
[frames] | no frames]

Class S3Object

source code


S3Object class

Instance Methods [hide private]
  __init__(self, key, data, metadata, last_modified=None, bucket=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  save(self)
Save a modified (or same) S3Object to the bucket associated with it.
  delete(self)
Deletes an S3Object from the bucket.
  get_meta_for_headers(self)
Returns a dictionary of metadata keys prepared for inserting them into headers.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, key, data, metadata, last_modified=None, bucket=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

save(self)

source code 
Save a modified (or same) S3Object to the bucket associated with it.

delete(self)

source code 
Deletes an S3Object from the bucket.

get_meta_for_headers(self)

source code 
Returns a dictionary of metadata keys prepared for inserting them into headers.