Documentation Home Page OPAL-RT Dashboard Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


class opalone._internal.connections.Connection(connection_id)

Bases: Resource

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

Parameters:

connection_id (str) – The ID of the connection.

delete()

Delete the current connection.

to_json(fields, values)

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

property destination

Destination (To) datapoint of the connection.

property enabled: bool

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

property id: str

The ID of the resource.

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

property source

Source (From) datapoint of the connection.

  • No labels