add_connections#
- geodesic.entanglement.object.add_connections(connections, overwrite=False, project=None, batch_size=250, show_progress=False)[source]#
Adds connections given a list of triples (Connection objects).
- Parameters:
connections (list) – list of Connections or dicts of connections to add. Every object must exist and have a UID.
overwrite – (deprecated) Overwrite this edge/connection if it exists. This parameter is ignored
project (str | Project | None) – This will overwrite the project if none is specified on a connection.
batch_size – The number of connections to write in a single batch
show_progress – If True, will show a tqdm progress bar.
- Raises:
requests.HTTPError for fault. –