1 parent 9863ee2 commit 4dcfe67Copy full SHA for 4dcfe67
1 file changed
src/schemaforge/type_config.py
@@ -3,6 +3,7 @@
3
Allows users to override default type mappings between ColumnTypes
4
and format-specific type strings via YAML or JSON configuration files.
5
"""
6
+
7
from __future__ import annotations
8
9
import json
@@ -82,9 +83,7 @@ def get_override(
82
83
result = re.sub(r"\{[^}]+\}", "", result)
84
return result
85
- def get_custom_type(
86
- self, custom_type_name: str, fmt: str
87
- ) -> str | None:
+ def get_custom_type(self, custom_type_name: str, fmt: str) -> str | None:
88
"""Resolve a custom type name to a format-specific type string.
89
90
Custom types are overrides keyed by type name (e.g. 'JSONB', 'HSTORE')
0 commit comments