File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " shaped-target-clickhouse"
3- version = " 0.1.20 "
3+ version = " 0.1.21 "
44description = " `target-clickhouse` is a Singer target for clickhouse, built with the Meltano Singer SDK."
55readme = " README.md"
66authors = [" Ben Theunissen" ]
@@ -49,6 +49,7 @@ ignore = [
4949 " TCH003" ,
5050 " ANN202" ,
5151 " C901" ,
52+ " TRY201" , # Use of bare 'except'
5253]
5354select = [" ALL" ]
5455src = [" target_clickhouse" ]
Original file line number Diff line number Diff line change @@ -199,6 +199,9 @@ def pre_validate_for_string_type(
199199 if not isinstance (expected_type , list ):
200200 expected_type = [expected_type ]
201201
202+ if "null" in expected_type and value is None :
203+ continue
204+
202205 if "object" in expected_type and isinstance (value , dict ):
203206 pre_validate_for_string_type (
204207 value ,
You can’t perform that action at this time.
0 commit comments