

@_handle_container_not_found
def delete(self, container, del_objects=False):
    "\n        Deletes the specified container. If the container contains objects, the\n        command will fail unless 'del_objects' is passed as True. In that case,\n        each object will be deleted first, and then the container.\n        "
    if del_objects:
        nms = self.list_object_names(container, full_listing=True)
        self.api.bulk_delete(resp_body, nms, async=False)
    uri = ('/%s' % utils.get_name(container))
    (resp, resp_body) = self.api.method_delete(uri)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.delete/VarMisuse@45/141 `container`->`resp_body`