Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection
opalone._internal.connections.Connection
class opalone._internal.connections.Connection(connection_id)
Panel
bgColorunset

Bases: Resource

A connection allows describing a transfer of data between two data points.

Parameters:

connection_id (str) – The ID of the connection.

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.delete
opalone._internal.connections.Connection.delete
delete()
Panel
bgColorunset

Delete the current connection.

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.to_json
opalone._internal.connections.Connection.to_json
to_json(fields, values)
Panel
bgColorunset

Convert this resource to a serialized JSON representation.

Parameters:
  • fields (tuple[str] | list[str]) – Fields to include.

  • values (tuple[object] | list[object]) – The value of each field

Returns:

The serialized JSON representation.

Return type:

str

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.destination
opalone._internal.connections.Connection.destination
property destination
Panel
bgColorunset

Destination (To) datapoint of the connection.

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.enabled
opalone._internal.connections.Connection.enabled
property enabled: bool
Panel
bgColorunset

Indicates if this connection is enabled (True) or not (False).

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.id
opalone._internal.connections.Connection.id
property id: str
Panel
bgColorunset

The ID of the resource.

This property is read-only, it cannot be modified.

Panel
bgColorunset
Anchor
opalone._internal.connections.Connection.source
opalone._internal.connections.Connection.source
property source
Panel
bgColorunset

Source (From) datapoint of the connection.