xtrace_sdk.connectors.base

Classes

ConnectorBase

This is the base class for a Connector.

Module Contents

class xtrace_sdk.connectors.base.ConnectorBase(**kwargs)

Bases: abc.ABC

This is the base class for a Connector. It provides an interface for connecting to various data sources.

Parameters:

kwargs (Any)

abstractmethod connect(**kwargs)

Establish a connection to the data source. This method should be implemented by subclasses to handle the specifics of connecting to the data source.

Parameters:

kwargs (Any)

Return type:

Any

abstractmethod load_data(**kwargs)

Load data from the connected data source. This method should be implemented by subclasses to handle the specifics of loading data.

Parameters:

kwargs (Any)

Return type:

Any