def _create_body(self, name, metadata=None):
        if metadata is None:
            body = {}
        else:
            body = {"metadata": metadata}
        return body
Used to create the dict required to create a new queue
dataset/ETHPy150Open rackspace/pyrax/pyrax/image.py/ImageManager._create_body