platypush/plugins/nextcloud/__init__.py
def list_favorites(self, path: Optional[str] = None, user_id: Optional[str] = None, **server_args) -> List[dict]:
        """
        List the favorite items for a user.

        :param path: Return only the favorites under this path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :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)
        return self._execute(server_args, 'list_folders', user_id, path)

        List the favorite items for a user.

        :param path: Return only the favorites under this path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        
List the favorite items for a user.
List the favorite items for a user .
def list_favorites(self, path: Optional[str] = None, user_id: Optional[str] = None, **server_args) -> List[dict]:
        user_id = user_id or server_args.get('username', self.conf.username)
        return self._execute(server_args, 'list_folders', user_id, path)
def list_favorites ( self , path : Optional [ str ] = None , user_id : Optional [ str ] = None , ** server_args ) -> List [ dict ] : user_id = user_id or server_args . get ( 'username' , self . conf . username ) return self . _execute ( server_args , 'list_folders' , user_id , path )
List the favorite items for a user.
List the favorite items for a user .
"""
        List the favorite items for a user.

        :param path: Return only the favorites under this path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
self
path
Optional[str]
Return only the favorites under this path.
Return only the favorites under this path .
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 ) .
server_args
Override the default server settings .
Override the default server settings .