

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

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.get_metadata/VarMisuse@94/135 `low_prefix`->`self`