Skip to content

connections

konigle.managers.core.connections

Connection managers for the Konigle SDK.

This module provides managers for third-party API connection resources, enabling listing and retrieval of connection details and credentials.

AsyncConnectionManager

Bases: BaseConnectionManager, BaseAsyncManager

Async manager for connection resources.

create(*args, **kwargs) async

Creation not supported via SDK.

delete(*args, **kwargs) async

Deletion not supported via SDK.

get(id_) async

Get a specific connection by ID.

get_credentials(provider) async

Get connection credentials by ID.

Returns the raw credentials dictionary for the connection, which may include sensitive information like tokens.

PARAMETER DESCRIPTION
provider

Connection provider code

TYPE: str

Returns: Dictionary containing connection credentials

update(*args, **kwargs) async

Update not supported via SDK.

BaseConnectionManager

Base configuration for Connection resource managers.

base_path = '/relay/api/v1/connections' class-attribute instance-attribute

The API base path for this resource type.

resource_class = Connection class-attribute instance-attribute

The resource model class this manager handles.

ConnectionManager

Bases: BaseConnectionManager, BaseSyncManager

Manager for connection resources.

create(*args, **kwargs)

Creation not supported via SDK.

delete(*args, **kwargs)

Deletion not supported via SDK.

get(id_)

Get a specific connection by ID.

get_credentials(provider)

Get connection credentials by ID.

Returns the raw credentials dictionary for the connection, which may include sensitive information like tokens.

PARAMETER DESCRIPTION
provider

Connection provider code

TYPE: str

RETURNS DESCRIPTION
Dict[str, str]

Dictionary containing connection credentials

update(*args, **kwargs)

Update not supported via SDK.