Revision 82482e2c pithos/backends/base.py
b/pithos/backends/base.py | ||
---|---|---|
74 | 74 |
""" |
75 | 75 |
return [] |
76 | 76 |
|
77 |
def get_account_meta(self, user, account, domain, until=None): |
|
77 |
def get_account_meta(self, user, account, domain, until=None, include_user_defined=True):
|
|
78 | 78 |
"""Return a dictionary with the account metadata for the domain. |
79 | 79 |
|
80 | 80 |
The keys returned are all user-defined, except: |
... | ... | |
195 | 195 |
""" |
196 | 196 |
return [] |
197 | 197 |
|
198 |
def get_container_meta(self, user, account, container, domain, until=None): |
|
198 |
def get_container_meta(self, user, account, container, domain, until=None, include_user_defined=True):
|
|
199 | 199 |
"""Return a dictionary with the container metadata for the domain. |
200 | 200 |
|
201 | 201 |
The keys returned are all user-defined, except: |
... | ... | |
345 | 345 |
"""Return a dict mapping paths to public ids for objects that are public under a container.""" |
346 | 346 |
return {} |
347 | 347 |
|
348 |
def get_object_meta(self, user, account, container, name, domain, version=None): |
|
348 |
def get_object_meta(self, user, account, container, name, domain, version=None, include_user_defined=True):
|
|
349 | 349 |
"""Return a dictionary with the object metadata for the domain. |
350 | 350 |
|
351 | 351 |
The keys returned are all user-defined, except: |
Also available in: Unified diff