Commit 971d1ec Jason Munro
authored
1 parent 4d8dba0 commit 971d1ec Copy full SHA for 971d1ec
File tree 1 file changed +1
-3
lines changed
mp_api/client/routes/materials
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ def search(
45
45
def search_docs (
46
46
self ,
47
47
material_ids : str | list [str ] | None = None ,
48
- deprecated : bool | None = False ,
49
48
num_chunks : int | None = None ,
50
49
chunk_size : int = 1000 ,
51
50
all_fields : bool = True ,
@@ -56,7 +55,6 @@ def search_docs(
56
55
Arguments:
57
56
material_ids (str, List[str]): A single Material ID string or list of strings
58
57
(e.g., mp-149, [mp-149, mp-13]).
59
- deprecated (bool): Whether the material is tagged as deprecated.
60
58
num_chunks (int): Maximum number of chunks of data to yield. None will yield all possible.
61
59
chunk_size (int): Number of data entries per chunk.
62
60
all_fields (bool): Whether to return all fields in the document. Defaults to True.
@@ -66,7 +64,7 @@ def search_docs(
66
64
Returns:
67
65
([RobocrystallogapherDoc], [dict]) List of robocrystallographer documents or dictionaries.
68
66
"""
69
- query_params = {"deprecated" : deprecated } # type: dict
67
+ query_params = {} # type: dict
70
68
71
69
if material_ids :
72
70
if isinstance (material_ids , str ):
You can’t perform that action at this time.
0 commit comments