geodesic.entanglement.object.add_objects¶
- geodesic.entanglement.object.add_objects(objects, overwrite=False, project=None, batch_size=1000, show_progress=False)[source]¶
Add new nodes or update existing nodes.
- Parameters
objects – 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)
overwrite – (deprecated) If overwrite is True, will overwrite existing nodes, otherwise will raise an exception if they exist. This will be ignored because data versioning covers this.
project – which project to add them to.
batch_size – the max number of objects to write in a single request
show_progress – if True, will show a tqdm progress bar (if available)
- Returns
A dictionary of Objects successfully added, keyed by the object’s full name