You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
posthog/request.py:0: error: Library stubs not installed for "dateutil.tz" [import-untyped]
8
6
posthog/request.py:0: error: Incompatible types in assignment (expression has type "bytes", variable has type "str") [assignment]
7
+
posthog/exception_integrations/django.py:0: error: Incompatible default for argument "request" (default has type "None", argument has type "WSGIRequest") [assignment]
8
+
posthog/exception_integrations/django.py:0: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
9
+
posthog/exception_integrations/django.py:0: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
9
10
posthog/consumer.py:0: error: Name "Empty" already defined (possibly by an import) [no-redef]
10
11
posthog/consumer.py:0: error: Need type annotation for "items" (hint: "items: list[<type>] = ...") [var-annotated]
11
12
posthog/consumer.py:0: error: Unsupported operand types for <= ("int" and "str") [operator]
12
13
posthog/consumer.py:0: note: Right operand is of type "int | str"
13
14
posthog/consumer.py:0: error: Unsupported operand types for < ("str" and "int") [operator]
14
15
posthog/consumer.py:0: note: Left operand is of type "int | str"
15
-
posthog/feature_flags.py:0: error: Library stubs not installed for "dateutil" [import-untyped]
16
-
posthog/feature_flags.py:0: error: Library stubs not installed for "dateutil.relativedelta" [import-untyped]
posthog/__init__.py:0: note: "identify" defined here
33
33
example.py:0: error: Statement is unreachable [unreachable]
34
34
posthog/sentry/posthog_integration.py:0: error: Statement is unreachable [unreachable]
35
+
sentry_django_example/sentry_django_example/settings.py:0: error: Need type annotation for "ALLOWED_HOSTS" (hint: "ALLOWED_HOSTS: list[<type>] = ...") [var-annotated]
36
+
sentry_django_example/sentry_django_example/settings.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment]
35
37
posthog/ai/utils.py:0: error: Need type annotation for "output" (hint: "output: list[<type>] = ...") [var-annotated]
36
38
posthog/ai/utils.py:0: error: Function "builtins.any" is not valid as a type [valid-type]
37
39
posthog/ai/utils.py:0: note: Perhaps you meant "typing.Any" instead of "any"?
38
40
posthog/ai/utils.py:0: error: Function "builtins.any" is not valid as a type [valid-type]
39
41
posthog/ai/utils.py:0: note: Perhaps you meant "typing.Any" instead of "any"?
40
-
sentry_django_example/sentry_django_example/settings.py:0: error: Need type annotation for "ALLOWED_HOSTS" (hint: "ALLOWED_HOSTS: list[<type>] = ...") [var-annotated]
41
-
sentry_django_example/sentry_django_example/settings.py:0: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment]
42
+
posthog/ai/gemini/gemini.py:0: error: Module "google" has no attribute "genai" [attr-defined]
43
+
posthog/ai/gemini/gemini.py:0: error: Argument 8 to "call_llm_and_track_usage" has incompatible type "str"; expected "URL" [arg-type]
44
+
posthog/ai/openai/openai_async.py:0: error: Incompatible types in assignment (expression has type "WrappedChat", variable has type "AsyncChat") [assignment]
45
+
posthog/ai/openai/openai_async.py:0: error: Incompatible types in assignment (expression has type "WrappedEmbeddings", variable has type "AsyncEmbeddings") [assignment]
46
+
posthog/ai/openai/openai_async.py:0: error: Incompatible types in assignment (expression has type "WrappedBeta", variable has type "AsyncBeta") [assignment]
47
+
posthog/ai/openai/openai_async.py:0: error: Incompatible types in assignment (expression has type "WrappedResponses", variable has type "AsyncResponses") [assignment]
48
+
posthog/ai/openai/openai.py:0: error: Incompatible types in assignment (expression has type "WrappedChat", variable has type "Chat") [assignment]
49
+
posthog/ai/openai/openai.py:0: error: Incompatible types in assignment (expression has type "WrappedEmbeddings", variable has type "Embeddings") [assignment]
50
+
posthog/ai/openai/openai.py:0: error: Incompatible types in assignment (expression has type "WrappedBeta", variable has type "Beta") [assignment]
51
+
posthog/ai/openai/openai.py:0: error: Incompatible types in assignment (expression has type "WrappedResponses", variable has type "Responses") [assignment]
52
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedChat", variable has type "Chat") [assignment]
53
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedChat" has incompatible type "AzureOpenAI"; expected "OpenAI" [arg-type]
54
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedEmbeddings", variable has type "Embeddings") [assignment]
55
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedEmbeddings" has incompatible type "AzureOpenAI"; expected "OpenAI" [arg-type]
56
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedBeta", variable has type "Beta") [assignment]
57
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedBeta" has incompatible type "AzureOpenAI"; expected "OpenAI" [arg-type]
58
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedResponses", variable has type "Responses") [assignment]
59
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedResponses" has incompatible type "AzureOpenAI"; expected "OpenAI" [arg-type]
60
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedChat", variable has type "AsyncChat") [assignment]
61
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedChat" has incompatible type "AsyncAzureOpenAI"; expected "AsyncOpenAI" [arg-type]
62
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedEmbeddings", variable has type "AsyncEmbeddings") [assignment]
63
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedEmbeddings" has incompatible type "AsyncAzureOpenAI"; expected "AsyncOpenAI" [arg-type]
64
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedBeta", variable has type "AsyncBeta") [assignment]
65
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedBeta" has incompatible type "AsyncAzureOpenAI"; expected "AsyncOpenAI" [arg-type]
66
+
posthog/ai/openai/openai_providers.py:0: error: Incompatible types in assignment (expression has type "WrappedResponses", variable has type "AsyncResponses") [assignment]
67
+
posthog/ai/openai/openai_providers.py:0: error: Argument 1 to "WrappedResponses" has incompatible type "AsyncAzureOpenAI"; expected "AsyncOpenAI" [arg-type]
0 commit comments