def upload_file(self, container, file_or_path, obj_name=None,
            content_type=None, etag=None, content_encoding=None, ttl=None,
            content_length=None, return_none=False, headers=None,
            metadata=None, extra_info=None):
        return self.create_object(container, file_or_path=file_or_path,
                obj_name=obj_name, content_type=content_type, etag=etag,
                content_encoding=content_encoding, ttl=ttl, headers=headers,
                metadata=metadata, return_none=return_none)
Uploads the specified file to the container. If no name is supplied,
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/StorageClient.upload_file