

def set_metadata(self, metadata, clear=False, prefix=None):
    "\n        Accepts a dictionary of metadata key/value pairs and updates the\n        specified container metadata with them.\n\n        If 'clear' is True, any existing metadata is deleted and only the\n        passed metadata is retained. Otherwise, the values passed here update\n        the container's metadata.\n\n        The 'extra_info' parameter is included for backwards compatibility. It\n        is no longer used at all, and will not be modified with swiftclient\n        info, since swiftclient is not used any more.\n\n        By default, the standard container metadata prefix\n        ('X-Container-Meta-') is prepended to the header name if it isn't\n        present. For non-standard headers, you must include a non-None prefix,\n        such as an empty string.\n        "
    return self.manager.set_metadata(self, metadata, clear=clear, prefix=prefix)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py Container.set_metadata/original