diff --git a/target_mssql/connector.py b/target_mssql/connector.py index 8328c45..578e2cf 100644 --- a/target_mssql/connector.py +++ b/target_mssql/connector.py @@ -346,9 +346,7 @@ def to_sql_type(self, jsonschema_type: dict) -> sqlalchemy.types.TypeEngine: # maxlength = jsonschema_type.get("maxLength") if maxlength is not None: if maxlength > 8000: - return cast( - sqlalchemy.types.TypeEngine, sqlalchemy.types.TEXT() - ) + return cast(sqlalchemy.types.TypeEngine, sqlalchemy.types.TEXT()) return cast( sqlalchemy.types.TypeEngine, sqlalchemy.types.VARCHAR(maxlength)