@@ -16,7 +16,6 @@ class ElectrodeRester(BaseRester[InsertionElectrodeDoc]):
16
16
17
17
def search ( # pragma: ignore
18
18
self ,
19
- material_ids : str | list [str ] | None = None ,
20
19
battery_ids : str | list [str ] | None = None ,
21
20
average_voltage : tuple [float , float ] | None = None ,
22
21
capacity_grav : tuple [float , float ] | None = None ,
@@ -43,8 +42,6 @@ def search( # pragma: ignore
43
42
"""Query using a variety of search criteria.
44
43
45
44
Arguments:
46
- material_ids (str, List[str]): A single Material ID string or list of strings
47
- (e.g., mp-149, [mp-149, mp-13]).
48
45
battery_ids (str, List[str]): A single battery ID string or list of strings
49
46
(e.g., mp-22526_Li, [mp-22526_Li, mp-22526_Ca]).
50
47
average_voltage (Tuple[float,float]): Minimum and maximum value of the average voltage for a particular
@@ -85,12 +82,6 @@ def search( # pragma: ignore
85
82
"""
86
83
query_params = defaultdict (dict ) # type: dict
87
84
88
- if material_ids :
89
- if isinstance (material_ids , str ):
90
- material_ids = [material_ids ]
91
-
92
- query_params .update ({"material_ids" : "," .join (validate_ids (material_ids ))})
93
-
94
85
if battery_ids :
95
86
if isinstance (battery_ids , str ):
96
87
battery_ids = [battery_ids ]
0 commit comments