posthog 7.87.0__tar.gz → 7.87.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {posthog-7.87.0/posthog.egg-info → posthog-7.87.2}/PKG-INFO +1 -1
- {posthog-7.87.0 → posthog-7.87.2}/posthog/client.py +4 -3
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_client.py +9 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_utils.py +11 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/utils.py +2 -2
- posthog-7.87.2/posthog/version.py +1 -0
- {posthog-7.87.0 → posthog-7.87.2/posthog.egg-info}/PKG-INFO +1 -1
- {posthog-7.87.0 → posthog-7.87.2}/pyproject.toml +1 -1
- posthog-7.87.0/posthog/version.py +0 -1
- {posthog-7.87.0 → posthog-7.87.2}/LICENSE +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/MANIFEST.in +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/README.md +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_async_consumer.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_async_request.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_async_utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_disabled_lane_queue.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_logging.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/_metrics_autocapture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/_anthropic_stream.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/anthropic.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/anthropic_async.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/anthropic_converter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/anthropic/anthropic_providers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/claude_agent_sdk/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/claude_agent_sdk/client.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/claude_agent_sdk/formatting.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/claude_agent_sdk/processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_async_datasets.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_client.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_dataset_serialization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_dataset_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_datasets.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_errors.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_scorer_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_scorers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_serialization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_tags.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_transport.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/evaluations/_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gateway.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gemini/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gemini/_shared.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gemini/gemini.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gemini/gemini_async.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/gemini/gemini_converter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/langchain/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/langchain/callbacks.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/langchain/middleware.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/media.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/_embeddings.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/_streaming.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/openai.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/openai_async.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/openai_converter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/openai_providers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai/wrapper_utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai_agents/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/openai_agents/processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/_privacy.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/_request_context.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/exporter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/otel/spans.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/prompts.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/sanitization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/stream.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/ai/utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/args.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/async_client.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/bucketed_rate_limiter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/capture_compression.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/capture_mode.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/capture_v1.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/consumer.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/contexts.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/emails.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/exception_capture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/exception_utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/feature_flag_evaluations.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/feature_flags.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/flag_definition_cache.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/_tracing_headers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/asgi.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/celery.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/django.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/drf.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/flask.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/integrations/otel.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_argument_ownership.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_capture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_compatibility.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_context_parameters.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_conversation_id.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_event_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_exceptions.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_ids.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_instrument_fastmcp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_instrument_lowlevel.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_instrument_v2.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_instrumentation.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_intent.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_internal.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_lib_identity.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_model_parameters.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_output_instructions.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_posthog_events.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_sanitization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_server_build.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_sink.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_tool_input.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_transport_identity.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/_truncation.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/asgi.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/constants.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/feedback.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/logger.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/posthog_mcp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/request_headers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/session.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/session_token.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/tools.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/mcp/version.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/metrics_capture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/poller.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/py.typed +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/release_id.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/request.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/claude_agent_sdk/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/claude_agent_sdk/test_processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/claude_agent_sdk/test_processor_content.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/openai_agents/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/openai_agents/test_processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/otel/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/otel/conftest.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/otel/test_exporter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/otel/test_processor.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/otel/test_spans.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_async_cancellation.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_async_stream_wrapper.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_capture_contract.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_capture_pipeline.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_evaluations.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_evaluations_datasets.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_evaluations_scorers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_evaluations_transport.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_gateway.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_http_status.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_media.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_privacy_mode.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_prompts.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_sanitization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_stream_midstream_error.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_system_prompts.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_token_reporting.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/test_tokens_source.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/conftest.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/logging_helpers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/_helpers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/_helpers_lowlevel.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/_helpers_v2.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/conftest.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_conversation_session.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_defaults.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_error_properties.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_fastmcp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_fastmcp_v2.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_fastmcp_v4.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_features_m4.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_feedback.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_initialize_handshake.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_instrumentation_fork.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_lowlevel.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_model_parameters.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_no_crash.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_output_instructions.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_pending_tasks.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_pipeline.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_posthog_mcp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_request_headers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_resources.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_review_fixes.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_send_tools_list_event.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_session_token.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_tool_input.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_transport_identity.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_truncation.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_units.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_unknown_tool.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_v2_lowlevel.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_v2_mcpserver.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_v2_wire_dual_era.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/mcp/test_virtual_tools.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/released_flags_scenarios.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_ai_capture_lane.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_async_client.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_async_consumer.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_async_feature_flags.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_async_request.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_async_utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_before_send.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_bucketed_rate_limiter.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_capture_compression.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_capture_mode.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_capture_v1.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_client_fork.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_code_variables.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_consumer.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_contexts.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_emails.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_evaluate_flags.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_exception_capture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_exception_utils.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_experiment_exposure.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flag.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flag_called_minimization.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flag_has_experiment.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flag_result.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flags.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_feature_flags_regex.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flag_cache_eviction_reads.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flag_cache_publication.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flag_definition_cache.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flag_payload_parsing.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flags_released_behaviour.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_flags_v4_response.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_gevent_compat.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_metrics.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_metrics_autocapture.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_module.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_posthog_upgrade_workflow.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_property_matching_version.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_redis_flag_cache_snapshot.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_reference_markdown.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_release_id.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_request.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_server_payload_snapshots.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_size_limited_dict.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/test_utils_acceptance.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/conftest.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/helpers.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_client_traces.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_config.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_export.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_ids.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_limits.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_otlp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_pipeline.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_sanitize.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_span.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_traceparent.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/test/tracing/test_transport.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/__init__.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_before_span_send.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_config.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_context.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_drops.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_export.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_ids.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_limits.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_otlp.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_pipeline.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_sanitize.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_span.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_traceparent.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/_transport.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/tracing/span.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog/types.py +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog.egg-info/SOURCES.txt +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog.egg-info/dependency_links.txt +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog.egg-info/requires.txt +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/posthog.egg-info/top_level.txt +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/setup.cfg +0 -0
- {posthog-7.87.0 → posthog-7.87.2}/setup.py +0 -0
|
@@ -5679,9 +5679,10 @@ class Client(object):
|
|
|
5679
5679
|
redis_url = f"{parsed.scheme}://"
|
|
5680
5680
|
if parsed.username or parsed.password:
|
|
5681
5681
|
redis_url += f"{parsed.username or ''}:{parsed.password or ''}@"
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5682
|
+
host = parsed.hostname or "localhost"
|
|
5683
|
+
if ":" in host:
|
|
5684
|
+
host = f"[{host}]"
|
|
5685
|
+
redis_url += f"{host}:{parsed.port or 6379}"
|
|
5685
5686
|
if parsed.path:
|
|
5686
5687
|
redis_url += parsed.path
|
|
5687
5688
|
|
|
@@ -2597,6 +2597,15 @@ class TestClient(unittest.TestCase):
|
|
|
2597
2597
|
"rediss://user:secret@cache.example.com:6380/1?ttl=120",
|
|
2598
2598
|
"rediss://user:secret@cache.example.com:6380/1",
|
|
2599
2599
|
),
|
|
2600
|
+
("redis://[::1]:6379/0?ttl=120", "redis://[::1]:6379/0"),
|
|
2601
|
+
(
|
|
2602
|
+
"rediss://[2001:db8::1]:6380/1?ttl=120",
|
|
2603
|
+
"rediss://[2001:db8::1]:6380/1",
|
|
2604
|
+
),
|
|
2605
|
+
(
|
|
2606
|
+
"redis://user:p%40ss@[::1]:6379/0?ttl=120",
|
|
2607
|
+
"redis://user:p%40ss@[::1]:6379/0",
|
|
2608
|
+
),
|
|
2600
2609
|
]
|
|
2601
2610
|
)
|
|
2602
2611
|
def test_flag_fallback_cache_url_accepts_redis_schemes(
|
|
@@ -3,6 +3,7 @@ import os
|
|
|
3
3
|
import sys
|
|
4
4
|
import time
|
|
5
5
|
import unittest
|
|
6
|
+
from collections import deque
|
|
6
7
|
from contextlib import ExitStack
|
|
7
8
|
from unittest import mock
|
|
8
9
|
from dataclasses import dataclass
|
|
@@ -315,6 +316,16 @@ class TestUtils(unittest.TestCase):
|
|
|
315
316
|
"12345678-1234-5678-1234-567812345678",
|
|
316
317
|
]
|
|
317
318
|
|
|
319
|
+
assert utils.clean(
|
|
320
|
+
{
|
|
321
|
+
"frozenset": frozenset([Decimal("1.5")]),
|
|
322
|
+
"deque": deque([UUID("12345678123456781234567812345678")]),
|
|
323
|
+
}
|
|
324
|
+
) == {
|
|
325
|
+
"frozenset": [1.5],
|
|
326
|
+
"deque": ["12345678-1234-5678-1234-567812345678"],
|
|
327
|
+
}
|
|
328
|
+
|
|
318
329
|
bad_value = object()
|
|
319
330
|
|
|
320
331
|
def clean_or_raise(value):
|
|
@@ -4,7 +4,7 @@ import numbers
|
|
|
4
4
|
import re
|
|
5
5
|
import threading
|
|
6
6
|
import time
|
|
7
|
-
from collections import defaultdict
|
|
7
|
+
from collections import defaultdict, deque
|
|
8
8
|
from dataclasses import asdict, is_dataclass
|
|
9
9
|
from datetime import date, datetime, timezone, timedelta
|
|
10
10
|
from decimal import Decimal
|
|
@@ -89,7 +89,7 @@ def clean(item):
|
|
|
89
89
|
return str(item)
|
|
90
90
|
if isinstance(item, (str, bool, numbers.Number, datetime, date, type(None))):
|
|
91
91
|
return item
|
|
92
|
-
if isinstance(item, (set, list, tuple)):
|
|
92
|
+
if isinstance(item, (set, frozenset, list, tuple, deque)):
|
|
93
93
|
return _clean_list(item)
|
|
94
94
|
|
|
95
95
|
item = _clean_pydantic_model(item)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "7.87.2"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "posthog"
|
|
7
|
-
version = "7.87.
|
|
7
|
+
version = "7.87.2"
|
|
8
8
|
description = "Integrate PostHog into any python application."
|
|
9
9
|
authors = [{ name = "PostHog", email = "engineering@posthog.com" }]
|
|
10
10
|
maintainers = [{ name = "PostHog", email = "engineering@posthog.com" }]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "7.87.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{posthog-7.87.0 → posthog-7.87.2}/posthog/test/ai/claude_agent_sdk/test_processor_content.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|