geodesic.boson.dataset.Dataset.connect_with#

Dataset.connect_with(predicate, object)#

Adds a connection from this Object to another using the specified Predicate.

Parameters:
  • predicate (Predicate | str) – name of a Predicate or a Predicate object defining the connection and any edge attributes.

  • object (Object) – the target Object of this connection.

Returns:

the requested Connection.

Return type:

Connection