Skip to content

Commit

Permalink
DAMN
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming committed Nov 27, 2024
1 parent 7bcf689 commit ffc0d3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/queries/column_optimizer/foss_column_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def columns_to_query(
column = get_materialized_column_for_property(table, table_column, property_name)

Check failure on line 77 in posthog/queries/column_optimizer/foss_column_optimizer.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

Argument 2 to "get_materialized_column_for_property" has incompatible type "str"; expected "Literal['properties', 'group_properties', 'person_properties']"
if column is not None and not column.is_nullable:
column_names.add(column.name)
else:
column_names.add(table_column)
return column_names

@cached_property
Expand Down

0 comments on commit ffc0d3c

Please sign in to comment.