statsig-python-core 0.17.2__tar.gz → 0.17.2b2603241852__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.
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/Cargo.lock +194 -16
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/Cargo.toml +1 -1
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/PKG-INFO +1 -1
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/statsig_python_core.pyi +9 -7
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/Cargo.toml +1 -1
- statsig_python_core-0.17.2b2603241852/statsig-pyo3/src/interned_store_py.rs +71 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/pyo_utils.rs +0 -12
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/valid_primitives_py.rs +14 -18
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_exposure_logging.py +1 -2
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/Cargo.toml +4 -1
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/__tests__/interned_store_returnable_tests.rs +34 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/__tests__/interned_store_string_tests.rs +29 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/interned_store.rs +139 -1
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_metadata.rs +1 -1
- statsig_python_core-0.17.2/statsig-pyo3/src/interned_store_py.rs +0 -37
- statsig_python_core-0.17.2/statsig-pyo3/tests/test_statsig_user_none_fields.py +0 -27
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/py_src/statsig_python_core/statsig_types.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/pyproject.toml +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/mock_output_logger.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/profile_util.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_experiment_serialization.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_feature_gate_serialization.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_get_dynamic_config.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_interned_store_preload.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_layer_serialization.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_performance.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_statsig_user_json_serialization.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/build.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/__tests__/spec_store_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/data_store_interface.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluator.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluator_context.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluator_result.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/__tests__/interned_store_eval_value_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/interned_values/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/lib.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/logging_utils.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/spec_store.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/statsig_user_builder.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/user/user_data.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_error.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_non_case_sensitive.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_user_agent_versions.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/demo_proj_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/perf_proj_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data_store_bytes_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/direct_gcir_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/proto_specs_usage_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/spec_store_lock_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_user_loggable_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_specs_adapter.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-rust/tests/utils/mod.rs +0 -0
|
@@ -39,6 +39,12 @@ dependencies = [
|
|
|
39
39
|
"memchr",
|
|
40
40
|
]
|
|
41
41
|
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "aliasable"
|
|
44
|
+
version = "0.1.3"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd"
|
|
47
|
+
|
|
42
48
|
[[package]]
|
|
43
49
|
name = "alloc-no-stdlib"
|
|
44
50
|
version = "2.0.4"
|
|
@@ -350,6 +356,29 @@ version = "3.17.0"
|
|
|
350
356
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
351
357
|
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
|
|
352
358
|
|
|
359
|
+
[[package]]
|
|
360
|
+
name = "bytecheck"
|
|
361
|
+
version = "0.8.2"
|
|
362
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
363
|
+
checksum = "0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b"
|
|
364
|
+
dependencies = [
|
|
365
|
+
"bytecheck_derive",
|
|
366
|
+
"ptr_meta",
|
|
367
|
+
"rancor",
|
|
368
|
+
"simdutf8",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "bytecheck_derive"
|
|
373
|
+
version = "0.8.2"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"proc-macro2",
|
|
378
|
+
"quote",
|
|
379
|
+
"syn 2.0.117",
|
|
380
|
+
]
|
|
381
|
+
|
|
353
382
|
[[package]]
|
|
354
383
|
name = "byteorder"
|
|
355
384
|
version = "1.5.0"
|
|
@@ -412,9 +441,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
|
412
441
|
|
|
413
442
|
[[package]]
|
|
414
443
|
name = "chrono"
|
|
415
|
-
version = "0.4.
|
|
444
|
+
version = "0.4.44"
|
|
416
445
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
-
checksum = "
|
|
446
|
+
checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
|
|
418
447
|
dependencies = [
|
|
419
448
|
"iana-time-zone",
|
|
420
449
|
"js-sys",
|
|
@@ -1261,9 +1290,9 @@ dependencies = [
|
|
|
1261
1290
|
|
|
1262
1291
|
[[package]]
|
|
1263
1292
|
name = "inventory"
|
|
1264
|
-
version = "0.3.
|
|
1293
|
+
version = "0.3.22"
|
|
1265
1294
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1266
|
-
checksum = "
|
|
1295
|
+
checksum = "009ae045c87e7082cb72dab0ccd01ae075dd00141ddc108f43a0ea150a9e7227"
|
|
1267
1296
|
dependencies = [
|
|
1268
1297
|
"rustversion",
|
|
1269
1298
|
]
|
|
@@ -1450,6 +1479,15 @@ version = "2.7.4"
|
|
|
1450
1479
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1451
1480
|
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|
1452
1481
|
|
|
1482
|
+
[[package]]
|
|
1483
|
+
name = "memmap2"
|
|
1484
|
+
version = "0.9.10"
|
|
1485
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1486
|
+
checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3"
|
|
1487
|
+
dependencies = [
|
|
1488
|
+
"libc",
|
|
1489
|
+
]
|
|
1490
|
+
|
|
1453
1491
|
[[package]]
|
|
1454
1492
|
name = "mime"
|
|
1455
1493
|
version = "0.3.17"
|
|
@@ -1512,6 +1550,26 @@ version = "0.10.0"
|
|
|
1512
1550
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1513
1551
|
checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
|
|
1514
1552
|
|
|
1553
|
+
[[package]]
|
|
1554
|
+
name = "munge"
|
|
1555
|
+
version = "0.4.7"
|
|
1556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1557
|
+
checksum = "5e17401f259eba956ca16491461b6e8f72913a0a114e39736ce404410f915a0c"
|
|
1558
|
+
dependencies = [
|
|
1559
|
+
"munge_macro",
|
|
1560
|
+
]
|
|
1561
|
+
|
|
1562
|
+
[[package]]
|
|
1563
|
+
name = "munge_macro"
|
|
1564
|
+
version = "0.4.7"
|
|
1565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1566
|
+
checksum = "4568f25ccbd45ab5d5603dc34318c1ec56b117531781260002151b8530a9f931"
|
|
1567
|
+
dependencies = [
|
|
1568
|
+
"proc-macro2",
|
|
1569
|
+
"quote",
|
|
1570
|
+
"syn 2.0.117",
|
|
1571
|
+
]
|
|
1572
|
+
|
|
1515
1573
|
[[package]]
|
|
1516
1574
|
name = "napi"
|
|
1517
1575
|
version = "3.0.0-alpha.27"
|
|
@@ -1692,6 +1750,30 @@ version = "6.6.1"
|
|
|
1692
1750
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1693
1751
|
checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1"
|
|
1694
1752
|
|
|
1753
|
+
[[package]]
|
|
1754
|
+
name = "ouroboros"
|
|
1755
|
+
version = "0.18.5"
|
|
1756
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1757
|
+
checksum = "1e0f050db9c44b97a94723127e6be766ac5c340c48f2c4bb3ffa11713744be59"
|
|
1758
|
+
dependencies = [
|
|
1759
|
+
"aliasable",
|
|
1760
|
+
"ouroboros_macro",
|
|
1761
|
+
"static_assertions",
|
|
1762
|
+
]
|
|
1763
|
+
|
|
1764
|
+
[[package]]
|
|
1765
|
+
name = "ouroboros_macro"
|
|
1766
|
+
version = "0.18.5"
|
|
1767
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1768
|
+
checksum = "3c7028bdd3d43083f6d8d4d5187680d0d3560d54df4cc9d752005268b41e64d0"
|
|
1769
|
+
dependencies = [
|
|
1770
|
+
"heck 0.4.1",
|
|
1771
|
+
"proc-macro2",
|
|
1772
|
+
"proc-macro2-diagnostics",
|
|
1773
|
+
"quote",
|
|
1774
|
+
"syn 2.0.117",
|
|
1775
|
+
]
|
|
1776
|
+
|
|
1695
1777
|
[[package]]
|
|
1696
1778
|
name = "parking_lot"
|
|
1697
1779
|
version = "0.12.3"
|
|
@@ -1856,6 +1938,19 @@ dependencies = [
|
|
|
1856
1938
|
"unicode-ident",
|
|
1857
1939
|
]
|
|
1858
1940
|
|
|
1941
|
+
[[package]]
|
|
1942
|
+
name = "proc-macro2-diagnostics"
|
|
1943
|
+
version = "0.10.1"
|
|
1944
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1945
|
+
checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8"
|
|
1946
|
+
dependencies = [
|
|
1947
|
+
"proc-macro2",
|
|
1948
|
+
"quote",
|
|
1949
|
+
"syn 2.0.117",
|
|
1950
|
+
"version_check",
|
|
1951
|
+
"yansi",
|
|
1952
|
+
]
|
|
1953
|
+
|
|
1859
1954
|
[[package]]
|
|
1860
1955
|
name = "prost"
|
|
1861
1956
|
version = "0.13.4"
|
|
@@ -1962,6 +2057,26 @@ dependencies = [
|
|
|
1962
2057
|
"prost 0.14.1",
|
|
1963
2058
|
]
|
|
1964
2059
|
|
|
2060
|
+
[[package]]
|
|
2061
|
+
name = "ptr_meta"
|
|
2062
|
+
version = "0.3.1"
|
|
2063
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2064
|
+
checksum = "0b9a0cf95a1196af61d4f1cbdab967179516d9a4a4312af1f31948f8f6224a79"
|
|
2065
|
+
dependencies = [
|
|
2066
|
+
"ptr_meta_derive",
|
|
2067
|
+
]
|
|
2068
|
+
|
|
2069
|
+
[[package]]
|
|
2070
|
+
name = "ptr_meta_derive"
|
|
2071
|
+
version = "0.3.1"
|
|
2072
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2073
|
+
checksum = "7347867d0a7e1208d93b46767be83e2b8f978c3dad35f775ac8d8847551d6fe1"
|
|
2074
|
+
dependencies = [
|
|
2075
|
+
"proc-macro2",
|
|
2076
|
+
"quote",
|
|
2077
|
+
"syn 2.0.117",
|
|
2078
|
+
]
|
|
2079
|
+
|
|
1965
2080
|
[[package]]
|
|
1966
2081
|
name = "pulldown-cmark"
|
|
1967
2082
|
version = "0.13.0"
|
|
@@ -2042,9 +2157,9 @@ dependencies = [
|
|
|
2042
2157
|
|
|
2043
2158
|
[[package]]
|
|
2044
2159
|
name = "pyo3-stub-gen"
|
|
2045
|
-
version = "0.
|
|
2160
|
+
version = "0.20.0"
|
|
2046
2161
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2047
|
-
checksum = "
|
|
2162
|
+
checksum = "83e2b9e475ac67c249ef794033ac3cf25a3216fbe5fe4b80cd82ab5a84d88485"
|
|
2048
2163
|
dependencies = [
|
|
2049
2164
|
"anyhow",
|
|
2050
2165
|
"chrono",
|
|
@@ -2068,9 +2183,9 @@ dependencies = [
|
|
|
2068
2183
|
|
|
2069
2184
|
[[package]]
|
|
2070
2185
|
name = "pyo3-stub-gen-derive"
|
|
2071
|
-
version = "0.
|
|
2186
|
+
version = "0.20.0"
|
|
2072
2187
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2073
|
-
checksum = "
|
|
2188
|
+
checksum = "11633044267957aeda9569863a3a57b3aa2aeebc7144439423c1ddde3d00d887"
|
|
2074
2189
|
dependencies = [
|
|
2075
2190
|
"heck 0.5.0",
|
|
2076
2191
|
"indexmap 2.13.0",
|
|
@@ -2142,13 +2257,22 @@ dependencies = [
|
|
|
2142
2257
|
|
|
2143
2258
|
[[package]]
|
|
2144
2259
|
name = "quote"
|
|
2145
|
-
version = "1.0.
|
|
2260
|
+
version = "1.0.45"
|
|
2146
2261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2147
|
-
checksum = "
|
|
2262
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
2148
2263
|
dependencies = [
|
|
2149
2264
|
"proc-macro2",
|
|
2150
2265
|
]
|
|
2151
2266
|
|
|
2267
|
+
[[package]]
|
|
2268
|
+
name = "rancor"
|
|
2269
|
+
version = "0.1.1"
|
|
2270
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2271
|
+
checksum = "a063ea72381527c2a0561da9c80000ef822bdd7c3241b1cc1b12100e3df081ee"
|
|
2272
|
+
dependencies = [
|
|
2273
|
+
"ptr_meta",
|
|
2274
|
+
]
|
|
2275
|
+
|
|
2152
2276
|
[[package]]
|
|
2153
2277
|
name = "rand"
|
|
2154
2278
|
version = "0.8.5"
|
|
@@ -2259,6 +2383,15 @@ version = "0.8.5"
|
|
|
2259
2383
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2260
2384
|
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
2261
2385
|
|
|
2386
|
+
[[package]]
|
|
2387
|
+
name = "rend"
|
|
2388
|
+
version = "0.5.3"
|
|
2389
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2390
|
+
checksum = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6"
|
|
2391
|
+
dependencies = [
|
|
2392
|
+
"bytecheck",
|
|
2393
|
+
]
|
|
2394
|
+
|
|
2262
2395
|
[[package]]
|
|
2263
2396
|
name = "reqwest"
|
|
2264
2397
|
version = "0.12.15"
|
|
@@ -2319,6 +2452,36 @@ dependencies = [
|
|
|
2319
2452
|
"windows-sys 0.52.0",
|
|
2320
2453
|
]
|
|
2321
2454
|
|
|
2455
|
+
[[package]]
|
|
2456
|
+
name = "rkyv"
|
|
2457
|
+
version = "0.8.15"
|
|
2458
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2459
|
+
checksum = "1a30e631b7f4a03dee9056b8ef6982e8ba371dd5bedb74d3ec86df4499132c70"
|
|
2460
|
+
dependencies = [
|
|
2461
|
+
"bytecheck",
|
|
2462
|
+
"bytes",
|
|
2463
|
+
"hashbrown 0.16.1",
|
|
2464
|
+
"indexmap 2.13.0",
|
|
2465
|
+
"munge",
|
|
2466
|
+
"ptr_meta",
|
|
2467
|
+
"rancor",
|
|
2468
|
+
"rend",
|
|
2469
|
+
"rkyv_derive",
|
|
2470
|
+
"tinyvec",
|
|
2471
|
+
"uuid",
|
|
2472
|
+
]
|
|
2473
|
+
|
|
2474
|
+
[[package]]
|
|
2475
|
+
name = "rkyv_derive"
|
|
2476
|
+
version = "0.8.15"
|
|
2477
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2478
|
+
checksum = "8100bb34c0a1d0f907143db3149e6b4eea3c33b9ee8b189720168e818303986f"
|
|
2479
|
+
dependencies = [
|
|
2480
|
+
"proc-macro2",
|
|
2481
|
+
"quote",
|
|
2482
|
+
"syn 2.0.117",
|
|
2483
|
+
]
|
|
2484
|
+
|
|
2322
2485
|
[[package]]
|
|
2323
2486
|
name = "rustc-demangle"
|
|
2324
2487
|
version = "0.1.24"
|
|
@@ -2706,7 +2869,7 @@ dependencies = [
|
|
|
2706
2869
|
|
|
2707
2870
|
[[package]]
|
|
2708
2871
|
name = "sigstat-grpc"
|
|
2709
|
-
version = "0.17.2"
|
|
2872
|
+
version = "0.17.2-beta.2603241852"
|
|
2710
2873
|
dependencies = [
|
|
2711
2874
|
"async-trait",
|
|
2712
2875
|
"chrono",
|
|
@@ -2719,6 +2882,12 @@ dependencies = [
|
|
|
2719
2882
|
"tonic-build 0.12.3",
|
|
2720
2883
|
]
|
|
2721
2884
|
|
|
2885
|
+
[[package]]
|
|
2886
|
+
name = "simdutf8"
|
|
2887
|
+
version = "0.1.5"
|
|
2888
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2889
|
+
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|
2890
|
+
|
|
2722
2891
|
[[package]]
|
|
2723
2892
|
name = "similar"
|
|
2724
2893
|
version = "2.7.0"
|
|
@@ -2792,7 +2961,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
2792
2961
|
|
|
2793
2962
|
[[package]]
|
|
2794
2963
|
name = "statsig-node"
|
|
2795
|
-
version = "0.17.2"
|
|
2964
|
+
version = "0.17.2-beta.2603241852"
|
|
2796
2965
|
dependencies = [
|
|
2797
2966
|
"async-trait",
|
|
2798
2967
|
"napi",
|
|
@@ -2806,7 +2975,7 @@ dependencies = [
|
|
|
2806
2975
|
|
|
2807
2976
|
[[package]]
|
|
2808
2977
|
name = "statsig-pyo3"
|
|
2809
|
-
version = "0.17.2"
|
|
2978
|
+
version = "0.17.2-beta.2603241852"
|
|
2810
2979
|
dependencies = [
|
|
2811
2980
|
"async-trait",
|
|
2812
2981
|
"lazy_static",
|
|
@@ -2820,7 +2989,7 @@ dependencies = [
|
|
|
2820
2989
|
|
|
2821
2990
|
[[package]]
|
|
2822
2991
|
name = "statsig-rust"
|
|
2823
|
-
version = "0.17.2"
|
|
2992
|
+
version = "0.17.2-beta.2603241852"
|
|
2824
2993
|
dependencies = [
|
|
2825
2994
|
"ahash",
|
|
2826
2995
|
"arc-swap",
|
|
@@ -2838,13 +3007,16 @@ dependencies = [
|
|
|
2838
3007
|
"lazy_static",
|
|
2839
3008
|
"libc",
|
|
2840
3009
|
"log",
|
|
3010
|
+
"memmap2",
|
|
2841
3011
|
"mockito",
|
|
2842
3012
|
"more-asserts",
|
|
3013
|
+
"ouroboros",
|
|
2843
3014
|
"parking_lot",
|
|
2844
3015
|
"percent-encoding",
|
|
2845
3016
|
"prost 0.14.1",
|
|
2846
3017
|
"rand 0.8.5",
|
|
2847
3018
|
"reqwest",
|
|
3019
|
+
"rkyv",
|
|
2848
3020
|
"rusty-fork",
|
|
2849
3021
|
"serde",
|
|
2850
3022
|
"serde_derive",
|
|
@@ -2866,7 +3038,7 @@ dependencies = [
|
|
|
2866
3038
|
|
|
2867
3039
|
[[package]]
|
|
2868
3040
|
name = "statsig_elixir"
|
|
2869
|
-
version = "0.17.2"
|
|
3041
|
+
version = "0.17.2-beta.2603241852"
|
|
2870
3042
|
dependencies = [
|
|
2871
3043
|
"async-trait",
|
|
2872
3044
|
"parking_lot",
|
|
@@ -2879,7 +3051,7 @@ dependencies = [
|
|
|
2879
3051
|
|
|
2880
3052
|
[[package]]
|
|
2881
3053
|
name = "statsig_ffi"
|
|
2882
|
-
version = "0.17.2"
|
|
3054
|
+
version = "0.17.2-beta.2603241852"
|
|
2883
3055
|
dependencies = [
|
|
2884
3056
|
"async-trait",
|
|
2885
3057
|
"cbindgen",
|
|
@@ -4129,6 +4301,12 @@ version = "0.5.5"
|
|
|
4129
4301
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4130
4302
|
checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
|
|
4131
4303
|
|
|
4304
|
+
[[package]]
|
|
4305
|
+
name = "yansi"
|
|
4306
|
+
version = "1.0.1"
|
|
4307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4308
|
+
checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
|
|
4309
|
+
|
|
4132
4310
|
[[package]]
|
|
4133
4311
|
name = "yoke"
|
|
4134
4312
|
version = "0.7.5"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.2b2603241852
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -90,6 +90,8 @@ class InitializeDetails:
|
|
|
90
90
|
class InternedStore:
|
|
91
91
|
def preload(self, data: bytes) -> None: ...
|
|
92
92
|
def preload_multi(self, data: typing.Sequence[bytes]) -> None: ...
|
|
93
|
+
def write_mmap_data(self, data: typing.Sequence[bytes], path: builtins.str) -> None: ...
|
|
94
|
+
def preload_mmap(self, path: builtins.str) -> None: ...
|
|
93
95
|
|
|
94
96
|
@typing.final
|
|
95
97
|
class LayerEvaluationOptions:
|
|
@@ -298,9 +300,9 @@ class StatsigOptions:
|
|
|
298
300
|
@output_log_level.setter
|
|
299
301
|
def output_log_level(self, value: typing.Optional[builtins.str]) -> None: ...
|
|
300
302
|
@property
|
|
301
|
-
def global_custom_fields(self) -> typing.Optional[builtins.dict[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
303
|
+
def global_custom_fields(self) -> typing.Optional[builtins.dict[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]: ...
|
|
302
304
|
@global_custom_fields.setter
|
|
303
|
-
def global_custom_fields(self, value: typing.Optional[builtins.dict[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
305
|
+
def global_custom_fields(self, value: typing.Optional[builtins.dict[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]) -> None: ...
|
|
304
306
|
@property
|
|
305
307
|
def observability_client(self) -> typing.Optional[ObservabilityClientBase]: ...
|
|
306
308
|
@observability_client.setter
|
|
@@ -345,7 +347,7 @@ class StatsigOptions:
|
|
|
345
347
|
def experimental_flags(self) -> typing.Optional[builtins.set[builtins.str]]: ...
|
|
346
348
|
@experimental_flags.setter
|
|
347
349
|
def experimental_flags(self, value: typing.Optional[builtins.set[builtins.str]]) -> None: ...
|
|
348
|
-
def __new__(cls, specs_url: typing.Optional[builtins.str] = None, specs_sync_interval_ms: typing.Optional[builtins.int] = None, init_timeout_ms: typing.Optional[builtins.int] = None, log_event_url: typing.Optional[builtins.str] = None, disable_all_logging: typing.Optional[builtins.bool] = None, disable_network: typing.Optional[builtins.bool] = None, log_event_connection_reuse: typing.Optional[builtins.bool] = None, event_logging_flush_interval_ms: typing.Optional[builtins.int] = None, event_logging_max_queue_size: typing.Optional[builtins.int] = None, event_logging_max_pending_batch_queue_size: typing.Optional[builtins.int] = None, enable_id_lists: typing.Optional[builtins.bool] = None, enable_dcs_deltas: typing.Optional[builtins.bool] = None, wait_for_user_agent_init: typing.Optional[builtins.bool] = None, wait_for_country_lookup_init: typing.Optional[builtins.bool] = None, disable_country_lookup: typing.Optional[builtins.bool] = None, id_lists_url: typing.Optional[builtins.str] = None, download_id_list_file_api: typing.Optional[builtins.str] = None, id_lists_sync_interval_ms: typing.Optional[builtins.int] = None, fallback_to_statsig_api: typing.Optional[builtins.bool] = None, environment: typing.Optional[builtins.str] = None, service_name: typing.Optional[builtins.str] = None, output_log_level: typing.Optional[builtins.str] = None, global_custom_fields: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
350
|
+
def __new__(cls, specs_url: typing.Optional[builtins.str] = None, specs_sync_interval_ms: typing.Optional[builtins.int] = None, init_timeout_ms: typing.Optional[builtins.int] = None, log_event_url: typing.Optional[builtins.str] = None, disable_all_logging: typing.Optional[builtins.bool] = None, disable_network: typing.Optional[builtins.bool] = None, log_event_connection_reuse: typing.Optional[builtins.bool] = None, event_logging_flush_interval_ms: typing.Optional[builtins.int] = None, event_logging_max_queue_size: typing.Optional[builtins.int] = None, event_logging_max_pending_batch_queue_size: typing.Optional[builtins.int] = None, enable_id_lists: typing.Optional[builtins.bool] = None, enable_dcs_deltas: typing.Optional[builtins.bool] = None, wait_for_user_agent_init: typing.Optional[builtins.bool] = None, wait_for_country_lookup_init: typing.Optional[builtins.bool] = None, disable_country_lookup: typing.Optional[builtins.bool] = None, id_lists_url: typing.Optional[builtins.str] = None, download_id_list_file_api: typing.Optional[builtins.str] = None, id_lists_sync_interval_ms: typing.Optional[builtins.int] = None, fallback_to_statsig_api: typing.Optional[builtins.bool] = None, environment: typing.Optional[builtins.str] = None, service_name: typing.Optional[builtins.str] = None, output_log_level: typing.Optional[builtins.str] = None, global_custom_fields: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]] = None, observability_client: typing.Optional[ObservabilityClientBase] = None, data_store: typing.Optional[DataStoreBase] = None, data_store_key_schema_version: typing.Optional[builtins.str] = None, persistent_storage: typing.Optional[PersistentStorageBaseClass] = None, config_compression_mode: typing.Optional[builtins.str] = None, proxy_config: typing.Optional[ProxyConfig] = None, output_logger_provider: typing.Optional[OutputLoggerProviderBase] = None, spec_adapter_configs: typing.Optional[list] = None, use_third_party_ua_parser: typing.Optional[builtins.bool] = None, disable_disk_access: typing.Optional[builtins.bool] = None, experimental_flags: typing.Optional[builtins.set[builtins.str]] = None) -> StatsigOptions: ...
|
|
349
351
|
|
|
350
352
|
@typing.final
|
|
351
353
|
class StatsigUser:
|
|
@@ -382,13 +384,13 @@ class StatsigUser:
|
|
|
382
384
|
@custom_ids.setter
|
|
383
385
|
def custom_ids(self, value: typing.Optional[builtins.dict[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float]]]) -> None: ...
|
|
384
386
|
@property
|
|
385
|
-
def custom(self) -> typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
387
|
+
def custom(self) -> typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]]: ...
|
|
386
388
|
@custom.setter
|
|
387
|
-
def custom(self, value: typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
389
|
+
def custom(self, value: typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]]) -> None: ...
|
|
388
390
|
@property
|
|
389
|
-
def private_attributes(self) -> typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
391
|
+
def private_attributes(self) -> typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]]: ...
|
|
390
392
|
@private_attributes.setter
|
|
391
|
-
def private_attributes(self, value: typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
393
|
+
def private_attributes(self, value: typing.Optional[builtins.dict[builtins.str, typing.Optional[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]]) -> None: ...
|
|
392
394
|
@property
|
|
393
395
|
def statsig_environment(self) -> typing.Optional[builtins.dict[builtins.str, builtins.str]]: ...
|
|
394
396
|
@statsig_environment.setter
|
{statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/Cargo.toml
RENAMED
|
@@ -16,7 +16,7 @@ crate-type = ["cdylib", "rlib"]
|
|
|
16
16
|
[dependencies]
|
|
17
17
|
parking_lot = "0.12.1"
|
|
18
18
|
pyo3 = { version = "0.28", features = ["abi3-py310"] }
|
|
19
|
-
pyo3-stub-gen = "0.
|
|
19
|
+
pyo3-stub-gen = "0.20"
|
|
20
20
|
serde_json = { version = "1.0.125", features = ["float_roundtrip"] }
|
|
21
21
|
statsig-rust = { path = "../statsig-rust", features = [
|
|
22
22
|
"with_grpc",
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
use pyo3::exceptions::PyRuntimeError;
|
|
2
|
+
use pyo3::prelude::*;
|
|
3
|
+
use pyo3::pyclass;
|
|
4
|
+
use pyo3::pymethods;
|
|
5
|
+
use pyo3::types::PyBytes;
|
|
6
|
+
use pyo3::types::PyType;
|
|
7
|
+
use pyo3_stub_gen::derive::*;
|
|
8
|
+
|
|
9
|
+
use statsig_rust::interned_values::InternedStore;
|
|
10
|
+
use statsig_rust::log_e;
|
|
11
|
+
|
|
12
|
+
const TAG: &str = stringify!(InternStorePy);
|
|
13
|
+
|
|
14
|
+
#[gen_stub_pyclass]
|
|
15
|
+
#[pyclass(name = "InternedStore", module = "statsig_python_core")]
|
|
16
|
+
#[derive(Default)]
|
|
17
|
+
pub struct InternedStorePy;
|
|
18
|
+
|
|
19
|
+
#[pymethods]
|
|
20
|
+
#[gen_stub_pymethods]
|
|
21
|
+
impl InternedStorePy {
|
|
22
|
+
#[classmethod]
|
|
23
|
+
pub fn preload(_cls: &Bound<'_, PyType>, data: &Bound<'_, PyBytes>) -> PyResult<()> {
|
|
24
|
+
let bytes: &[u8] = data.as_bytes();
|
|
25
|
+
|
|
26
|
+
if let Err(e) = InternedStore::preload(bytes) {
|
|
27
|
+
log_e!(TAG, "Failed to preload interned store: {}", e);
|
|
28
|
+
return Err(PyRuntimeError::new_err(e.to_string()));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
Ok(())
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#[classmethod]
|
|
35
|
+
pub fn preload_multi(_cls: &Bound<'_, PyType>, data: Vec<Bound<'_, PyBytes>>) -> PyResult<()> {
|
|
36
|
+
let bytes: Vec<&[u8]> = data.iter().map(|data| data.as_bytes()).collect();
|
|
37
|
+
|
|
38
|
+
if let Err(e) = InternedStore::preload_multi(&bytes) {
|
|
39
|
+
log_e!(TAG, "Failed to preload interned store: {}", e);
|
|
40
|
+
return Err(PyRuntimeError::new_err(e.to_string()));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
Ok(())
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
#[classmethod]
|
|
47
|
+
pub fn write_mmap_data(
|
|
48
|
+
_cls: &Bound<'_, PyType>,
|
|
49
|
+
data: Vec<Bound<'_, PyBytes>>,
|
|
50
|
+
path: &str,
|
|
51
|
+
) -> PyResult<()> {
|
|
52
|
+
let bytes: Vec<&[u8]> = data.iter().map(|data| data.as_bytes()).collect();
|
|
53
|
+
|
|
54
|
+
if let Err(e) = InternedStore::write_mmap_data(&bytes, path) {
|
|
55
|
+
log_e!(TAG, "Failed to preload mmap: {}", e);
|
|
56
|
+
return Err(PyRuntimeError::new_err(e.to_string()));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
Ok(())
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#[classmethod]
|
|
63
|
+
pub fn preload_mmap(_cls: &Bound<'_, PyType>, path: &str) -> PyResult<()> {
|
|
64
|
+
if let Err(e) = InternedStore::preload_mmap(path) {
|
|
65
|
+
log_e!(TAG, "Failed to load mmap data: {}", e);
|
|
66
|
+
return Err(PyRuntimeError::new_err(e.to_string()));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
Ok(())
|
|
70
|
+
}
|
|
71
|
+
}
|
{statsig_python_core-0.17.2 → statsig_python_core-0.17.2b2603241852}/statsig-pyo3/src/pyo_utils.rs
RENAMED
|
@@ -201,10 +201,6 @@ pub fn get_string_from_py_dict_throw_on_none(
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
pub fn py_any_to_value(value: &Bound<PyAny>) -> PyResult<Value> {
|
|
204
|
-
if value.is_none() {
|
|
205
|
-
return Ok(Value::Null);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
204
|
if let Ok(val) = value.extract::<String>() {
|
|
209
205
|
return Ok(Value::String(val));
|
|
210
206
|
}
|
|
@@ -254,10 +250,6 @@ pub fn py_any_to_value(value: &Bound<PyAny>) -> PyResult<Value> {
|
|
|
254
250
|
|
|
255
251
|
/// order matters in this function, please don't change
|
|
256
252
|
pub fn py_any_to_dynamic_value(value: &Bound<PyAny>) -> PyResult<DynamicValue> {
|
|
257
|
-
if value.is_none() {
|
|
258
|
-
return Ok(DynamicValue::new());
|
|
259
|
-
}
|
|
260
|
-
|
|
261
253
|
if let Ok(val) = value.extract::<String>() {
|
|
262
254
|
return Ok(DynamicValue::from(val));
|
|
263
255
|
}
|
|
@@ -331,10 +323,6 @@ pub fn opt_py_dict_ref_to_hashmap(
|
|
|
331
323
|
}
|
|
332
324
|
|
|
333
325
|
fn py_any_ref_to_dynamic_value(value: &Bound<'_, PyAny>) -> Option<DynamicValue> {
|
|
334
|
-
if value.is_none() {
|
|
335
|
-
return Some(DynamicValue::new());
|
|
336
|
-
}
|
|
337
|
-
|
|
338
326
|
if let Some(dv) = try_as_cow_str(value) {
|
|
339
327
|
return Some(DynamicValue::from(dv.as_ref()));
|
|
340
328
|
}
|
|
@@ -41,7 +41,7 @@ pub enum ValidPrimitivesPy {
|
|
|
41
41
|
Bool(bool),
|
|
42
42
|
Float(f64),
|
|
43
43
|
Int(i64),
|
|
44
|
-
Array(Vec<
|
|
44
|
+
Array(Vec<ValidArrayItemPy>),
|
|
45
45
|
String(String),
|
|
46
46
|
Dictionary(HashMap<String, Option<ValidPrimitivesPy>>),
|
|
47
47
|
}
|
|
@@ -62,7 +62,7 @@ impl<'a, 'py> FromPyObject<'a, 'py> for ValidPrimitivesPy {
|
|
|
62
62
|
return Ok(ValidPrimitivesPy::Float(f));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
if let Ok(s) = ob.extract::<Vec<
|
|
65
|
+
if let Ok(s) = ob.extract::<Vec<ValidArrayItemPy>>() {
|
|
66
66
|
return Ok(ValidPrimitivesPy::Array(s));
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -87,7 +87,7 @@ impl<'a, 'py> FromPyObject<'a, 'py> for ValidPrimitivesPy {
|
|
|
87
87
|
impl PyStubType for ValidPrimitivesPy {
|
|
88
88
|
fn type_output() -> TypeInfo {
|
|
89
89
|
TypeInfo {
|
|
90
|
-
name: "typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
90
|
+
name: "typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]".to_string(),
|
|
91
91
|
source_module: None,
|
|
92
92
|
import: HashSet::from(["builtins".into(), "typing".into()]),
|
|
93
93
|
type_refs: HashMap::new(),
|
|
@@ -105,10 +105,7 @@ impl ValidPrimitivesPy {
|
|
|
105
105
|
ValidPrimitivesPy::Array(a) => {
|
|
106
106
|
let mapped = a
|
|
107
107
|
.into_iter()
|
|
108
|
-
.map(
|
|
109
|
-
Some(v) => v.into_dynamic_value(),
|
|
110
|
-
None => DynamicValue::new(),
|
|
111
|
-
})
|
|
108
|
+
.map(ValidArrayItemPy::into_dynamic_value)
|
|
112
109
|
.collect::<Vec<_>>();
|
|
113
110
|
dyn_value!(mapped)
|
|
114
111
|
}
|
|
@@ -136,7 +133,7 @@ pub enum ValidPrimitivesPyRef<'a> {
|
|
|
136
133
|
Bool(bool),
|
|
137
134
|
Float(f64),
|
|
138
135
|
Int(i64),
|
|
139
|
-
Array(Vec<
|
|
136
|
+
Array(Vec<ValidArrayItemPyRef<'a>>),
|
|
140
137
|
String(&'a str),
|
|
141
138
|
Dictionary(HashMap<String, Option<ValidPrimitivesPyRef<'a>>>),
|
|
142
139
|
}
|
|
@@ -144,7 +141,7 @@ pub enum ValidPrimitivesPyRef<'a> {
|
|
|
144
141
|
impl PyStubType for ValidPrimitivesPyRef<'_> {
|
|
145
142
|
fn type_output() -> TypeInfo {
|
|
146
143
|
TypeInfo {
|
|
147
|
-
name: "typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.
|
|
144
|
+
name: "typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]".to_string(),
|
|
148
145
|
source_module: None,
|
|
149
146
|
import: HashSet::from(["builtins".into(), "typing".into()]),
|
|
150
147
|
type_refs: HashMap::new(),
|
|
@@ -173,7 +170,7 @@ impl<'a> ValidPrimitivesPyRef<'a> {
|
|
|
173
170
|
}
|
|
174
171
|
|
|
175
172
|
if let Some(ref value) = value.array_value {
|
|
176
|
-
let mut mapped: Vec<
|
|
173
|
+
let mut mapped: Vec<ValidArrayItemPyRef<'a>> = Vec::with_capacity(value.len());
|
|
177
174
|
for v in value {
|
|
178
175
|
mapped.push(json_value_to_valid_array_item_py(&v.json_value));
|
|
179
176
|
}
|
|
@@ -193,20 +190,19 @@ impl<'a> ValidPrimitivesPyRef<'a> {
|
|
|
193
190
|
}
|
|
194
191
|
}
|
|
195
192
|
|
|
196
|
-
fn json_value_to_valid_array_item_py(value: &Value) ->
|
|
193
|
+
fn json_value_to_valid_array_item_py(value: &Value) -> ValidArrayItemPyRef<'_> {
|
|
197
194
|
match value {
|
|
198
|
-
Value::
|
|
199
|
-
Value::String(v) => Some(ValidArrayItemPyRef::String(v.as_str())),
|
|
195
|
+
Value::String(v) => ValidArrayItemPyRef::String(v.as_str()),
|
|
200
196
|
Value::Number(v) => {
|
|
201
197
|
if let Some(v) = v.as_i64() {
|
|
202
|
-
|
|
198
|
+
ValidArrayItemPyRef::Int(v)
|
|
203
199
|
} else if let Some(v) = v.as_f64() {
|
|
204
|
-
|
|
200
|
+
ValidArrayItemPyRef::Float(v)
|
|
205
201
|
} else {
|
|
206
|
-
|
|
202
|
+
ValidArrayItemPyRef::String("")
|
|
207
203
|
}
|
|
208
204
|
}
|
|
209
|
-
Value::Bool(v) =>
|
|
210
|
-
_ =>
|
|
205
|
+
Value::Bool(v) => ValidArrayItemPyRef::Bool(*v),
|
|
206
|
+
_ => ValidArrayItemPyRef::String(""),
|
|
211
207
|
}
|
|
212
208
|
}
|
|
@@ -183,8 +183,7 @@ def test_custom_event_with_typed_metadata(statsig_setup):
|
|
|
183
183
|
assert event["metadata"]["an_int"] == 123
|
|
184
184
|
assert event["metadata"]["a_float"] == 1.5
|
|
185
185
|
assert event["metadata"]["a_bool"] is True
|
|
186
|
-
assert "a_none" in event["metadata"]
|
|
187
|
-
assert event["metadata"]["a_none"] is None
|
|
186
|
+
assert "a_none" not in event["metadata"] # we don't send None values
|
|
188
187
|
assert event["metadata"]["an_object"] == {"nested_int": 7, "nested_str": "x"}
|
|
189
188
|
assert event["metadata"]["an_array"] == [1, "a", False, {"k": "v"}]
|
|
190
189
|
|