

def move_object(self, obj, new_container, new_obj_name=None, new_reference=False, content_type=None, extra_info=None):
    "\n        Works just like copy_object, except that the source object is deleted\n        after a successful copy.\n\n        You can optionally change the content_type of the object by supplying\n        that in the 'content_type' parameter.\n\n        NOTE: any references to the original object will no longer be valid;\n        you will have to get a reference to the new object by passing True for\n        the 'new_reference' parameter. When this is True, a reference to the\n        newly moved object is returned. Otherwise, the etag for the moved\n        object is returned.\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        "
    return self.manager.move_object(self, obj, new_container, new_obj_name=obj, new_reference=new_reference, content_type=content_type)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py Container.move_object/VarMisuse@47/358 `new_obj_name`->`obj`