Skip to content

Connections

CRUD operations for annotation connections.

nimbusimage.connections.ConnectionAccessor

Access connections for a specific dataset.

list(parent_id=None, child_id=None, node_id=None, limit=0, offset=0)

List connections in this dataset.

get(connection_id)

Get a single connection by ID.

count()

Count connections in this dataset.

create(parent_id, child_id, tags=None)

Create a single connection.

create_many(connections)

Create multiple connections in bulk.

connect_to_nearest(annotation_ids, tags, channel)

Auto-connect annotations to nearest neighbors.

Server-side operation. Translates 'channel' to 'channelId' in the wire format.

update(connection_id, updates)

Update a single connection.

delete(connection_id)

Delete a single connection.

delete_many(connection_ids)

Delete multiple connections.