You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number of IDs to check in each query. Default is 100.
254
265
return_missing_ids : bool
255
266
If True, and if ids are missing in the collection, return the list of IDs that do not exist in the collection. Default is False.
267
+
256
268
Returns
257
269
-------
258
270
bool
259
271
True if all IDs exist in the collection, False otherwise.
272
+
260
273
"""
261
274
# chunk the input list of IDs into smaller lists of 100 IDs each
262
275
# to avoid the maximum URL length limit
@@ -284,6 +297,7 @@ def get_batch_records(
284
297
"""
285
298
Get a batch of records from the collection by a list of input IDs. This method is used to identify records that include any of the IDs from the input list, matching the search_field.
286
299
This is using the MongoDB filter keyword $in to identify other records that include the input IDs.
300
+
287
301
Parameters
288
302
---------
289
303
id_list: list
@@ -294,10 +308,12 @@ def get_batch_records(
294
308
The number of IDs to get in each query. Default is 100.
0 commit comments