MODULE REFERENCE
connector
anomx.data.base.connectorBase connector contract.
classView source ↗
BaseConnector
BaseConnectorBases: ABC
Read and write datasets for component workflows.
Members
readmethod
read(config: dict[str, Any]) -> AnyRead data from a source.
| Parameter | Type | Default |
|---|---|---|
config | dict[str, Any] | required |
Returns Any
writemethod
write(data: Any, config: dict[str, Any]) -> NoneWrite data to a target.
| Parameter | Type | Default |
|---|---|---|
data | Any | required |
config | dict[str, Any] | required |
Returns None
streammethod
stream(config: dict[str, Any]) -> Iterable[Any]Stream records from a source.
| Parameter | Type | Default |
|---|---|---|
config | dict[str, Any] | required |
Returns Iterable[Any]
schemamethod
schema() -> dict[str, Any]Return the connector configuration schema.
Returns dict[str, Any]