@_handle_container_not_found
    def get(self, container):
        """
        Returns a Container matching the specified container name. If no such
        container exists, a NoSuchContainer exception is raised.
        """
        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(self, data, loaded=False)
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/ContainerManager.get/original