Skip to content

Commit 3625fde

Browse files
committed
Add column_typing attribute to TargetOptions class
1 parent 8c1bc85 commit 3625fde

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sling/sling/options.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class TargetOptions:
8282
ignore_existing: bool
8383
delete_missing: bool
8484
column_casing: str
85+
column_typing: dict
8586
add_new_columns: bool
8687
adjust_column_type: bool
8788
table_keys: dict
@@ -90,7 +91,7 @@ class TargetOptions:
9091
pre_sql: str
9192
post_sql: str
9293

93-
def __init__(self,
94+
def __init__(self,
9495
header: bool = None,
9596
compression: Union[Compression, str] = None,
9697
concurrency: int = None,
@@ -105,6 +106,7 @@ def __init__(self,
105106
ignore_existing: bool = None,
106107
delete_missing: bool = None,
107108
column_casing: str = None,
109+
column_typing: dict = None,
108110
add_new_columns: bool = None,
109111
adjust_column_type: bool = None,
110112
table_keys: dict = {},
@@ -127,6 +129,7 @@ def __init__(self,
127129
self.ignore_existing = ignore_existing
128130
self.delete_missing = delete_missing
129131
self.column_casing = column_casing
132+
self.column_typing = column_typing
130133
self.add_new_columns = add_new_columns
131134
self.adjust_column_type = adjust_column_type
132135
self.table_keys = table_keys

0 commit comments

Comments
 (0)