From 4301625cc8fee32c2ec0602f0f9c7eddaad9cf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:00:54 -0600 Subject: [PATCH] Confirm that we're not making any breaking changes --- tests/core/test_connector_sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/test_connector_sql.py b/tests/core/test_connector_sql.py index 059c29a7f..75267451a 100644 --- a/tests/core/test_connector_sql.py +++ b/tests/core/test_connector_sql.py @@ -654,7 +654,7 @@ def test_unknown_format(self, json_schema_to_sql: JSONSchemaToSQL): assert isinstance(result, sa.types.VARCHAR) def test_custom_fallback(self): - json_schema_to_sql = JSONSchemaToSQL(max_varchar_length=None) + json_schema_to_sql = JSONSchemaToSQL() json_schema_to_sql.fallback_type = sa.types.CHAR jsonschema_type = {"cannot": "compute"} result = json_schema_to_sql.to_sql_type(jsonschema_type) @@ -668,7 +668,7 @@ def handle_raw_string(self, schema): return super().handle_raw_string(schema) - json_schema_to_sql = CustomJSONSchemaToSQL(max_varchar_length=None) + json_schema_to_sql = CustomJSONSchemaToSQL() vanilla = {"type": ["string"]} result = json_schema_to_sql.to_sql_type(vanilla)