singer_sdk.connectors.sql.JSONSchemaToSQL¶
- class singer_sdk.connectors.sql.JSONSchemaToSQL[source]¶
A configurable mapper for converting JSON Schema types to SQLAlchemy types.
This class provides a mapping from JSON Schema types to SQLAlchemy types.
Added in version 0.42.0.
- handle_raw_string(schema)[source]¶
Handle a string type generically.
- Parameters:
schema (dict) – The JSON Schema object.
- Returns:
Appropriate SQLAlchemy type.
- Return type:
TypeEngine