Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Feb 11, 2025
1 parent 2817c4b commit 569cdca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def row_tuples_to_arrow(rows: Sequence[RowAny], columns: TTableSchemaColumns, tz
if issubclass(py_type, bytes) or issubclass(py_type, str):
# For bytes/str columns, ensure any dict values are serialized to JSON strings
columnar_known_types[field.name] = [

Check failure on line 126 in posthog/temporal/data_imports/pipelines/sql_database/arrow_helpers.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

Incompatible types in assignment (expression has type "list[Any | None]", target has type "ndarray[Any, dtype[Any]]")
None if x is None else json_dumps(x) if isinstance(x, (dict, list)) else x
None if x is None else json_dumps(x) if isinstance(x, dict | list) else x
for x in columnar_known_types[field.name]
]

Expand Down

0 comments on commit 569cdca

Please sign in to comment.