abacusai.streaming_connector

Classes

StreamingConnector

A connector to an external service

Module Contents

class abacusai.streaming_connector.StreamingConnector(client, streamingConnectorId=None, service=None, name=None, createdAt=None, status=None, auth=None)

Bases: abacusai.return_class.AbstractApiClass

A connector to an external service

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • streamingConnectorId (str) – The unique ID for the connection.

  • service (str) – The service this connection connects to

  • name (str) – A user-friendly name for the service

  • createdAt (str) – When the API key was created

  • status (str) – The status of the Database Connector

  • auth (dict) – Non-secret connection information for this connector

streaming_connector_id
service
name
created_at
status
auth
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict

verify()

Checks to see if Abacus.AI can access the streaming connector.

Parameters:

streaming_connector_id (str) – Unique string identifier for the streaming connector to be checked for Abacus.AI access.

rename(name)

Renames a Streaming Connector

Parameters:

name (str) – A new name for the streaming connector.

delete()

Delete a streaming connector.

Parameters:

streaming_connector_id (str) – The unique identifier for the streaming connector.