Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider caching list data on object #39

Open
jtratner opened this issue Jul 10, 2017 · 0 comments
Open

Consider caching list data on object #39

jtratner opened this issue Jul 10, 2017 · 0 comments

Comments

@jtratner
Copy link
Collaborator

When you call list() in s3, you get back quite a bit of data:

   {u'ETag': '"<some etag>"',
    u'Key': '<some key>',
    u'LastModified': datetime.datetime(..., tzinfo=tzutc()),
    u'Size': <some size>,
    u'StorageClass': 'GLACIER'}

it might be nice that to just prefill that information into the objects when you call list() or stat() (or give a way to get at raw results from this), so you can, e.g., go get all the glacier objects and restore them. :)

Same idea for Swift objects.

Would help out @kristjaneerik's PR too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant