fix(insights): fix legacy transformation of properties #742
Annotations
7 errors and 1 warning
Check static typing:
posthog/hogql_queries/legacy_compatibility/clean_properties.py#L108
Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[Any], TypeGuard[bool]]"
|
Check static typing:
posthog/hogql_queries/legacy_compatibility/clean_properties.py#L108
Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[Any], TypeGuard[Any]]"
|
Check static typing:
posthog/hogql_queries/legacy_compatibility/clean_properties.py#L108
Argument 2 to "filter" has incompatible type "Any | None"; expected "Iterable[Any]"
|
Check static typing:
posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py#L15
Need type annotation for "properties" (hint: "properties: Dict[<type>, <type>] = ...")
|
Check static typing:
posthog/hogql_queries/legacy_compatibility/test/test_clean_properties.py#L104
Need type annotation for "properties" (hint: "properties: Dict[<type>, <type>] = ...")
|
Check static typing:
posthog/hogql_queries/insights/trends/test/test_trends.py#L23
Module "posthog.hogql_queries.legacy_compatibility.filter_to_query" has no attribute "clean_properties"; maybe "clean_entity_properties", "clean_global_properties", or "_properties"?
|
Check static typing
Process completed with exit code 11.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: n1hility/cancel-previous-runs@v3, actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading