dvid.fetch.ids_exist

dvid.fetch.ids_exist(ids, chunk_size=1000.0, progress=True, server=None, node=None)[source]

Check if given IDs exist.

Parameters
  • ids (iterable) – [12345, 455677, …] IDs. Must be integers!

  • chunk_size (int, optional) – Splits query into chunks of a given size to reduce strain on server.

  • progress (bool) – If True, show progress bar.

  • server (str, optional) – If not provided, will try reading from global.

  • node (str, optional) – If not provided, will try reading from global.

Returns

exists – Array of booleans.

Return type

np.ndarray