singer_sdk.connectors.sql.SQLToJSONSchema¶
- class singer_sdk.connectors.sql.SQLToJSONSchema[source]¶
SQLAlchemy to JSON Schema type mapping helper.
This class provides a mapping from SQLAlchemy types to JSON Schema types.
Added in version 0.41.0.
- datetime_to_jsonschema(column_type)[source]¶
Return a JSON Schema representation of a generic datetime type.
- float_to_jsonschema(column_type)[source]¶
Return a JSON Schema representation of a generic number type.
- integer_to_jsonschema(column_type)[source]¶
Return a JSON Schema representation of a an integer type.