

def get_account_metadata(self, prefix=None):
    '\n        Returns a dictionary containing metadata about the account.\n        '
    headers = self.get_account_headers()
    if (prefix is None):
        prefix = ACCOUNT_META_PREFIX
    low_prefix = prefix.lower()
    ret = {
        
    }
    for (hkey, hval) in list(headers.items()):
        lowkey = hkey.lower()
        if lowkey.startswith(low_prefix):
            cleaned = hkey.replace(low_prefix, '').replace('-', '_')
            ret[cleaned] = hval
    return ret

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.get_account_metadata/original