add_objects#

geodesic.entanglement.object.add_objects(objects, project=None, batch_size=1000, show_progress=False)[source]#

Add new nodes or update existing nodes.

Parameters:
  • objects (list) – a list of objects to add/update. All should have the project set or they will be updated from the specified project (or active project is no project is specified)

  • project (str | Project | None) – which project to add them to.

  • batch_size (int) – the max number of objects to write in a single request

  • show_progress (bool) – if True, will show a tqdm progress bar (if available)

Returns:

A dictionary of Objects successfully added, keyed by the object’s full name

Return type:

DefaultDict[str, Object]