

@_handle_container_not_found
def get(self, container):
    '\n        Returns a Container matching the specified container name. If no such\n        container exists, a NoSuchContainer exception is raised.\n        '
    name = utils.get_name(container)
    uri = ('/%s' % name)
    (resp, resp_body) = self.api.method_head(uri)
    hdrs = resp.headers
    data = {
        'total_bytes': int(hdrs.get('x-container-bytes-used', '0')),
        'object_count': int(hdrs.get('x-container-object-count', '0')),
        'name': name,
    }
    return Container(hdrs, data, loaded=False)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.get/VarMisuse@99/190 `self`->`hdrs`