Connection to an external data source or destination.
Connection( client: wallaroo.client.Client, data: Dict[str, Any], standalone=False)
Each object requires:
- a GraphQL client - in order to fill its missing members dynamically
- an initial data blob - typically from unserialized JSON, contains at
- least the data for required members (typically the object's primary key) and optionally other data members.
@staticmethoddef list_connections( client: wallaroo.client.Client, workspace_id: Optional[int] = None) -> wallaroo.connection.ConnectionList:
@staticmethoddef get_connection( client: wallaroo.client.Client, name: str) -> wallaroo.connection.Connection:
@staticmethoddef create_connection( client: wallaroo.client.Client, name: str, connection_type: str, details: Dict[str, Any]) -> wallaroo.connection.Connection:
Wraps a list of connections for display in a display-aware environment like Jupyter.