mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
456 lines
66 KiB
Plaintext
456 lines
66 KiB
Plaintext
ee/api/test/base.py:0: error: "setUpTestData" undefined in superclass [misc]
|
|
ee/api/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "License") [assignment]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: "_MonkeyPatchedResponse" has no attribute "url" [attr-defined]
|
|
ee/api/test/test_billing.py:0: error: Argument 1 to "assertDictEqual" of "TestCase" has incompatible type "None"; expected "Mapping[Any, object]" [arg-type]
|
|
ee/api/test/test_billing.py:0: error: Extra key "projected_amount_usd_with_limit" for TypedDict "CustomerProduct" [typeddict-unknown-key]
|
|
ee/api/test/test_billing.py:0: error: Extra keys ("free_allocation", "has_exceeded_limit", "percentage_usage") for TypedDict "CustomerProductAddon" [typeddict-unknown-key]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "float", TypedDict item "current_amount_usd" has type "Decimal | None") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "float", TypedDict item "current_amount_usd" has type "Decimal") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "float", TypedDict item "projected_amount_usd" has type "Decimal") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "int", TypedDict item "projected_amount" has type "Decimal") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "list[dict[str, object]]", TypedDict item "tiers" has type "Tier | None") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "str", TypedDict item "projected_amount_usd" has type "Decimal | None") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "str", TypedDict item "unit_amount_usd" has type "Decimal | None") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Incompatible types (expression has type "str", TypedDict item "unit_amount_usd" has type "Decimal | None") [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Item "None" of "License | None" has no attribute "plan" [union-attr]
|
|
ee/api/test/test_billing.py:0: error: Item "None" of "License | None" has no attribute "plan" [union-attr]
|
|
ee/api/test/test_billing.py:0: error: Item "None" of "License | None" has no attribute "valid_until" [union-attr]
|
|
ee/api/test/test_billing.py:0: error: Item "None" of "License | None" has no attribute "valid_until" [union-attr]
|
|
ee/api/test/test_billing.py:0: error: Missing keys ("available_product_features", "current_total_amount_usd_after_discount", "discount_percent", "discount_amount_usd") for TypedDict "CustomerInfo" [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Missing keys ("current_total_amount_usd_after_discount", "discount_percent", "discount_amount_usd", "customer_trust_scores") for TypedDict "CustomerInfo" [typeddict-item]
|
|
ee/api/test/test_billing.py:0: error: Missing keys ("icon_key", "docs_url", "included_with_main_product", "inclusion_only", "unit", "contact_support") for TypedDict "CustomerProductAddon" [typeddict-item]
|
|
ee/billing/billing_manager.py:0: error: Incompatible types in assignment (expression has type "object", variable has type "bool | Combinable | None") [assignment]
|
|
ee/billing/test/test_billing_manager.py:0: error: Argument 2 to "update_org_details" of "BillingManager" has incompatible type "dict[str, dict[str, object]]"; expected "BillingStatus" [arg-type]
|
|
ee/billing/test/test_billing_manager.py:0: error: Cannot resolve keyword 'distinct_id' into field. Choices are: access_controls, explicit_team_membership, id, joined_at, level, organization, organization_id, role_membership, updated_at, user, user_id [misc]
|
|
ee/billing/test/test_billing_manager.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
ee/billing/test/test_billing_manager.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
ee/billing/test/test_billing_manager.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
ee/clickhouse/queries/funnels/funnel_correlation.py:0: error: Statement is unreachable [unreachable]
|
|
ee/models/explicit_team_membership.py:0: error: Incompatible return value type (got "int", expected "Level") [return-value]
|
|
ee/models/license.py:0: error: "_T" has no attribute "plan" [attr-defined]
|
|
ee/models/license.py:0: error: Cannot use a covariant type variable as a parameter [misc]
|
|
ee/models/license.py:0: error: Incompatible return value type (got "_T", expected "License | None") [return-value]
|
|
ee/models/license.py:0: error: Incompatible return value type (got "str | bool", expected "bool") [return-value]
|
|
ee/tasks/subscriptions/email_subscriptions.py:0: error: Item "None" of "User | None" has no attribute "email" [union-attr]
|
|
ee/tasks/subscriptions/email_subscriptions.py:0: error: Item "None" of "User | None" has no attribute "first_name" [union-attr]
|
|
ee/tasks/subscriptions/email_subscriptions.py:0: error: Item "None" of "datetime | None" has no attribute "isoformat" [union-attr]
|
|
ee/tasks/subscriptions/email_subscriptions.py:0: error: Item "None" of "datetime | None" has no attribute "strftime" [union-attr]
|
|
ee/tasks/subscriptions/slack_subscriptions.py:0: error: Item "None" of "datetime | None" has no attribute "strftime" [union-attr]
|
|
posthog/admin/admins/plugin_admin.py:0: error: Item "None" of "Organization | None" has no attribute "name" [union-attr]
|
|
posthog/admin/admins/plugin_admin.py:0: error: Item "None" of "Organization | None" has no attribute "pk" [union-attr]
|
|
posthog/admin/admins/plugin_config_admin.py:0: error: Item "None" of "Team | None" has no attribute "name" [union-attr]
|
|
posthog/admin/inlines/plugin_attachment_inline.py:0: error: Signature of "has_add_permission" incompatible with supertype "BaseModelAdmin" [override]
|
|
posthog/admin/inlines/plugin_attachment_inline.py:0: error: Signature of "has_change_permission" incompatible with supertype "BaseModelAdmin" [override]
|
|
posthog/admin/inlines/plugin_attachment_inline.py:0: error: Signature of "has_change_permission" incompatible with supertype "InlineModelAdmin" [override]
|
|
posthog/admin/inlines/plugin_attachment_inline.py:0: error: Signature of "has_delete_permission" incompatible with supertype "BaseModelAdmin" [override]
|
|
posthog/admin/inlines/plugin_attachment_inline.py:0: error: Signature of "has_delete_permission" incompatible with supertype "InlineModelAdmin" [override]
|
|
posthog/api/action.py:0: error: Argument 1 to <tuple> has incompatible type "*tuple[str, ...]"; expected "type[BaseRenderer]" [arg-type]
|
|
posthog/api/cohort.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/api/dashboards/dashboard.py:0: error: Argument 1 to "dashboard_queryset" of "DashboardTile" has incompatible type "DashboardTile_RelatedManager"; expected "QuerySet[Any, Any]" [arg-type]
|
|
posthog/api/documentation.py:0: error: Signature of "run_validation" incompatible with supertype "Field" [override]
|
|
posthog/api/event.py:0: error: Argument 1 to <tuple> has incompatible type "*tuple[str, ...]"; expected "type[BaseRenderer]" [arg-type]
|
|
posthog/api/feature_flag.py:0: error: Argument 2 to "get_all_feature_flags" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/api/feature_flag.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/api/feature_flag.py:0: error: Item "None" of "Any | Sequence[Any] | None" has no attribute "filters" [union-attr]
|
|
posthog/api/feature_flag.py:0: error: Item "Sequence[Any]" of "Any | Sequence[Any] | None" has no attribute "filters" [union-attr]
|
|
posthog/api/insight.py:0: error: Argument 1 to <tuple> has incompatible type "*tuple[str, ...]"; expected "type[BaseRenderer]" [arg-type]
|
|
posthog/api/notebook.py:0: error: Incompatible types in assignment (expression has type "int", variable has type "str | None") [assignment]
|
|
posthog/api/organization.py:0: error: Incompatible return value type (got "int | None", expected "Level | None") [return-value]
|
|
posthog/api/organization_feature_flag.py:0: error: Invalid index type "str | None" for "dict[str, int]"; expected type "str" [index]
|
|
posthog/api/organization_feature_flag.py:0: error: Invalid index type "str | None" for "dict[str, int]"; expected type "str" [index]
|
|
posthog/api/organization_feature_flag.py:0: error: Invalid index type "str | None" for "dict[str, int]"; expected type "str" [index]
|
|
posthog/api/organization_member.py:0: error: "User" has no attribute "social_auth" [attr-defined]
|
|
posthog/api/organization_member.py:0: error: "User" has no attribute "totpdevice_set" [attr-defined]
|
|
posthog/api/organization_member.py:0: error: Signature of "update" incompatible with supertype "BaseSerializer" [override]
|
|
posthog/api/organization_member.py:0: error: Signature of "update" incompatible with supertype "ModelSerializer" [override]
|
|
posthog/api/person.py:0: error: Argument "user" to "log_activity" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
|
|
posthog/api/person.py:0: error: Argument "user" to "log_activity" has incompatible type "User | AnonymousUser"; expected "User | None" [arg-type]
|
|
posthog/api/person.py:0: error: Argument 1 to "loads" has incompatible type "str | None"; expected "str | bytes | bytearray" [arg-type]
|
|
posthog/api/person.py:0: error: Argument 1 to <tuple> has incompatible type "*tuple[str, ...]"; expected "type[BaseRenderer]" [arg-type]
|
|
posthog/api/person.py:0: error: Cannot determine type of "group_properties_filter_group" [has-type]
|
|
posthog/api/plugin.py:0: error: Incompatible type for "file_name" of "PluginAttachment" (got "str | None", expected "str | int | Combinable") [misc]
|
|
posthog/api/plugin.py:0: error: Incompatible type for "file_size" of "PluginAttachment" (got "int | None", expected "float | int | str | Combinable") [misc]
|
|
posthog/api/plugin.py:0: error: Incompatible types in assignment (expression has type "int | None", variable has type "float | int | str | Combinable") [assignment]
|
|
posthog/api/plugin.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str | int | Combinable") [assignment]
|
|
posthog/api/plugin.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str | int | Combinable") [assignment]
|
|
posthog/api/plugin.py:0: error: Item "None" of "IO[Any] | None" has no attribute "read" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "IO[Any] | None" has no attribute "read" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "id" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "id" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "id" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "organization" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "organization" [union-attr]
|
|
posthog/api/plugin.py:0: error: Item "None" of "Team | None" has no attribute "organization" [union-attr]
|
|
posthog/api/plugin_log_entry.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
posthog/api/plugin_log_entry.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
posthog/api/search.py:0: error: "type[Model]" has no attribute "objects" [attr-defined]
|
|
posthog/api/shared.py:0: error: Incompatible return value type (got "int | None", expected "Level | None") [return-value]
|
|
posthog/api/signup.py:0: error: Argument 1 to "create_user" of "UserManager" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/api/survey.py:0: error: Incompatible types in assignment (expression has type "Any | Sequence[Any] | None", variable has type "Survey | None") [assignment]
|
|
posthog/api/survey.py:0: error: Item "list[_ErrorFullDetails]" of "_FullDetailDict | list[_ErrorFullDetails] | dict[str, _ErrorFullDetails]" has no attribute "get" [union-attr]
|
|
posthog/api/survey.py:0: error: Item "object" of "object | Any" has no attribute "__iter__" (not iterable) [union-attr]
|
|
posthog/api/test/dashboards/test_dashboard.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/api/test/dashboards/test_dashboard.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/api/test/dashboards/test_dashboard.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/api/test/dashboards/test_dashboard.py:0: error: Value of type variable "_S" of "assertAlmostEqual" of "TestCase" cannot be "datetime | None" [type-var]
|
|
posthog/api/test/test_capture.py:0: error: Incompatible return value type (got "_MonkeyPatchedWSGIResponse", expected "HttpResponse") [return-value]
|
|
posthog/api/test/test_capture.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/api/test/test_capture.py:0: error: Unpacked dict entry 0 has incompatible type "Collection[str]"; expected "SupportsKeysAndGetItem[str, dict[Never, Never]]" [dict-item]
|
|
posthog/api/test/test_capture.py:0: error: Unpacked dict entry 0 has incompatible type "Collection[str]"; expected "SupportsKeysAndGetItem[str, dict[Never, Never]]" [dict-item]
|
|
posthog/api/test/test_capture.py:0: error: Unpacked dict entry 0 has incompatible type "Collection[str]"; expected "SupportsKeysAndGetItem[str, dict[Never, Never]]" [dict-item]
|
|
posthog/api/test/test_insight.py:0: error: Argument "data" to "get" of "APIClient" has incompatible type "dict[str, object]"; expected "Mapping[str, str | bytes | int | Iterable[str | bytes | int]] | Iterable[tuple[str, str | bytes | int | Iterable[str | bytes | int]]] | None" [arg-type]
|
|
posthog/api/test/test_insight.py:0: error: Argument "data" to "get" of "APIClient" has incompatible type "dict[str, object]"; expected "Mapping[str, str | bytes | int | Iterable[str | bytes | int]] | Iterable[tuple[str, str | bytes | int | Iterable[str | bytes | int]]] | None" [arg-type]
|
|
posthog/api/test/test_insight.py:0: error: Argument "data" to "get" of "APIClient" has incompatible type "dict[str, object]"; expected "Mapping[str, str | bytes | int | Iterable[str | bytes | int]] | Iterable[tuple[str, str | bytes | int | Iterable[str | bytes | int]]] | None" [arg-type]
|
|
posthog/api/test/test_organization_domain.py:0: error: Item "None" of "datetime | None" has no attribute "strftime" [union-attr]
|
|
posthog/api/test/test_personal_api_keys.py:0: error: Item "None" of "str | None" has no attribute "startswith" [union-attr]
|
|
posthog/api/test/test_personal_api_keys.py:0: error: Item "None" of "str | None" has no attribute "startswith" [union-attr]
|
|
posthog/api/test/test_survey.py:0: error: Item "None" of "FeatureFlag | None" has no attribute "active" [union-attr]
|
|
posthog/api/test/test_team.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/api/test/test_team.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/api/test/test_utils.py:0: error: Incompatible types in assignment (expression has type "dict[str, str]", variable has type "QueryDict") [assignment]
|
|
posthog/api/uploaded_media.py:0: error: Argument 1 to "read_bytes" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/api/uploaded_media.py:0: error: Argument 1 to "read_bytes" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/api/user.py:0: error: "User" has no attribute "social_auth" [attr-defined]
|
|
posthog/api/utils.py:0: error: Argument 1 to "UUID" has incompatible type "int | str"; expected "str | None" [arg-type]
|
|
posthog/async_migrations/test/test_runner.py:0: error: Item "None" of "datetime | None" has no attribute "day" [union-attr]
|
|
posthog/caching/insight_caching_state.py:0: error: Argument "params" to "execute" of "CursorWrapper" has incompatible type "list[object]"; expected "Sequence[bool | int | float | Decimal | str | <6 more items> | None] | Mapping[str, bool | int | float | Decimal | str | <6 more items> | None] | None" [arg-type]
|
|
posthog/caching/insights_api.py:0: error: Unsupported operand types for >= ("datetime" and "None") [operator]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/heatmaps/test/test_heatmaps_api.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/helpers/dashboard_templates.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str | Combinable") [assignment]
|
|
posthog/helpers/full_text_search.py:0: error: Argument 1 to "reduce" has incompatible type "Callable[[SearchVector, SearchVector], CombinedExpression]"; expected "Callable[[SearchVector, SearchVector], SearchVector]" [arg-type]
|
|
posthog/helpers/full_text_search.py:0: error: Incompatible return value type (got "CombinedExpression", expected "SearchVector") [return-value]
|
|
posthog/helpers/full_text_search.py:0: error: Incompatible return value type (got "SearchVector", expected "CombinedExpression") [return-value]
|
|
posthog/hogql/database/database.py:0: error: Argument "week_start_day" to "Database" has incompatible type "int | None"; expected "WeekStartDay | None" [arg-type]
|
|
posthog/hogql/database/database.py:0: error: Item "None" of "Team | None" has no attribute "pk" [union-attr]
|
|
posthog/hogql/filters.py:0: error: Incompatible default for argument "team" (default has type "None", argument has type "Team") [assignment]
|
|
posthog/hogql/parser.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/printer.py:0: error: "FieldOrTable" has no attribute "name" [attr-defined]
|
|
posthog/hogql/printer.py:0: error: "FieldOrTable" has no attribute "name" [attr-defined]
|
|
posthog/hogql/printer.py:0: error: Argument "stack" to "_Printer" has incompatible type "list[SelectQuery]"; expected "list[AST] | None" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Argument 1 to "_print_identifier" of "_Printer" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Argument 1 to "escape_hogql_string" has incompatible type "float | int | str | list[Any] | tuple[Any, ...] | datetime | date | UUID | UUIDT | None"; expected "float | int | str | list[Any] | tuple[Any, ...] | date | datetime | UUID | UUIDT" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Argument 1 to "join" of "str" has incompatible type "list[str | int]"; expected "Iterable[str]" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Argument 1 to "len" has incompatible type "list[Expr] | None"; expected "Sized" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Argument 1 to "lookup_field_by_name" has incompatible type "SelectQueryType | None"; expected "SelectQueryType | SelectSetQueryType" [arg-type]
|
|
posthog/hogql/printer.py:0: error: Incompatible types in assignment (expression has type "TableType | LazyTableType", variable has type "TableAliasType | TableType") [assignment]
|
|
posthog/hogql/printer.py:0: error: Item "None" of "list[Expr] | None" has no attribute "__iter__" (not iterable) [union-attr]
|
|
posthog/hogql/printer.py:0: error: Item "TableType" of "TableType | TableAliasType" has no attribute "alias" [union-attr]
|
|
posthog/hogql/printer.py:0: error: List comprehension has incompatible type List[SelectQueryType | None]; expected List[SelectQueryType] [misc]
|
|
posthog/hogql/printer.py:0: error: Name "args" already defined on line 0 [no-redef]
|
|
posthog/hogql/printer.py:0: error: Need type annotation for "found_aliases" (hint: "found_aliases: dict[<type>, <type>] = ...") [var-annotated]
|
|
posthog/hogql/printer.py:0: error: Right operand of "and" is never evaluated [unreachable]
|
|
posthog/hogql/printer.py:0: error: Subclass of "TableType" and "LazyTableType" cannot exist: would have incompatible method signatures [unreachable]
|
|
posthog/hogql/property.py:0: error: Incompatible type for lookup 'id': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/hogql/property.py:0: error: Incompatible type for lookup 'pk': (got "str | float", expected "str | int") [misc]
|
|
posthog/hogql/query.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "SelectQuery | SelectSetQuery") [assignment]
|
|
posthog/hogql/query.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "str | SelectQuery | SelectSetQuery") [assignment]
|
|
posthog/hogql/query.py:0: error: Subclass of "SelectQuery" and "SelectSetQuery" cannot exist: would have incompatible method signatures [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Argument "select_query_type" to "SelectQueryAliasType" has incompatible type "Type | Any | None"; expected "SelectQueryType | SelectSetQueryType" [arg-type]
|
|
posthog/hogql/resolver.py:0: error: Argument "select_query_type" to "SelectViewType" has incompatible type "SelectQueryType | None"; expected "SelectQueryType | SelectSetQueryType" [arg-type]
|
|
posthog/hogql/resolver.py:0: error: Argument 1 to "append" of "list" has incompatible type "BaseTableType | SelectSetQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType | None"; expected "SelectQueryType | SelectSetQueryType" [arg-type]
|
|
posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "SelectQuery | SelectSetQuery | Placeholder | HogQLXTag | Field | None") [assignment]
|
|
posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "LazyTableType", variable has type "TableAliasType") [assignment]
|
|
posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "TableType", variable has type "LazyTableType") [assignment]
|
|
posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Type | Any | None", variable has type "BaseTableType | SelectSetQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType | None") [assignment]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "Database | None" has no attribute "get_table_by_chain" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "SelectQuery | SelectSetQuery | Placeholder | HogQLXTag | Field | None" has no attribute "type" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "SelectQuery | SelectSetQuery | Placeholder | HogQLXTag | Field | None" has no attribute "type" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "Type | None" has no attribute "resolve_constant_type" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "Type | None" has no attribute "resolve_constant_type" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Item "None" of "Type | None" has no attribute "resolve_constant_type" [union-attr]
|
|
posthog/hogql/resolver.py:0: error: Need type annotation for "columns_with_visible_alias" (hint: "columns_with_visible_alias: dict[<type>, <type>] = ...") [var-annotated]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/hogql/resolver.py:0: error: Value of type variable "T_AST" of "clone_expr" cannot be "SelectQuery | SelectSetQuery | Placeholder | HogQLXTag | Field | None" [type-var]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Argument "table" to "JoinExpr" has incompatible type "Expr"; expected "SelectQuery | SelectSetQuery | Placeholder | HogQLXTag | Field | None" [arg-type]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Argument 2 to "resolve_types" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Argument 2 to "resolve_types" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Argument 2 to "resolve_types" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Argument 2 to "resolve_types" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "Expr" of "Expr | Any" has no attribute "left" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "Expr" of "Expr | Any" has no attribute "right" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "HogQLContext | None" has no attribute "add_notice" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "HogQLContext | None" has no attribute "add_notice" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "HogQLContext | None" has no attribute "project_id" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "HogQLContext | None" has no attribute "project_id" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "JoinConstraint | None" has no attribute "expr" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: Item "None" of "JoinConstraint | None" has no attribute "expr" [union-attr]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: List item 0 has incompatible type "SelectQueryType | None"; expected "SelectQueryType" [list-item]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: List item 0 has incompatible type "SelectQueryType | None"; expected "SelectQueryType" [list-item]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: List item 0 has incompatible type "SelectQueryType | None"; expected "SelectQueryType" [list-item]
|
|
posthog/hogql/transforms/in_cohort.py:0: error: List item 0 has incompatible type "SelectQueryType | None"; expected "SelectQueryType" [list-item]
|
|
posthog/hogql/transforms/lazy_tables.py:0: error: Incompatible types in assignment (expression has type "BaseTableType | SelectSetQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType", variable has type "SelectQueryAliasType | None") [assignment]
|
|
posthog/hogql/transforms/lazy_tables.py:0: error: Incompatible types in assignment (expression has type "dict[Never, Never]", variable has type "list[ConstraintOverride]") [assignment]
|
|
posthog/hogql/transforms/lazy_tables.py:0: error: Name "chain" already defined on line 0 [no-redef]
|
|
posthog/hogql_queries/insights/funnels/base.py:0: error: Incompatible type for lookup 'pk': (got "str | int | None", expected "str | int") [misc]
|
|
posthog/hogql_queries/insights/test/test_paginators.py:0: error: Value of type "object" is not indexable [index]
|
|
posthog/hogql_queries/insights/test/test_paginators.py:0: error: Value of type "object" is not indexable [index]
|
|
posthog/hogql_queries/insights/test/test_paginators.py:0: error: Value of type "object" is not indexable [index]
|
|
posthog/hogql_queries/legacy_compatibility/filter_to_query.py:0: error: Dict entry 0 has incompatible type "str": "FunnelsFilter"; expected "str": "TrendsFilter" [dict-item]
|
|
posthog/hogql_queries/legacy_compatibility/filter_to_query.py:0: error: Dict entry 0 has incompatible type "str": "LifecycleFilter"; expected "str": "TrendsFilter" [dict-item]
|
|
posthog/hogql_queries/legacy_compatibility/filter_to_query.py:0: error: Dict entry 0 has incompatible type "str": "PathsFilter"; expected "str": "TrendsFilter" [dict-item]
|
|
posthog/hogql_queries/legacy_compatibility/filter_to_query.py:0: error: Dict entry 0 has incompatible type "str": "StickinessFilter"; expected "str": "TrendsFilter" [dict-item]
|
|
posthog/hogql_queries/legacy_compatibility/test/test_filter_to_query.py:0: error: Name "filter" already defined on line 0 [no-redef]
|
|
posthog/hogql_queries/test/test_query_runner.py:0: error: Invalid base class "TestQueryRunner" [misc]
|
|
posthog/hogql_queries/test/test_query_runner.py:0: error: Variable "TestQueryRunner" is not valid as a type [valid-type]
|
|
posthog/hogql_queries/utils/query_date_range.py:0: error: Incompatible default for argument "source" (default has type "None", argument has type "Expr") [assignment]
|
|
posthog/hogql_queries/utils/query_date_range.py:0: error: Item "None" of "IntervalType | None" has no attribute "name" [union-attr]
|
|
posthog/management/commands/fix_future_person_created_at.py:0: error: Argument "version" to "create_person" has incompatible type "int | None"; expected "int" [arg-type]
|
|
posthog/management/commands/sync_persons_to_clickhouse.py:0: error: Argument "group_type_index" to "raw_create_group_ch" has incompatible type "int"; expected "Literal[0, 1, 2, 3, 4]" [arg-type]
|
|
posthog/management/commands/warehouse_last_incremental_value_sync.py:0: error: Argument 3 to "get_value" of "ConfigProvider" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/migrations/0228_fix_tile_layouts.py:0: error: Argument 2 to "RunPython" has incompatible type "Callable[[Migration, Any], None]"; expected "_CodeCallable | None" [arg-type]
|
|
posthog/migrations/0237_remove_timezone_from_teams.py:0: error: Argument 2 to "RunPython" has incompatible type "Callable[[Migration, Any], None]"; expected "_CodeCallable | None" [arg-type]
|
|
posthog/models/action/action.py:0: error: Argument 1 to "len" has incompatible type "str | None"; expected "Sized" [arg-type]
|
|
posthog/models/action/action.py:0: error: Need type annotation for "events" [var-annotated]
|
|
posthog/models/cohort/cohort.py:0: error: Need type annotation for "people" [var-annotated]
|
|
posthog/models/dashboard.py:0: error: Need type annotation for "insights" [var-annotated]
|
|
posthog/models/event/util.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "datetime") [assignment]
|
|
posthog/models/exported_asset.py:0: error: Value of type variable "_StrOrPromiseT" of "slugify" cannot be "str | None" [type-var]
|
|
posthog/models/filters/mixins/simplify.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/models/organization.py:0: error: Couldn't resolve related manager 'oauth_applications' for relation 'posthog.models.oauth.OAuthApplication.organization'. [django-manager-missing]
|
|
posthog/models/organization_invite.py:0: error: Argument "level" to "join" of "User" has incompatible type "int"; expected "Level" [arg-type]
|
|
posthog/models/person/person.py:0: error: "_T" has no attribute "_add_distinct_ids" [attr-defined]
|
|
posthog/models/person/person.py:0: error: Argument "version" to "create_person" has incompatible type "int | None"; expected "int" [arg-type]
|
|
posthog/models/person/person.py:0: error: Incompatible types in assignment (expression has type "list[Never]", variable has type "QuerySet[PersonDistinctId, str]") [assignment]
|
|
posthog/models/plugin.py:0: error: Argument 1 to "extract_plugin_code" has incompatible type "bytes | memoryview | None"; expected "bytes" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | int"; expected "str" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | int"; expected "str" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 1 to "append" of "list" has incompatible type "str | int"; expected "str" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 2 to "get_materialized_column_for_property" has incompatible type "str"; expected "Literal['properties', 'group_properties', 'person_properties']" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 3 to "format_cohort_subquery" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/models/property/util.py:0: error: Argument 3 to "format_filter_query" has incompatible type "HogQLContext | None"; expected "HogQLContext" [arg-type]
|
|
posthog/models/property/util.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/models/subscription.py:0: error: Argument 2 to "SubscriptionResourceInfo" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/models/team/team.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/models/team/team.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/models/test/test_organization_model.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/models/user.py:0: error: "User" has no attribute "social_auth" [attr-defined]
|
|
posthog/models/user.py:0: error: "User" has no attribute "social_auth" [attr-defined]
|
|
posthog/models/user.py:0: error: Cannot override class variable (previously declared on base class "AbstractBaseUser") with instance variable [misc]
|
|
posthog/models/user.py:0: error: Cannot override class variable (previously declared on base class "AbstractUser") with instance variable [misc]
|
|
posthog/models/user.py:0: error: Cannot override writeable attribute with read-only property [override]
|
|
posthog/models/user.py:0: error: Couldn't resolve related manager 'oauth_access_tokens' for relation 'posthog.models.oauth.OAuthAccessToken.user'. [django-manager-missing]
|
|
posthog/models/user.py:0: error: Couldn't resolve related manager 'oauth_grants' for relation 'posthog.models.oauth.OAuthGrant.user'. [django-manager-missing]
|
|
posthog/models/user.py:0: error: Couldn't resolve related manager 'oauth_id_tokens' for relation 'posthog.models.oauth.OAuthIDToken.user'. [django-manager-missing]
|
|
posthog/models/user.py:0: error: Couldn't resolve related manager 'oauth_refresh_tokens' for relation 'posthog.models.oauth.OAuthRefreshToken.user'. [django-manager-missing]
|
|
posthog/models/user.py:0: error: Couldn't resolve related manager 'oauthapplication_set' for relation 'posthog.models.oauth.OAuthApplication.user'. [django-manager-missing]
|
|
posthog/models/user.py:0: error: Incompatible types in assignment (expression has type "None", base class "AbstractUser" defined the type as "CharField[str | int | Combinable, str]") [assignment]
|
|
posthog/models/user.py:0: error: Incompatible types in assignment (expression has type "posthog.models.user.UserManager[Any]", base class "AbstractUser" defined the type as "django.contrib.auth.models.UserManager[User]") [assignment]
|
|
posthog/models/user.py:0: error: Incompatible types in assignment (expression has type "type[User]", base class "BaseManager" defined the type as "type[_T]") [assignment]
|
|
posthog/models/user.py:0: error: Signature of "is_superuser" incompatible with supertype "PermissionsMixin" [override]
|
|
posthog/permissions.py:0: error: Argument 2 to "feature_enabled" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/plugins/utils.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/plugins/utils.py:0: error: Subclass of "str" and "bytes" cannot exist: would have incompatible method signatures [unreachable]
|
|
posthog/queries/actor_base_query.py:0: error: Incompatible types (expression has type "datetime", TypedDict item "created_at" has type "str | None") [typeddict-item]
|
|
posthog/queries/actor_base_query.py:0: error: Incompatible types (expression has type "datetime", TypedDict item "created_at" has type "str | None") [typeddict-item]
|
|
posthog/queries/app_metrics/historical_exports.py:0: error: Argument 1 to "loads" has incompatible type "str | None"; expected "str | bytes | bytearray" [arg-type]
|
|
posthog/queries/app_metrics/test/test_app_metrics.py:0: error: Argument 3 to "AppMetricsErrorDetailsQuery" has incompatible type "AppMetricsRequestSerializer"; expected "AppMetricsErrorsRequestSerializer" [arg-type]
|
|
posthog/queries/app_metrics/test/test_app_metrics.py:0: error: Argument 3 to "AppMetricsErrorDetailsQuery" has incompatible type "AppMetricsRequestSerializer"; expected "AppMetricsErrorsRequestSerializer" [arg-type]
|
|
posthog/queries/app_metrics/test/test_app_metrics.py:0: error: Argument 3 to "AppMetricsErrorDetailsQuery" has incompatible type "AppMetricsRequestSerializer"; expected "AppMetricsErrorsRequestSerializer" [arg-type]
|
|
posthog/queries/breakdown_props.py:0: error: Argument 1 to "translate_hogql" has incompatible type "str | int"; expected "str" [arg-type]
|
|
posthog/queries/breakdown_props.py:0: error: Incompatible return value type (got "str | None", expected "str") [return-value]
|
|
posthog/queries/breakdown_props.py:0: error: Incompatible type for lookup 'pk': (got "str | None", expected "str | int") [misc]
|
|
posthog/queries/column_optimizer/foss_column_optimizer.py:0: error: Argument 2 to "get_materialized_column_for_property" has incompatible type "str"; expected "Literal['properties', 'group_properties', 'person_properties']" [arg-type]
|
|
posthog/queries/event_query/event_query.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/queries/foss_cohort_query.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/queries/funnels/base.py:0: error: "object" has no attribute "append" [attr-defined]
|
|
posthog/queries/funnels/base.py:0: error: "object" has no attribute "append" [attr-defined]
|
|
posthog/queries/funnels/base.py:0: error: Argument 1 to "translate_hogql" has incompatible type "str | int"; expected "str" [arg-type]
|
|
posthog/queries/funnels/base.py:0: error: Incompatible types in assignment (expression has type "int | str | None", variable has type "str | None") [assignment]
|
|
posthog/queries/funnels/base.py:0: error: Unsupported right operand type for in ("object") [operator]
|
|
posthog/queries/funnels/base.py:0: error: Unsupported right operand type for in ("object") [operator]
|
|
posthog/queries/person_query.py:0: error: Incompatible type for lookup 'pk': (got "str | int | list[str]", expected "str | int") [misc]
|
|
posthog/queries/trends/trends_actors.py:0: error: Incompatible type for lookup 'pk': (got "str | None", expected "str | int") [misc]
|
|
posthog/queries/trends/util.py:0: error: Argument 1 to "translate_hogql" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/settings/data_stores.py:0: error: Name "DATABASE_URL" already defined on line 0 [no-redef]
|
|
posthog/tasks/email.py:0: error: Argument "email" to "add_recipient" of "EmailMessage" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/email.py:0: error: Argument 1 to "capture" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/email.py:0: error: Incompatible types in assignment (expression has type "Team | None", variable has type "Team") [assignment]
|
|
posthog/tasks/email.py:0: error: Item "None" of "User | None" has no attribute "first_name" [union-attr]
|
|
posthog/tasks/email.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "BytesIO" has incompatible type "bytes | memoryview | None"; expected "Buffer" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "read" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "read" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "read" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "read" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Argument 1 to "read" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a return type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter_renders.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter_renders.py:0: error: Item "None" of "bytes | memoryview | None" has no attribute "decode" [union-attr]
|
|
posthog/tasks/exports/test/test_csv_exporter_renders.py:0: error: Item "None" of "bytes | memoryview | None" has no attribute "decode" [union-attr]
|
|
posthog/tasks/exports/test/test_csv_exporter_renders.py:0: error: Item "memoryview" of "bytes | memoryview | None" has no attribute "decode" [union-attr]
|
|
posthog/tasks/exports/test/test_csv_exporter_renders.py:0: error: Item "memoryview" of "bytes | memoryview | None" has no attribute "decode" [union-attr]
|
|
posthog/tasks/exports/test/test_csv_exporter_url_sanitising.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_csv_exporter_url_sanitising.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_export_utils.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_export_utils.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_export_utils.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_image_exporter.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_image_exporter.py:0: error: Function is missing a type annotation [no-untyped-def]
|
|
posthog/tasks/exports/test/test_image_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_image_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/exports/test/test_image_exporter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
|
|
posthog/tasks/tasks.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/tasks/test/test_stop_surveys_reached_target.py:0: error: No overload variant of "__sub__" of "datetime" matches argument type "None" [operator]
|
|
posthog/tasks/test/test_stop_surveys_reached_target.py:0: error: No overload variant of "__sub__" of "datetime" matches argument type "None" [operator]
|
|
posthog/tasks/test/test_update_survey_iteration.py:0: error: Item "None" of "FeatureFlag | None" has no attribute "filters" [union-attr]
|
|
posthog/tasks/update_survey_iteration.py:0: error: Incompatible types in assignment (expression has type "ForeignKey[Any, _ST] | Any", variable has type "FeatureFlag | Combinable | None") [assignment]
|
|
posthog/tasks/update_survey_iteration.py:0: error: Item "None" of "FeatureFlag | None" has no attribute "filters" [union-attr]
|
|
posthog/tasks/update_survey_iteration.py:0: error: Item "None" of "FeatureFlag | None" has no attribute "filters" [union-attr]
|
|
posthog/tasks/update_survey_iteration.py:0: error: Item "None" of "FeatureFlag | None" has no attribute "save" [union-attr]
|
|
posthog/temporal/data_imports/external_data_job.py:0: error: Argument "status" to "update_external_job_status" has incompatible type "str"; expected "Status" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/pipeline/hogql_schema.py:0: error: "Array[Any]" has no attribute "as_py" [attr-defined]
|
|
posthog/temporal/data_imports/pipelines/pipeline/test/test_pipeline_utils.py:0: error: Argument 1 to "schema" has incompatible type "list[object]"; expected "Iterable[Field[Any]] | Iterable[tuple[str, DataType]] | Mapping[str, DataType]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: "Array[Any]" has no attribute "as_py" [attr-defined]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: "Array[Any]" has no attribute "as_py" [attr-defined]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: Argument 3 to "set_column" of "Table" has incompatible type "ChunkedArray[Scalar[Any | Decimal128Type[Any, Any] | Decimal256Type[Any, Any]]]"; expected "Array[Any] | list[Any]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: Argument 3 to "set_column" of "Table" has incompatible type "ChunkedArray[Scalar[TimestampType[Literal['us'], None]]]"; expected "Array[Any] | list[Any]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: List comprehension has incompatible type List[str | None]; expected List[bool | None] [misc]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: No overload variant of "array" matches argument types "list[None]", "object" [call-overload]
|
|
posthog/temporal/data_imports/pipelines/pipeline/utils.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/temporal/data_imports/pipelines/pipeline_sync.py:0: error: Incompatible types in assignment (expression has type "dict[str, dict[str, str | bool]] | dict[str, str]", variable has type "dict[str, dict[str, str]]") [assignment]
|
|
posthog/temporal/data_imports/pipelines/pipeline_sync.py:0: error: Incompatible types in assignment (expression has type "object", variable has type "DataWarehouseCredential | Combinable | None") [assignment]
|
|
posthog/temporal/data_imports/pipelines/pipeline_sync.py:0: error: Incompatible types in assignment (expression has type "object", variable has type "str | int | Combinable") [assignment]
|
|
posthog/temporal/data_imports/pipelines/pipeline_sync.py:0: error: Item "None" of "dict[str, str] | None" has no attribute "get" [union-attr]
|
|
posthog/temporal/data_imports/pipelines/postgres/postgres.py:0: error: No overload variant of "zip" matches argument types "list[str]", "Row" [call-overload]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument "base_url" to "RESTClient" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 1 to "build_resource_dependency_graph" has incompatible type "EndpointResourceBase | None"; expected "EndpointResourceBase" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 1 to "exclude_keys" has incompatible type "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None"; expected "Mapping[str, Any]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 1 to "setup_incremental_object" has incompatible type "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None"; expected "dict[str, Any]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 2 to "convert_types" has incompatible type "dict[str, TColumnSchema] | Sequence[TColumnSchema] | BaseModel | type[BaseModel] | Callable[[Any], dict[str, TColumnSchema] | Sequence[TColumnSchema] | BaseModel | type[BaseModel]] | None"; expected "dict[str, dict[str, Any]] | None" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 2 to "convert_types" has incompatible type "dict[str, TColumnSchema] | Sequence[TColumnSchema] | BaseModel | type[BaseModel] | Callable[[Any], dict[str, TColumnSchema] | Sequence[TColumnSchema] | BaseModel | type[BaseModel]] | None"; expected "dict[str, dict[str, Any]] | None" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 2 to "source" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 3 to "source" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 4 to "source" has incompatible type "int | None"; expected "int" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 6 to "source" has incompatible type "Schema | None"; expected "Schema" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 7 to "source" has incompatible type "Literal['evolve', 'discard_value', 'freeze', 'discard_row'] | TSchemaContractDict | None"; expected "Literal['evolve', 'discard_value', 'freeze', 'discard_row'] | TSchemaContractDict" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Argument 8 to "source" has incompatible type "type[BaseConfiguration] | None"; expected "type[BaseConfiguration]" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Incompatible default for argument "resolved_param" (default has type "ResolvedParam | None", argument has type "ResolvedParam") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Incompatible types in assignment (expression has type "list[str] | None", variable has type "list[str]") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/__init__.py:0: error: Not all union combinations were tried because there are too many unions [misc]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Argument 1 to "get_auth_class" has incompatible type "Literal['bearer', 'api_key', 'http_basic'] | None"; expected "Literal['bearer', 'api_key', 'http_basic']" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Argument 1 to "single_entity_path" has incompatible type "str | None"; expected "str" [arg-type]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Dict entry 2 has incompatible type "Literal['auto']": "None"; expected "Literal['json_response', 'header_link', 'auto', 'single_page', 'cursor', 'offset', 'page_number']": "type[BasePaginator]" [dict-item]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Incompatible return value type (got "tuple[TopologicalSorter[Any], dict[str, EndpointResource], dict[str, ResolvedParam]]", expected "tuple[Any, dict[str, EndpointResource], dict[str, ResolvedParam | None]]") [return-value]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Incompatible types in assignment (expression has type "None", target has type "ResolvedParam") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "AuthConfigBase") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Item "None" of "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None" has no attribute "items" [union-attr]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Item "None" of "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None" has no attribute "pop" [union-attr]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Item "None" of "str | None" has no attribute "format" [union-attr]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Need type annotation for "dependency_graph" [var-annotated]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Statement is unreachable [unreachable]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unpacked dict entry 0 has incompatible type "dict[str, Any] | None"; expected "SupportsKeysAndGetItem[str, Any]" [dict-item]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unpacked dict entry 0 has incompatible type "dict[str, Any] | None"; expected "SupportsKeysAndGetItem[str, ResolveParamConfig | IncrementalParamConfig | Any]" [dict-item]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unpacked dict entry 1 has incompatible type "dict[str, Any] | None"; expected "SupportsKeysAndGetItem[str, Any]" [dict-item]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unpacked dict entry 1 has incompatible type "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None"; expected "SupportsKeysAndGetItem[str, ResolveParamConfig | IncrementalParamConfig | Any]" [dict-item]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unsupported right operand type for in ("dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None") [operator]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unsupported right operand type for in ("dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None") [operator]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Unsupported right operand type for in ("str | Endpoint | None") [operator]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Value of type "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None" is not indexable [index]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Value of type "dict[str, ResolveParamConfig | IncrementalParamConfig | Any] | None" is not indexable [index]
|
|
posthog/temporal/data_imports/pipelines/rest_source/config_setup.py:0: error: Value of type variable "StrOrLiteralStr" of "parse" of "Formatter" cannot be "str | None" [type-var]
|
|
posthog/temporal/data_imports/workflow_activities/sync_new_schemas.py:0: error: Argument "source_id" to "sync_old_schemas_with_new_schemas" has incompatible type "str"; expected "UUID" [arg-type]
|
|
posthog/temporal/data_imports/workflow_activities/sync_new_schemas.py:0: error: No overload variant of "get" of "dict" matches argument types "str", "tuple[()]" [call-overload]
|
|
posthog/temporal/tests/common/test_error_tracking.py:0: error: Incompatible types in assignment (expression has type "OptionallyFailingInputs", variable has type "OptionallyFailingInputsWithPropertiesToLog") [assignment]
|
|
posthog/temporal/tests/data_imports/test_compaction_job.py:0: error: Dict entry 0 has incompatible type "str": "str | None"; expected "str": "str" [dict-item]
|
|
posthog/temporal/tests/data_imports/test_compaction_job.py:0: error: Dict entry 1 has incompatible type "str": "str | None"; expected "str": "str" [dict-item]
|
|
posthog/temporal/tests/data_imports/test_compaction_job.py:0: error: Dict entry 2 has incompatible type "str": "str | None"; expected "str": "str" [dict-item]
|
|
posthog/temporal/tests/data_imports/test_compaction_job.py:0: error: Dict entry 3 has incompatible type "str": "str | None"; expected "str": "str" [dict-item]
|
|
posthog/temporal/tests/external_data/test_external_data_job.py:0: error: Invalid index type "str" for "dict[Type, Sequence[str]]"; expected type "Type" [index]
|
|
posthog/temporal/tests/external_data/test_external_data_job.py:0: error: Invalid index type "str" for "dict[Type, Sequence[str]]"; expected type "Type" [index]
|
|
posthog/temporal/tests/external_data/test_external_data_job.py:0: error: Invalid index type "str" for "dict[Type, Sequence[str]]"; expected type "Type" [index]
|
|
posthog/temporal/tests/external_data/test_external_data_job.py:0: error: Invalid index type "str" for "dict[Type, Sequence[str]]"; expected type "Type" [index]
|
|
posthog/test/base.py:0: error: "MemoryLeakTestMixin" has no attribute "assertLessEqual" [attr-defined]
|
|
posthog/test/base.py:0: error: "MemoryLeakTestMixin" has no attribute "assertLessEqual" [attr-defined]
|
|
posthog/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "Organization") [assignment]
|
|
posthog/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "OrganizationMembership") [assignment]
|
|
posthog/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "Project") [assignment]
|
|
posthog/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "Team") [assignment]
|
|
posthog/test/base.py:0: error: Incompatible types in assignment (expression has type "None", variable has type "User") [assignment]
|
|
posthog/test/base.py:0: error: Item "None" of "AppConfig | None" has no attribute "name" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | Any | None" has no attribute "f_locals" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | Any | None" has no attribute "f_locals" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | Any | None" has no attribute "f_locals" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | None" has no attribute "f_back" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | None" has no attribute "f_back" [union-attr]
|
|
posthog/test/base.py:0: error: Item "None" of "FrameType | None" has no attribute "f_back" [union-attr]
|
|
posthog/test/base.py:0: error: Module has no attribute "configure" [attr-defined]
|
|
posthog/test/test_health.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/test/test_health.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/test/test_health.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/test/test_health.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/test/test_health.py:0: error: "HttpResponse" has no attribute "json" [attr-defined]
|
|
posthog/test/test_health.py:0: error: Incompatible return value type (got "_MonkeyPatchedWSGIResponse", expected "HttpResponse") [return-value]
|
|
posthog/test/test_health.py:0: error: Incompatible return value type (got "_MonkeyPatchedWSGIResponse", expected "HttpResponse") [return-value]
|
|
posthog/test/test_middleware.py:0: error: Incompatible types in assignment (expression has type "_MonkeyPatchedWSGIResponse", variable has type "_MonkeyPatchedResponse") [assignment]
|
|
posthog/test/test_plugin_log_entry.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "datetime" [attr-defined]
|
|
posthog/test/test_plugin_log_entry.py:0: error: Module "django.utils.timezone" does not explicitly export attribute "timedelta" [attr-defined]
|
|
posthog/test/test_utils.py:0: error: Argument 5 to "post" of "_RequestFactory" has incompatible type "**dict[str, str]"; expected "Mapping[str, Any] | None" [arg-type]
|
|
posthog/user_permissions.py:0: error: Incompatible return value type (got "int", expected "Level | None") [return-value]
|
|
posthog/user_permissions.py:0: error: Incompatible return value type (got "int", expected "Level | None") [return-value]
|
|
posthog/user_permissions.py:0: error: Incompatible return value type (got "int", expected "RestrictionLevel") [return-value]
|
|
posthog/utils.py:0: error: No overload variant of "asdict" matches argument type "type[DataclassInstance]" [call-overload]
|
|
posthog/warehouse/api/external_data_schema.py:0: error: Incompatible return value type (got "str | None", expected "SyncType | None") [return-value]
|
|
posthog/warehouse/api/external_data_schema.py:0: error: No overload variant of "get" of "dict" matches argument type "str" [call-overload]
|
|
posthog/warehouse/api/test/test_table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/api/test/test_table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/api/test/test_table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/api/test/test_table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/data_load/service.py:0: error: Incompatible return value type (got "tuple[timedelta | None, timedelta]", expected "tuple[timedelta, timedelta]") [return-value]
|
|
posthog/warehouse/data_load/service.py:0: error: Incompatible return value type (got "tuple[timedelta | None, timedelta]", expected "tuple[timedelta, timedelta]") [return-value]
|
|
posthog/warehouse/data_load/service.py:0: error: Incompatible return value type (got "tuple[timedelta | None, timedelta]", expected "tuple[timedelta, timedelta]") [return-value]
|
|
posthog/warehouse/data_load/service.py:0: error: Unsupported operand types for >= ("timedelta" and "None") [operator]
|
|
posthog/warehouse/data_load/service.py:0: error: Unsupported operand types for >= ("timedelta" and "None") [operator]
|
|
posthog/warehouse/data_load/source_templates.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "Type") [assignment]
|
|
posthog/warehouse/data_load/validate_schema.py:0: error: Incompatible types in assignment (expression has type "dict[str, dict[str, str | bool]] | dict[str, str]", variable has type "dict[str, dict[str, str]]") [assignment]
|
|
posthog/warehouse/data_load/validate_schema.py:0: error: Incompatible types in assignment (expression has type "object", variable has type "DataWarehouseCredential | Combinable | None") [assignment]
|
|
posthog/warehouse/data_load/validate_schema.py:0: error: Incompatible types in assignment (expression has type "object", variable has type "str | int | Combinable") [assignment]
|
|
posthog/warehouse/external_data_source/jobs.py:0: error: Incompatible type for lookup 'id': (got "UUID | None", expected "UUID | str") [misc]
|
|
posthog/warehouse/external_data_source/source.py:0: error: Argument 1 to "_create_source" has incompatible type "StripeSourcePayload"; expected "dict[Any, Any]" [arg-type]
|
|
posthog/warehouse/external_data_source/source.py:0: error: Incompatible types in assignment (expression has type "dict[str, Collection[str]]", variable has type "StripeSourcePayload") [assignment]
|
|
posthog/warehouse/external_data_source/source.py:0: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment]
|
|
posthog/warehouse/external_data_source/source.py:0: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment]
|
|
posthog/warehouse/models/ssh_tunnel.py:0: error: Incompatible types in assignment (expression has type "NoEncryption", variable has type "BestAvailableEncryption") [assignment]
|
|
posthog/warehouse/models/table.py:0: error: Incompatible return value type (got "dict[str, dict[str, object]]", expected "dict[str, dict[str, str | bool]] | dict[str, str]") [return-value]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_key" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Item "None" of "DataWarehouseCredential | None" has no attribute "access_secret" [union-attr]
|
|
posthog/warehouse/models/table.py:0: error: Subclass of "list[tuple[str, ...]]" and "int" cannot exist: would have incompatible method signatures [unreachable]
|
|
products/data_warehouse/backend/api/fix_hogql.py:0: error: Unused "type: ignore" comment [unused-ignore]
|