platypush/plugins/nextcloud/__init__.py
def move(self, path: str, destination: str, user_id: Optional[str] = None, overwrite: bool = False, **server_args):
        """
        Move a resource to another path.

        :param path: Resource path.
        :param destination: Destination path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param overwrite: Set to ``True`` if you want to overwrite any existing file (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
        user_id = user_id or server_args.get('username', self.conf.username)
        self._execute(server_args, 'move_path', user_id, path, destination, overwrite=overwrite)

        Move a resource to another path.

        :param path: Resource path.
        :param destination: Destination path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param overwrite: Set to ``True`` if you want to overwrite any existing file (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        
Move a resource to another path.
Move a resource to another path .
def move(self, path: str, destination: str, user_id: Optional[str] = None, overwrite: bool = False, **server_args):
        user_id = user_id or server_args.get('username', self.conf.username)
        self._execute(server_args, 'move_path', user_id, path, destination, overwrite=overwrite)
def move ( self , path : str , destination : str , user_id : Optional [ str ] = None , overwrite : bool = False , ** server_args ) : user_id = user_id or server_args . get ( 'username' , self . conf . username ) self . _execute ( server_args , 'move_path' , user_id , path , destination , overwrite = overwrite )
Move a resource to another path.
Move a resource to another path .
"""
        Move a resource to another path.

        :param path: Resource path.
        :param destination: Destination path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param overwrite: Set to ``True`` if you want to overwrite any existing file (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
self
path
str
None
destination
str
None
user_id
Optional[str]
User ID associated to the resource (default: same as the configured user).
User ID associated to the resource ( default : same as the configured user ) .
overwrite
bool
Set to ``True`` if you want to overwrite any existing file (default: ``False``).
Set to ` ` True ` ` if you want to overwrite any existing file ( default : ` ` False ` ` ) .
server_args
Override the default server settings .
Override the default server settings .