Loading rpc/methods.py +26 −0 Original line number Diff line number Diff line Loading @@ -1171,6 +1171,32 @@ def advanced_search( return results @_rpc_groups(["Search", "Collections", "Resources"]) def items( user: User, search_terms: List[Dict], project_id: int, include_metas: bool = False, collection_id: int = None, limit_from: int = 0, limit_to: int = 2000, order_by: str = "title", ) -> Dict[str, List]: """ Alias to advanced_search. """ return advanced_search( user, search_terms, project_id, include_metas, collection_id, limit_from, limit_to, order_by, ) @_rpc_groups(["Utilities"]) def upload_infos(user: User, sha256_hash: str, project_id: int) -> Dict: """ Loading Loading
rpc/methods.py +26 −0 Original line number Diff line number Diff line Loading @@ -1171,6 +1171,32 @@ def advanced_search( return results @_rpc_groups(["Search", "Collections", "Resources"]) def items( user: User, search_terms: List[Dict], project_id: int, include_metas: bool = False, collection_id: int = None, limit_from: int = 0, limit_to: int = 2000, order_by: str = "title", ) -> Dict[str, List]: """ Alias to advanced_search. """ return advanced_search( user, search_terms, project_id, include_metas, collection_id, limit_from, limit_to, order_by, ) @_rpc_groups(["Utilities"]) def upload_infos(user: User, sha256_hash: str, project_id: int) -> Dict: """ Loading