Skip to content

[GitHub Bot] Generated python SDK#130

Closed
mpragosa-te wants to merge 1 commit intomainfrom
20260129-151331
Closed

[GitHub Bot] Generated python SDK#130
mpragosa-te wants to merge 1 commit intomainfrom
20260129-151331

Conversation

@mpragosa-te
Copy link
Contributor

No description provided.

@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
66675 44348 67% 40% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/api/account_groups_api.py 28% 🟢
thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/api/permissions_api.py 49% 🟢
thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/api/roles_api.py 27% 🟢
thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/api/user_events_api.py 42% 🟢
thousandeyes-sdk-administrative/src/thousandeyes_sdk/administrative/api/users_api.py 26% 🟢
thousandeyes-sdk-agents/src/thousandeyes_sdk/agents/api/agent_proxies_api.py 49% 🟢
thousandeyes-sdk-agents/src/thousandeyes_sdk/agents/api/cloud_and_enterprise_agent_notification_rules_api.py 38% 🟢
thousandeyes-sdk-agents/src/thousandeyes_sdk/agents/api/cloud_and_enterprise_agents_api.py 28% 🟢
thousandeyes-sdk-agents/src/thousandeyes_sdk/agents/api/enterprise_agent_cluster_api.py 33% 🟢
thousandeyes-sdk-agents/src/thousandeyes_sdk/agents/api/tests_assignment_on_agents_api.py 28% 🟢
thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/api/alert_rules_api.py 27% 🟢
thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/api/alert_suppression_windows_api.py 26% 🟢
thousandeyes-sdk-alerts/src/thousandeyes_sdk/alerts/api/alerts_api.py 34% 🟢
thousandeyes-sdk-bgp-monitors/src/thousandeyes_sdk/bgp_monitors/api/bgp_monitors_api.py 49% 🟢
thousandeyes-sdk-credentials/src/thousandeyes_sdk/credentials/api/credentials_api.py 27% 🟢
thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/api/dashboard_snapshots_api.py 26% 🟢
thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/api/dashboards_api.py 22% 🟢
thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/api/dashboards_filters_api.py 26% 🟢
thousandeyes-sdk-emulation/src/thousandeyes_sdk/emulation/api/emulation_api.py 33% 🟢
thousandeyes-sdk-endpoint-agents/src/thousandeyes_sdk/endpoint_agents/api/endpoint_agents_api.py 24% 🟢
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/endpoint_agent.py 64% 🟢
thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents_api.py 98% 🟢
thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/api/agent_to_server_endpoint_instant_scheduled_tests_api.py 44% 🟢
thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/api/http_server_endpoint_instant_scheduled_tests_api.py 44% 🟢
thousandeyes-sdk-endpoint-instant-tests/src/thousandeyes_sdk/endpoint_instant_tests/api/run_endpoint_instant_scheduled_tests_api.py 47% 🟢
thousandeyes-sdk-endpoint-labels/src/thousandeyes_sdk/endpoint_labels/api/endpoint_agent_labels_api.py 27% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/api/http_server_endpoint_scheduled_test_results_api.py 26% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/api/local_network_endpoint_test_results_api.py 31% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/api/network_dynamic_endpoint_test_results_api.py 28% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/api/network_endpoint_scheduled_test_results_api.py 25% 🟢
thousandeyes-sdk-endpoint-test-results/src/thousandeyes_sdk/endpoint_test_results/api/real_user_endpoint_test_results_api.py 25% 🟢
thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/api/agent_to_server_endpoint_dynamic_tests_api.py 27% 🟢
thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/api/agent_to_server_endpoint_scheduled_tests_api.py 27% 🟢
thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/api/endpoint_scheduled_tests_api.py 49% 🟢
thousandeyes-sdk-endpoint-tests/src/thousandeyes_sdk/endpoint_tests/api/http_server_endpoint_scheduled_tests_api.py 27% 🟢
thousandeyes-sdk-event-detection/src/thousandeyes_sdk/event_detection/api/events_api.py 35% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/agent_to_agent_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/agent_to_server_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/api_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/dns_server_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/dns_trace_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/dnssec_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/ftp_server_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/http_page_load_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/http_server_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/instant_tests_api.py 46% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/sip_server_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/voice_instant_tests_api.py 44% 🟢
thousandeyes-sdk-instant-tests/src/thousandeyes_sdk/instant_tests/api/web_transaction_instant_tests_api.py 44% 🟢
thousandeyes-sdk-internet-insights/src/thousandeyes_sdk/internet_insights/api/internet_insights_catalog_providers_api.py 36% 🟢
thousandeyes-sdk-internet-insights/src/thousandeyes_sdk/internet_insights/api/internet_insights_outages_api.py 32% 🟢
thousandeyes-sdk-snapshots/src/thousandeyes_sdk/snapshots/api/test_snapshots_api.py 43% 🟢
thousandeyes-sdk-streaming/src/thousandeyes_sdk/streaming/api/streaming_api.py 27% 🟢
thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/api/tag_assignment_api.py 26% 🟢
thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/api/tags_api.py 25% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/api_test_results_api.py 34% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/dns_server_test_results_api.py 31% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/dns_trace_test_results_api.py 42% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/dnssec_test_results_api.py 42% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/network_bgp_test_results_api.py 34% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/network_test_results_api.py 29% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/voice_rtp_server_test_results_api.py 42% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/voice_sip_server_test_results_api.py 42% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/web_ftp_server_test_results_api.py 42% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/web_http_server_test_results_api.py 41% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/web_page_load_test_results_api.py 34% 🟢
thousandeyes-sdk-test-results/src/thousandeyes_sdk/test_results/api/web_transactions_test_results_api.py 29% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/agent_to_agent_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/agent_to_server_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/api_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/bgp_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/dns_server_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/dns_trace_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/dnssec_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/ftp_server_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/http_server_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/page_load_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/path_visualization_interface_groups_api.py 28% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/sip_server_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/tests_api.py 37% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/voice_tests_api.py 26% 🟢
thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/api/web_transaction_tests_api.py 26% 🟢
thousandeyes-sdk-usage/src/thousandeyes_sdk/usage/api/quotas_api.py 27% 🟢
thousandeyes-sdk-usage/src/thousandeyes_sdk/usage/api/usage_api.py 32% 🟢
TOTAL 35% 🟢

updated for commit: a9bad37 by action🐍

Copy link

@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: a9bad375e2

ℹ️ 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 +106 to +108
self.get_user_events,
lambda data: data.auditEvents if data and data.auditEvents else [],
aid = aid, use_all_permitted_aids = use_all_permitted_aids, window = window, start_date = start_date, end_date = end_date, cursor = cursor,

Choose a reason for hiding this comment

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

P1 Badge Read audit_events field, not alias, in pagination lambda

The new get_user_events_paginated lambda uses data.auditEvents, but AuditUserEvents defines the field as audit_events with alias auditEvents (see administrative/models/audit_user_events.py). Pydantic v2 doesn’t create attributes for aliases, so any successful response will raise AttributeError when the iterator evaluates this lambda, breaking pagination for all callers of get_user_events_paginated. Access data.audit_events instead.

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