Skip to content

[GitHub Bot] Generated python SDK#143

Merged
rodrirod-te merged 1 commit intomainfrom
20260319-095625
Mar 19, 2026
Merged

[GitHub Bot] Generated python SDK#143
rodrirod-te merged 1 commit intomainfrom
20260319-095625

Conversation

@mpragosa-te
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
68615 45533 66% 40% 🟢

New Files

File Coverage Status
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/init.py 100% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/api/init.py 100% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/api/generic_connectors_api.py 24% 🔴
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/api/operation_connectors_api.py 32% 🔴
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/api/webhook_operations_api.py 26% 🔴
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/init.py 100% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/assignments.py 77% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/authentication_type.py 89% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/basic_authentication.py 82% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/bearer_token_authentication.py 76% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/connector_type.py 86% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/error.py 66% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/generic_connector.py 71% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/generic_connector_auth.py 73% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/generic_connectors.py 67% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/header.py 75% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/link.py 79% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/oauth_client_credentials_authentication.py 78% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/oauth_code_authentication.py 80% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/operation_category.py 88% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/operation_status.py 88% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/operation_type.py 86% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/other_token_authentication.py 76% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/self_links.py 71% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/unauthorized_error.py 63% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/validation_error.py 56% 🔴
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/validation_error_item.py 64% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/webhook_operation.py 74% 🟢
thousandeyes-sdk-connectors/src/thousandeyes_sdk/connectors/models/webhook_operations.py 67% 🟢
thousandeyes-sdk-connectors/test/_init_.py 100% 🟢
thousandeyes-sdk-connectors/test/test_generic_connectors_api.py 98% 🟢
thousandeyes-sdk-connectors/test/test_operation_connectors_api.py 96% 🟢
thousandeyes-sdk-connectors/test/test_utils.py 100% 🟢
thousandeyes-sdk-connectors/test/test_webhook_operations_api.py 98% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/models/battery_level.py 88% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/models/battery_metrics.py 76% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/models/cellular_profile.py 80% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/battery_level.py 88% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/battery_metrics.py 76% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/cellular_profile.py 80% 🟢
TOTAL 77% 🔴

Modified Files

File Coverage Status
thousandeyes-sdk-administrative/test/test_account_groups_api.py 98% 🟢
thousandeyes-sdk-administrative/test/test_roles_api.py 98% 🟢
thousandeyes-sdk-administrative/test/test_users_api.py 98% 🟢
thousandeyes-sdk-agents/test/test_cloud_and_enterprise_agents_api.py 97% 🟢
thousandeyes-sdk-agents/test/test_enterprise_agent_cluster_api.py 97% 🟢
thousandeyes-sdk-agents/test/test_tests_assignment_on_agents_api.py 97% 🟢
thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/models/rule_detail.py 78% 🟢
thousandeyes-sdk-alerts/test/test_alert_rules_api.py 98% 🟢
thousandeyes-sdk-alerts/test/test_alert_suppression_windows_api.py 98% 🟢
thousandeyes-sdk-credentials/test/test_credentials_api.py 98% 🟢
thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_numbers_card_data.py 74% 🟢
thousandeyes-sdk-dashboards/test/test_dashboard_snapshots_api.py 98% 🟢
thousandeyes-sdk-dashboards/test/test_dashboards_api.py 98% 🟢
thousandeyes-sdk-dashboards/test/test_dashboards_filters_api.py 98% 🟢
thousandeyes-sdk-emulation/test/test_emulation_api.py 97% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/init.py 100% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/api/endpoint_agents_transfer_api.py 33% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/models/init.py 100% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/models/endpoint_agent.py 63% 🟢
thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents_api.py 98% 🟢
thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents_transfer_api.py 96% 🟢
thousandeyes-sdk-endpoint-instant-tests/test/test_agent_to_server_endpoint_instant_scheduled_tests_api.py 95% 🟢
thousandeyes-sdk-endpoint-instant-tests/test/test_http_server_endpoint_instant_scheduled_tests_api.py 95% 🟢
thousandeyes-sdk-endpoint-labels/test/test_endpoint_agent_labels_api.py 98% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/init.py 100% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/init.py 100% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/endpoint_test_result.py 60% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/http_endpoint_test_result.py 70% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/local_network_topology_result.py 60% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/local_network_topology_result_base.py 65% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/network_dynamic_endpoint_test_result.py 66% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/network_endpoint_test_result.py 64% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/path_vis_base_endpoint_test_result.py 61% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/path_vis_detail_dynamic_endpoint_test_result.py 61% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/path_vis_detail_endpoint_test_result.py 59% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/path_vis_dynamic_endpoint_test_result.py 65% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/models/path_vis_endpoint_test_result.py 63% 🟢
thousandeyes-sdk-endpoint-test-results/test/test_http_server_endpoint_scheduled_test_results_api.py 97% 🟢
thousandeyes-sdk-endpoint-test-results/test/test_local_network_endpoint_test_results_api.py 97% 🟢
thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_endpoint_test_results_api.py 97% 🟢
thousandeyes-sdk-endpoint-test-results/test/test_network_endpoint_scheduled_test_results_api.py 98% 🟢
thousandeyes-sdk-endpoint-test-results/test/test_real_user_endpoint_test_results_api.py 98% 🟢
thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_dynamic_tests_api.py 98% 🟢
thousandeyes-sdk-endpoint-tests/test/test_agent_to_server_endpoint_scheduled_tests_api.py 98% 🟢
thousandeyes-sdk-endpoint-tests/test/test_http_server_endpoint_scheduled_tests_api.py 98% 🟢
thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_api_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_dns_server_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_dnssec_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_http_page_load_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_http_server_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_sip_server_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_voice_instant_tests_api.py 95% 🟢
thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_tests_api.py 95% 🟢
thousandeyes-sdk-internet-insights/test/test_internet_insights_catalog_providers_api.py 96% 🟢
thousandeyes-sdk-internet-insights/test/test_internet_insights_outages_api.py 97% 🟢
thousandeyes-sdk-snapshots/test/test_test_snapshots_api.py 95% 🟢
thousandeyes-sdk-streaming/test/test_streaming_api.py 98% 🟢
thousandeyes-sdk-tags/test/test_tag_assignment_api.py 98% 🟢
thousandeyes-sdk-tags/test/test_tags_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_agent_to_agent_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_agent_to_server_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_api_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_bgp_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_dns_server_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_dns_trace_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_dnssec_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_ftp_server_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_http_server_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_page_load_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_path_visualization_interface_groups_api.py 97% 🟢
thousandeyes-sdk-tests/test/test_sip_server_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_voice_tests_api.py 98% 🟢
thousandeyes-sdk-tests/test/test_web_transaction_tests_api.py 98% 🟢
thousandeyes-sdk-usage/test/test_quotas_api.py 98% 🟢
TOTAL 91% 🟢

updated for commit: 9e5d9f4 by action🐍

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9e5d9f4b60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +147 to +149
if match > 1:
# more than 1 match
raise ValueError("Multiple matches found when deserializing the JSON string into GenericConnectorAuth with oneOf schemas: BasicAuthentication, BearerTokenAuthentication, OauthClientCredentialsAuthentication, OauthCodeAuthentication, OtherTokenAuthentication. Details: " + ", ".join(error_messages))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Disambiguate auth oneOf parsing before raising multi-match

GenericConnectorAuth.from_json increments match for every schema that validates and then raises on match > 1, but multiple auth schemas are currently overlapping (for example, BearerTokenAuthentication and OtherTokenAuthentication have the same required shape, and OauthCodeAuthentication payloads also satisfy OauthClientCredentialsAuthentication because type is not constrained per model and extra="allow"). As a result, valid connector payloads from the API can fail deserialization with a "Multiple matches found" ValueError, breaking reads of connectors/operations that include these auth types.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants