hyperfluid 0.1.0__py3-none-any.whl
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.
- hyperfluid/__init__.py +56 -0
- hyperfluid/_exceptions.py +93 -0
- hyperfluid/_version.py +6 -0
- hyperfluid/api/__init__.py +1441 -0
- hyperfluid/api/_auth.py +231 -0
- hyperfluid/api/_errors.py +125 -0
- hyperfluid/api/_pages.py +307 -0
- hyperfluid/api/_pagination.py +298 -0
- hyperfluid/api/_response.py +132 -0
- hyperfluid/api/_streaming.py +353 -0
- hyperfluid/api/accept_invitation.py +115 -0
- hyperfluid/api/ai_agents.py +961 -0
- hyperfluid/api/ai_agents_sessions.py +277 -0
- hyperfluid/api/airflow_connections.py +683 -0
- hyperfluid/api/airflows.py +839 -0
- hyperfluid/api/airflows_pods.py +240 -0
- hyperfluid/api/alert_rules.py +153 -0
- hyperfluid/api/alert_rules_rules.py +436 -0
- hyperfluid/api/alerting_settings.py +216 -0
- hyperfluid/api/alerting_settings_bindings.py +206 -0
- hyperfluid/api/alerting_settings_channels.py +474 -0
- hyperfluid/api/alerting_settings_thresholds.py +278 -0
- hyperfluid/api/api_keys.py +380 -0
- hyperfluid/api/app_instances.py +495 -0
- hyperfluid/api/app_templates.py +235 -0
- hyperfluid/api/atlas.py +600 -0
- hyperfluid/api/atlas_entries.py +351 -0
- hyperfluid/api/audit_logs.py +589 -0
- hyperfluid/api/audit_logs_security_decisions.py +299 -0
- hyperfluid/api/authorization.py +2794 -0
- hyperfluid/api/backup_targets.py +585 -0
- hyperfluid/api/bifrost.py +163 -0
- hyperfluid/api/buckets.py +1160 -0
- hyperfluid/api/buckets_archive_operations.py +313 -0
- hyperfluid/api/buckets_objects.py +479 -0
- hyperfluid/api/changelogs.py +112 -0
- hyperfluid/api/check_name_availability.py +126 -0
- hyperfluid/api/ci_runners.py +106 -0
- hyperfluid/api/cli.py +106 -0
- hyperfluid/api/client.py +5360 -0
- hyperfluid/api/common.py +845 -0
- hyperfluid/api/compute_docks.py +753 -0
- hyperfluid/api/console_config.py +106 -0
- hyperfluid/api/container_apps.py +877 -0
- hyperfluid/api/container_apps_crd.py +763 -0
- hyperfluid/api/container_apps_git_source.py +99 -0
- hyperfluid/api/container_apps_git_source_container_apps.py +83 -0
- hyperfluid/api/container_apps_git_source_container_apps_image_source.py +455 -0
- hyperfluid/api/container_apps_git_source_harbors.py +79 -0
- hyperfluid/api/container_apps_git_source_harbors_container_apps.py +366 -0
- hyperfluid/api/container_apps_pods.py +232 -0
- hyperfluid/api/converters.py +264 -0
- hyperfluid/api/crate_hf_console_inbound_http_handlers_data_containers_iceberg_clone_table.py +162 -0
- hyperfluid/api/crate_hf_console_inbound_http_handlers_data_docks_data_containers_handlers.py +156 -0
- hyperfluid/api/create_invitation.py +141 -0
- hyperfluid/api/create_signup_request.py +159 -0
- hyperfluid/api/dashboards.py +1069 -0
- hyperfluid/api/dashboards_versions.py +210 -0
- hyperfluid/api/data_docks.py +445 -0
- hyperfluid/api/data_docks_catalog.py +182 -0
- hyperfluid/api/decline_invitation.py +110 -0
- hyperfluid/api/dev_workstations.py +889 -0
- hyperfluid/api/dev_workstations_agent_chat.py +534 -0
- hyperfluid/api/dev_workstations_agent_chat_permission_policy.py +266 -0
- hyperfluid/api/dev_workstations_agent_chat_questions.py +264 -0
- hyperfluid/api/dev_workstations_agent_chat_sessions.py +522 -0
- hyperfluid/api/dev_workstations_agent_chat_sessions_messages.py +303 -0
- hyperfluid/api/dev_workstations_agent_chat_workspaces.py +229 -0
- hyperfluid/api/dev_workstations_ai.py +167 -0
- hyperfluid/api/dev_workstations_audit.py +219 -0
- hyperfluid/api/dev_workstations_egress_allowlists.py +471 -0
- hyperfluid/api/dev_workstations_egress_flows.py +141 -0
- hyperfluid/api/dev_workstations_files.py +241 -0
- hyperfluid/api/dev_workstations_forgejo.py +217 -0
- hyperfluid/api/dev_workstations_git_ops.py +770 -0
- hyperfluid/api/dev_workstations_metrics.py +118 -0
- hyperfluid/api/dev_workstations_preview_ports.py +118 -0
- hyperfluid/api/dev_workstations_preview_proxy.py +120 -0
- hyperfluid/api/dev_workstations_repositories.py +284 -0
- hyperfluid/api/dev_workstations_scm.py +396 -0
- hyperfluid/api/dev_workstations_skill_registries.py +657 -0
- hyperfluid/api/dev_workstations_skill_registries_skills.py +350 -0
- hyperfluid/api/dev_workstations_terminals.py +249 -0
- hyperfluid/api/domain_verifications.py +505 -0
- hyperfluid/api/faker_create_schema.py +141 -0
- hyperfluid/api/faker_create_table.py +149 -0
- hyperfluid/api/faker_create_table_structured.py +150 -0
- hyperfluid/api/faker_delete_schema.py +124 -0
- hyperfluid/api/faker_delete_schema_preview.py +130 -0
- hyperfluid/api/faker_delete_table.py +124 -0
- hyperfluid/api/faker_delete_table_preview.py +130 -0
- hyperfluid/api/faker_get_field_types.py +108 -0
- hyperfluid/api/faker_get_schemas.py +122 -0
- hyperfluid/api/faker_get_table.py +130 -0
- hyperfluid/api/faker_get_tables.py +122 -0
- hyperfluid/api/faker_update_table.py +146 -0
- hyperfluid/api/forgejo_runners.py +624 -0
- hyperfluid/api/get_data_container.py +122 -0
- hyperfluid/api/get_invitation_preview.py +116 -0
- hyperfluid/api/get_signup_page_copy.py +132 -0
- hyperfluid/api/git_hub_runners.py +1216 -0
- hyperfluid/api/handlers.py +362 -0
- hyperfluid/api/harbors.py +461 -0
- hyperfluid/api/harbors_crd.py +205 -0
- hyperfluid/api/hf_key_value_caches.py +595 -0
- hyperfluid/api/iceberg_create_iceberg_data_container.py +138 -0
- hyperfluid/api/iceberg_create_schema.py +149 -0
- hyperfluid/api/iceberg_create_table.py +184 -0
- hyperfluid/api/iceberg_delete_schema.py +120 -0
- hyperfluid/api/iceberg_delete_table.py +166 -0
- hyperfluid/api/iceberg_get_iceberg_data_container.py +122 -0
- hyperfluid/api/iceberg_get_schemas.py +122 -0
- hyperfluid/api/iceberg_get_table_columns.py +138 -0
- hyperfluid/api/iceberg_get_tables.py +122 -0
- hyperfluid/api/iceberg_health.py +241 -0
- hyperfluid/api/iceberg_health_scan_api.py +214 -0
- hyperfluid/api/iceberg_optimize.py +636 -0
- hyperfluid/api/iceberg_optimize_runs.py +284 -0
- hyperfluid/api/identity_providers.py +475 -0
- hyperfluid/api/kafka_services.py +751 -0
- hyperfluid/api/kafka_topics.py +501 -0
- hyperfluid/api/list_identity_providers.py +118 -0
- hyperfluid/api/list_invitations.py +122 -0
- hyperfluid/api/llm_credits.py +353 -0
- hyperfluid/api/llm_credits_budgets.py +300 -0
- hyperfluid/api/managed_postgre_sq_ls.py +103 -0
- hyperfluid/api/managed_postgre_sq_ls_harbors.py +81 -0
- hyperfluid/api/managed_postgre_sq_ls_harbors_managed_postgresqls.py +306 -0
- hyperfluid/api/managed_postgre_sq_ls_managed_postgresqls.py +530 -0
- hyperfluid/api/managed_postgre_sql_users.py +619 -0
- hyperfluid/api/managed_postgresql_backups.py +513 -0
- hyperfluid/api/managed_postgresql_imports.py +986 -0
- hyperfluid/api/middleware.py +40 -0
- hyperfluid/api/model_catalog.py +170 -0
- hyperfluid/api/model_serving.py +556 -0
- hyperfluid/api/monitoring.py +1080 -0
- hyperfluid/api/monitoring_bifrost.py +456 -0
- hyperfluid/api/monitoring_compute_docks.py +302 -0
- hyperfluid/api/monitoring_container_apps.py +404 -0
- hyperfluid/api/monitoring_container_apps_custom_metrics.py +251 -0
- hyperfluid/api/monitoring_data_docks.py +286 -0
- hyperfluid/api/monitoring_dev_workstations.py +373 -0
- hyperfluid/api/monitoring_harbors.py +177 -0
- hyperfluid/api/monitoring_harbors_github_runners.py +449 -0
- hyperfluid/api/monitoring_hf_key_value_caches.py +286 -0
- hyperfluid/api/monitoring_kafka_services.py +286 -0
- hyperfluid/api/monitoring_managed_postgresqls.py +292 -0
- hyperfluid/api/monitoring_model_servings.py +278 -0
- hyperfluid/api/nextflow.py +735 -0
- hyperfluid/api/nextflow_runs.py +623 -0
- hyperfluid/api/nextflow_runs_tasks.py +236 -0
- hyperfluid/api/ontology.py +480 -0
- hyperfluid/api/ontology_action_types.py +578 -0
- hyperfluid/api/ontology_link_types.py +479 -0
- hyperfluid/api/ontology_object_types.py +657 -0
- hyperfluid/api/ontology_object_types_instances.py +394 -0
- hyperfluid/api/ontology_properties.py +233 -0
- hyperfluid/api/open_data.py +279 -0
- hyperfluid/api/org_storage.py +284 -0
- hyperfluid/api/org_storage_harbors.py +237 -0
- hyperfluid/api/org_storage_harbors_zones.py +198 -0
- hyperfluid/api/org_storage_zones.py +190 -0
- hyperfluid/api/organization_features.py +120 -0
- hyperfluid/api/organizations.py +580 -0
- hyperfluid/api/orgs.py +69 -0
- hyperfluid/api/orgs_data_docks.py +203 -0
- hyperfluid/api/petite_requete.py +1945 -0
- hyperfluid/api/pipelines.py +1515 -0
- hyperfluid/api/pipelines_runs.py +371 -0
- hyperfluid/api/pipelines_stats_api.py +214 -0
- hyperfluid/api/postgresql_create_postgresql_data_container.py +142 -0
- hyperfluid/api/postgresql_get_postgresql_data_container.py +124 -0
- hyperfluid/api/quotas.py +175 -0
- hyperfluid/api/redeem_invitation.py +108 -0
- hyperfluid/api/register_invitation.py +135 -0
- hyperfluid/api/registries.py +393 -0
- hyperfluid/api/registry_projects.py +407 -0
- hyperfluid/api/registry_views.py +427 -0
- hyperfluid/api/registry_views_projects.py +69 -0
- hyperfluid/api/registry_views_projects_images.py +540 -0
- hyperfluid/api/resend_invitation.py +124 -0
- hyperfluid/api/revoke_invitation.py +122 -0
- hyperfluid/api/s3_long_lived_keys.py +221 -0
- hyperfluid/api/s3_long_lived_keys_s3_keys.py +313 -0
- hyperfluid/api/s3_sessions.py +131 -0
- hyperfluid/api/sapience_resources.py +122 -0
- hyperfluid/api/secrets.py +788 -0
- hyperfluid/api/security.py +1167 -0
- hyperfluid/api/security_policies.py +118 -0
- hyperfluid/api/security_settings.py +431 -0
- hyperfluid/api/service_accounts.py +261 -0
- hyperfluid/api/service_accounts_attributes.py +385 -0
- hyperfluid/api/service_accounts_crd.py +501 -0
- hyperfluid/api/service_links.py +387 -0
- hyperfluid/api/shared_models.py +167 -0
- hyperfluid/api/super_catalog_exposure_handlers.py +224 -0
- hyperfluid/api/super_catalog_handlers.py +308 -0
- hyperfluid/api/super_data_access_handlers.py +161 -0
- hyperfluid/api/super_internet_exposure_handlers.py +209 -0
- hyperfluid/api/super_organizations_list_users.py +122 -0
- hyperfluid/api/super_resource_groups_handlers.py +206 -0
- hyperfluid/api/super_search_handlers.py +173 -0
- hyperfluid/api/support.py +69 -0
- hyperfluid/api/support_tickets.py +522 -0
- hyperfluid/api/support_tickets_messages.py +216 -0
- hyperfluid/api/table_classifications.py +551 -0
- hyperfluid/api/terraform_registry.py +122 -0
- hyperfluid/api/token_usage.py +414 -0
- hyperfluid/api/token_usage_timeseries.py +226 -0
- hyperfluid/api/trino_connectors.py +122 -0
- hyperfluid/api/unified_catalog.py +122 -0
- hyperfluid/api/user_attributes.py +492 -0
- hyperfluid/api/verify_signup_request.py +137 -0
- hyperfluid/api/virtual_machine_users.py +452 -0
- hyperfluid/api/virtual_machines.py +664 -0
- hyperfluid/api/workload_security.py +592 -0
- hyperfluid/api/workload_security_settings.py +199 -0
- hyperfluid/api/workload_security_workloads.py +215 -0
- hyperfluid/api/workstation_templates.py +544 -0
- hyperfluid/errors.py +46 -0
- hyperfluid/models/__init__.py +3844 -0
- hyperfluid/models/abort_managed_postgresql_import_upload_request_body.py +18 -0
- hyperfluid/models/abort_multipart_upload_request.py +17 -0
- hyperfluid/models/accept_invitation_body.py +11 -0
- hyperfluid/models/access_binding.py +56 -0
- hyperfluid/models/access_check_item.py +20 -0
- hyperfluid/models/access_check_request_body.py +17 -0
- hyperfluid/models/access_check_result.py +21 -0
- hyperfluid/models/action_parameter.py +31 -0
- hyperfluid/models/action_result.py +21 -0
- hyperfluid/models/action_type.py +47 -0
- hyperfluid/models/add_group_member_request_body.py +17 -0
- hyperfluid/models/add_service_account_attribute_request.py +14 -0
- hyperfluid/models/add_user.py +13 -0
- hyperfluid/models/add_user_attribute_request.py +15 -0
- hyperfluid/models/add_workstation_repository_response.py +26 -0
- hyperfluid/models/agent_mode.py +21 -0
- hyperfluid/models/agent_request_kind.py +24 -0
- hyperfluid/models/agent_workspaces.py +21 -0
- hyperfluid/models/agent_worktree.py +17 -0
- hyperfluid/models/ai_agent_budgets_dto.py +18 -0
- hyperfluid/models/ai_agent_capabilities_response.py +17 -0
- hyperfluid/models/ai_agent_capability_response.py +45 -0
- hyperfluid/models/ai_agent_data_source_dto.py +21 -0
- hyperfluid/models/ai_agent_desired_state_dto.py +17 -0
- hyperfluid/models/ai_agent_inference_dto.py +27 -0
- hyperfluid/models/ai_agent_mail_dto.py +64 -0
- hyperfluid/models/ai_agent_mail_mode_dto.py +17 -0
- hyperfluid/models/ai_agent_mail_stats_response.py +40 -0
- hyperfluid/models/ai_agent_mail_status_dto.py +29 -0
- hyperfluid/models/ai_agent_mailbox_phase_dto.py +17 -0
- hyperfluid/models/ai_agent_memory_response.py +35 -0
- hyperfluid/models/ai_agent_response.py +81 -0
- hyperfluid/models/ai_agent_session_summary.py +30 -0
- hyperfluid/models/ai_agent_session_turn.py +19 -0
- hyperfluid/models/ai_agent_session_turns_response.py +17 -0
- hyperfluid/models/ai_agent_sessions_response.py +17 -0
- hyperfluid/models/ai_agent_status_response.py +24 -0
- hyperfluid/models/ai_classification_result_response.py +25 -0
- hyperfluid/models/ai_classify_request_body.py +20 -0
- hyperfluid/models/ai_classify_response_body.py +21 -0
- hyperfluid/models/ai_edit_request.py +35 -0
- hyperfluid/models/ai_edit_response.py +17 -0
- hyperfluid/models/airflow_connection_condition_response.py +24 -0
- hyperfluid/models/airflow_connection_response.py +145 -0
- hyperfluid/models/airflow_connection_s3_session.py +30 -0
- hyperfluid/models/airflow_crd_spec_response.py +49 -0
- hyperfluid/models/airflow_crd_status_response.py +47 -0
- hyperfluid/models/airflow_egress_request.py +30 -0
- hyperfluid/models/airflow_in_cluster_link_request.py +21 -0
- hyperfluid/models/airflow_link_kind.py +31 -0
- hyperfluid/models/airflow_node_tier.py +38 -0
- hyperfluid/models/airflow_pod_response.py +37 -0
- hyperfluid/models/airflow_response.py +53 -0
- hyperfluid/models/alert_event_dto.py +33 -0
- hyperfluid/models/alert_rule_body.py +40 -0
- hyperfluid/models/alert_rule_dto.py +53 -0
- hyperfluid/models/alertable_panel_dto.py +25 -0
- hyperfluid/models/analytics_summary.py +27 -0
- hyperfluid/models/analytics_trend_point.py +20 -0
- hyperfluid/models/analytics_trends.py +19 -0
- hyperfluid/models/antivirus_config.py +21 -0
- hyperfluid/models/api_error_body.py +23 -0
- hyperfluid/models/api_key_response.py +44 -0
- hyperfluid/models/app_instance_response.py +42 -0
- hyperfluid/models/app_protocol.py +19 -0
- hyperfluid/models/app_template_response.py +43 -0
- hyperfluid/models/app_usage_ref.py +29 -0
- hyperfluid/models/applied_proposal.py +29 -0
- hyperfluid/models/apply_ontology_proposal_request.py +26 -0
- hyperfluid/models/archive_download_response.py +15 -0
- hyperfluid/models/archive_export_request.py +24 -0
- hyperfluid/models/archive_file_type.py +14 -0
- hyperfluid/models/archive_import_request.py +26 -0
- hyperfluid/models/archive_operation_status.py +19 -0
- hyperfluid/models/archive_operation_type.py +15 -0
- hyperfluid/models/ask_ai_agent_request.py +28 -0
- hyperfluid/models/ask_ai_agent_response.py +21 -0
- hyperfluid/models/assistant_answer.py +21 -0
- hyperfluid/models/assistant_request.py +23 -0
- hyperfluid/models/atlas_article.py +21 -0
- hyperfluid/models/atlas_article_summary.py +45 -0
- hyperfluid/models/atlas_assistant_request.py +17 -0
- hyperfluid/models/atlas_assistant_response.py +24 -0
- hyperfluid/models/atlas_assistant_source.py +19 -0
- hyperfluid/models/atlas_assistant_status.py +18 -0
- hyperfluid/models/atlas_entry.py +29 -0
- hyperfluid/models/atlas_entry_kind.py +20 -0
- hyperfluid/models/atlas_localized_text.py +15 -0
- hyperfluid/models/atlas_manifest.py +24 -0
- hyperfluid/models/atlas_persona.py +21 -0
- hyperfluid/models/atlas_procedure_revision.py +25 -0
- hyperfluid/models/atlas_save_entry.py +35 -0
- hyperfluid/models/atlas_search_request.py +24 -0
- hyperfluid/models/atlas_search_response.py +24 -0
- hyperfluid/models/atlas_search_result.py +27 -0
- hyperfluid/models/atlas_status.py +19 -0
- hyperfluid/models/atlas_verification.py +17 -0
- hyperfluid/models/atlas_visibility.py +15 -0
- hyperfluid/models/atlas_workspace.py +23 -0
- hyperfluid/models/audit_actor.py +20 -0
- hyperfluid/models/audit_actor_kind.py +23 -0
- hyperfluid/models/audit_entry_kind.py +15 -0
- hyperfluid/models/audit_log_event.py +111 -0
- hyperfluid/models/audit_log_event_authz_break_glass_used_variant.py +20 -0
- hyperfluid/models/audit_log_event_authz_organization_policy_revoked_variant.py +23 -0
- hyperfluid/models/audit_log_event_console_authz_decision_variant.py +19 -0
- hyperfluid/models/audit_log_event_container_app_image_synced_variant.py +21 -0
- hyperfluid/models/audit_log_event_data_dock_opa_evaluation_variant.py +19 -0
- hyperfluid/models/audit_log_event_managed_postgresql_import_created_variant.py +24 -0
- hyperfluid/models/audit_log_event_object_storage_owner_key_revealed_variant.py +27 -0
- hyperfluid/models/audit_log_event_object_storage_usage_collected_variant.py +23 -0
- hyperfluid/models/audit_log_event_platform_admin_action_variant.py +21 -0
- hyperfluid/models/audit_log_event_runtime_security_alert_variant.py +25 -0
- hyperfluid/models/audit_log_event_s3_gateway_decision_variant.py +19 -0
- hyperfluid/models/audit_log_event_s3_gateway_gate_denied_variant.py +21 -0
- hyperfluid/models/audit_log_event_s3_gateway_session_issued_variant.py +19 -0
- hyperfluid/models/audit_log_event_security_decision_variant.py +19 -0
- hyperfluid/models/audit_log_event_trino_query_completed_variant.py +21 -0
- hyperfluid/models/audit_log_event_type.py +52 -0
- hyperfluid/models/audit_log_event_virtual_machine_console_session_variant.py +23 -0
- hyperfluid/models/audit_log_event_workstation_agent_request_variant.py +25 -0
- hyperfluid/models/audit_log_event_workstation_preview_session_variant.py +22 -0
- hyperfluid/models/audit_log_event_workstation_terminal_command_variant.py +20 -0
- hyperfluid/models/audit_log_freshness.py +17 -0
- hyperfluid/models/audit_log_page_audit_entry.py +28 -0
- hyperfluid/models/audit_log_page_audit_entry_data_item.py +124 -0
- hyperfluid/models/audit_log_page_list_audit_log_item.py +30 -0
- hyperfluid/models/audit_log_page_list_audit_log_item_data_item.py +43 -0
- hyperfluid/models/authorize_preview_response.py +27 -0
- hyperfluid/models/authz_break_glass_used_log.py +21 -0
- hyperfluid/models/authz_organization_policy_revoked_log.py +28 -0
- hyperfluid/models/auto_suspend_input.py +15 -0
- hyperfluid/models/autoscaling_spec.py +52 -0
- hyperfluid/models/available_image.py +42 -0
- hyperfluid/models/backend_driver.py +15 -0
- hyperfluid/models/backup_origin.py +19 -0
- hyperfluid/models/backup_policy.py +15 -0
- hyperfluid/models/backup_target_crd_spec_response.py +23 -0
- hyperfluid/models/backup_target_instance.py +15 -0
- hyperfluid/models/backup_target_response.py +49 -0
- hyperfluid/models/backup_target_source_request.py +28 -0
- hyperfluid/models/backup_target_source_request_external_variant.py +27 -0
- hyperfluid/models/backup_target_source_request_internal_variant.py +23 -0
- hyperfluid/models/bifrost_event_dto.py +41 -0
- hyperfluid/models/bifrost_event_status.py +15 -0
- hyperfluid/models/bifrost_events_response.py +27 -0
- hyperfluid/models/bifrost_feature_status_response.py +23 -0
- hyperfluid/models/bifrost_info_response.py +21 -0
- hyperfluid/models/bifrost_overview_response.py +44 -0
- hyperfluid/models/bifrost_protocol.py +21 -0
- hyperfluid/models/bifrost_timeseries_point_dto.py +17 -0
- hyperfluid/models/bifrost_timeseries_response.py +27 -0
- hyperfluid/models/bifrost_top_response.py +27 -0
- hyperfluid/models/bifrost_top_row_dto.py +20 -0
- hyperfluid/models/branch_list.py +17 -0
- hyperfluid/models/bucket_archive_operation.py +63 -0
- hyperfluid/models/bucket_credentials.py +17 -0
- hyperfluid/models/bucket_field.py +28 -0
- hyperfluid/models/bucket_object.py +21 -0
- hyperfluid/models/bucket_object_listing.py +26 -0
- hyperfluid/models/bucket_ref_spec_response.py +25 -0
- hyperfluid/models/budget_author.py +15 -0
- hyperfluid/models/capacity_usage_item_response.py +33 -0
- hyperfluid/models/catalog_exposure_response.py +25 -0
- hyperfluid/models/catalog_exposure_table_entry.py +20 -0
- hyperfluid/models/catalog_failure_kind.py +23 -0
- hyperfluid/models/catalog_introspection_failure.py +25 -0
- hyperfluid/models/catalog_item.py +31 -0
- hyperfluid/models/catalog_model.py +67 -0
- hyperfluid/models/catalog_repository_response.py +25 -0
- hyperfluid/models/catalog_response.py +17 -0
- hyperfluid/models/ceph_zone_response.py +20 -0
- hyperfluid/models/changelog_entry_response.py +32 -0
- hyperfluid/models/channel_body.py +28 -0
- hyperfluid/models/channel_kind.py +18 -0
- hyperfluid/models/chart_encodings.py +25 -0
- hyperfluid/models/chart_options.py +39 -0
- hyperfluid/models/chart_type.py +25 -0
- hyperfluid/models/check_image_source_response.py +15 -0
- hyperfluid/models/check_name_availability_response_data.py +13 -0
- hyperfluid/models/check_organization_name_availability_response_data.py +13 -0
- hyperfluid/models/checkout_request.py +18 -0
- hyperfluid/models/classification_config.py +49 -0
- hyperfluid/models/classification_stats_response.py +37 -0
- hyperfluid/models/cli_version_response.py +13 -0
- hyperfluid/models/clone_iceberg_table_request_body.py +19 -0
- hyperfluid/models/commit_request.py +13 -0
- hyperfluid/models/commit_response.py +13 -0
- hyperfluid/models/comparator.py +15 -0
- hyperfluid/models/complete_managed_postgresql_import_upload_request_body.py +24 -0
- hyperfluid/models/complete_multipart_upload_request.py +24 -0
- hyperfluid/models/completed_part_info.py +17 -0
- hyperfluid/models/compute_dock_crd_partition.py +27 -0
- hyperfluid/models/compute_dock_crd_spec_response.py +41 -0
- hyperfluid/models/compute_dock_partition_status.py +27 -0
- hyperfluid/models/compute_dock_response.py +47 -0
- hyperfluid/models/compute_engine_input.py +15 -0
- hyperfluid/models/condition.py +36 -0
- hyperfluid/models/condition_principal_attribute_equals_variant.py +21 -0
- hyperfluid/models/condition_request_attribute_equals_variant.py +20 -0
- hyperfluid/models/condition_view.py +29 -0
- hyperfluid/models/configuration_model.py +15 -0
- hyperfluid/models/connector_descriptor_response.py +30 -0
- hyperfluid/models/console_authz_decision_log.py +52 -0
- hyperfluid/models/console_config_feature_flag.py +48 -0
- hyperfluid/models/console_session_phase.py +15 -0
- hyperfluid/models/container_app_crd_spec_response.py +168 -0
- hyperfluid/models/container_app_image_synced_log.py +35 -0
- hyperfluid/models/container_app_metrics.py +22 -0
- hyperfluid/models/container_app_platform_url_response.py +24 -0
- hyperfluid/models/container_app_pod_info.py +60 -0
- hyperfluid/models/container_app_port_input.py +31 -0
- hyperfluid/models/container_app_port_response.py +29 -0
- hyperfluid/models/container_app_response.py +72 -0
- hyperfluid/models/container_app_usage_dto.py +44 -0
- hyperfluid/models/container_app_volume_usage_dto.py +38 -0
- hyperfluid/models/container_app_volumes_response.py +21 -0
- hyperfluid/models/container_apps_usage_response.py +26 -0
- hyperfluid/models/container_row.py +44 -0
- hyperfluid/models/context_provider_response.py +37 -0
- hyperfluid/models/contextual_restriction_response.py +36 -0
- hyperfluid/models/copilot_generate_request.py +39 -0
- hyperfluid/models/copilot_generate_response.py +23 -0
- hyperfluid/models/copilot_repair_context.py +20 -0
- hyperfluid/models/copilot_turn.py +18 -0
- hyperfluid/models/copilot_widget_proposal.py +25 -0
- hyperfluid/models/copy_destination_config.py +40 -0
- hyperfluid/models/copy_destination_config_data_container_variant.py +21 -0
- hyperfluid/models/copy_destination_config_harbor_bucket_variant.py +24 -0
- hyperfluid/models/copy_s3_source_config.py +36 -0
- hyperfluid/models/copy_s3_source_config_data_container_variant.py +21 -0
- hyperfluid/models/copy_s3_source_config_harbor_bucket_variant.py +24 -0
- hyperfluid/models/copy_source_config.py +23 -0
- hyperfluid/models/count_ref_request.py +29 -0
- hyperfluid/models/count_secrets_response.py +13 -0
- hyperfluid/models/crd_owner.py +32 -0
- hyperfluid/models/crd_owner_gitops_variant.py +23 -0
- hyperfluid/models/crd_owner_pipeline_variant.py +18 -0
- hyperfluid/models/crd_owner_ui_variant.py +14 -0
- hyperfluid/models/crd_owner_unknown_variant.py +15 -0
- hyperfluid/models/crd_status_snapshot.py +39 -0
- hyperfluid/models/create_action_type_request.py +29 -0
- hyperfluid/models/create_ai_agent_request.py +89 -0
- hyperfluid/models/create_airflow_connection_request.py +56 -0
- hyperfluid/models/create_airflow_crd_request_body.py +60 -0
- hyperfluid/models/create_api_key_request.py +24 -0
- hyperfluid/models/create_api_key_response.py +27 -0
- hyperfluid/models/create_app_instance_crd_request_body.py +26 -0
- hyperfluid/models/create_backup_target_crd_request_body.py +36 -0
- hyperfluid/models/create_compute_dock_crd_request_body.py +68 -0
- hyperfluid/models/create_connector_ingest_request.py +38 -0
- hyperfluid/models/create_container_app_crd_request_body.py +128 -0
- hyperfluid/models/create_context_enricher_pipeline_request.py +27 -0
- hyperfluid/models/create_context_provider_body.py +24 -0
- hyperfluid/models/create_contextual_restriction_body.py +24 -0
- hyperfluid/models/create_copy_pipeline_request.py +23 -0
- hyperfluid/models/create_dashboard_request.py +31 -0
- hyperfluid/models/create_data_dock_catalog_request.py +63 -0
- hyperfluid/models/create_data_dock_catalog_response.py +19 -0
- hyperfluid/models/create_data_dock_request_body.py +24 -0
- hyperfluid/models/create_dev_workstation_request.py +116 -0
- hyperfluid/models/create_domain_verification_request_body.py +15 -0
- hyperfluid/models/create_faker_schema_request.py +15 -0
- hyperfluid/models/create_faker_table_request.py +15 -0
- hyperfluid/models/create_faker_table_structured_request.py +19 -0
- hyperfluid/models/create_file_router_pipeline_request.py +26 -0
- hyperfluid/models/create_file_sorter_request.py +32 -0
- hyperfluid/models/create_forgejo_runner_request.py +48 -0
- hyperfluid/models/create_g_drive_pipeline_request.py +33 -0
- hyperfluid/models/create_github_connection_request.py +27 -0
- hyperfluid/models/create_github_runner_request.py +63 -0
- hyperfluid/models/create_grant_request_body.py +34 -0
- hyperfluid/models/create_group_request_body.py +16 -0
- hyperfluid/models/create_harbor_crd_request_body.py +15 -0
- hyperfluid/models/create_hf_bucket_request.py +30 -0
- hyperfluid/models/create_hf_key_value_cache_crd_request_body.py +38 -0
- hyperfluid/models/create_iceberg_data_container_request_body.py +21 -0
- hyperfluid/models/create_iceberg_table_metadata_request.py +42 -0
- hyperfluid/models/create_identity_provider_request.py +31 -0
- hyperfluid/models/create_inbound_email_pipeline_request.py +36 -0
- hyperfluid/models/create_invitation_request.py +16 -0
- hyperfluid/models/create_kafka_hf_service_request.py +33 -0
- hyperfluid/models/create_kafka_hf_topic_request.py +20 -0
- hyperfluid/models/create_link_type_request.py +28 -0
- hyperfluid/models/create_managed_postgresql_backup_crd_request_body.py +17 -0
- hyperfluid/models/create_managed_postgresql_crd_request_body.py +62 -0
- hyperfluid/models/create_managed_postgresql_import_crd_request_body.py +33 -0
- hyperfluid/models/create_managed_postgresql_user_crd_request_body.py +29 -0
- hyperfluid/models/create_medallion_schema_request.py +19 -0
- hyperfluid/models/create_model_serving_request.py +35 -0
- hyperfluid/models/create_nextflow_crd_request_body.py +53 -0
- hyperfluid/models/create_object_type_request.py +34 -0
- hyperfluid/models/create_open_data_pipeline_request.py +23 -0
- hyperfluid/models/create_or_update_egress_allowlist_request.py +24 -0
- hyperfluid/models/create_organization_policy_request_body.py +29 -0
- hyperfluid/models/create_organization_request_body.py +17 -0
- hyperfluid/models/create_page_splitter_pipeline_request.py +22 -0
- hyperfluid/models/create_pipeline_request_v2.py +71 -0
- hyperfluid/models/create_pipeline_request_v2_context_enricher_variant.py +25 -0
- hyperfluid/models/create_pipeline_request_v2_copy_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_file_router_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_file_sorter_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_inbound_email_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_open_data_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_page_splitter_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_share_point_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2_trino_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2g_drive_variant.py +21 -0
- hyperfluid/models/create_pipeline_request_v2s3_copy_variant.py +21 -0
- hyperfluid/models/create_postgresql_data_container_request_body.py +23 -0
- hyperfluid/models/create_property_definition_request.py +25 -0
- hyperfluid/models/create_ref_request.py +24 -0
- hyperfluid/models/create_registry_project_request_body.py +16 -0
- hyperfluid/models/create_s3_copy_pipeline_request.py +23 -0
- hyperfluid/models/create_saved_query_request.py +36 -0
- hyperfluid/models/create_secret_request_body.py +35 -0
- hyperfluid/models/create_service_account_crd_request_body.py +38 -0
- hyperfluid/models/create_service_link_request_body.py +24 -0
- hyperfluid/models/create_session_request.py +20 -0
- hyperfluid/models/create_session_response.py +24 -0
- hyperfluid/models/create_share_point_pipeline_request.py +41 -0
- hyperfluid/models/create_signup_request_body.py +31 -0
- hyperfluid/models/create_signup_request_response.py +14 -0
- hyperfluid/models/create_skill_registry_request.py +34 -0
- hyperfluid/models/create_skill_request.py +21 -0
- hyperfluid/models/create_support_message_request.py +14 -0
- hyperfluid/models/create_support_ticket_request.py +37 -0
- hyperfluid/models/create_table_classification_body.py +25 -0
- hyperfluid/models/create_trino_pipeline_request.py +36 -0
- hyperfluid/models/create_user.py +22 -0
- hyperfluid/models/create_virtual_machine_crd_request_body.py +42 -0
- hyperfluid/models/create_virtual_machine_user_crd_request_body.py +24 -0
- hyperfluid/models/create_workstation_template_request.py +60 -0
- hyperfluid/models/credential_location.py +17 -0
- hyperfluid/models/credit_balance.py +24 -0
- hyperfluid/models/credit_budgets_response.py +17 -0
- hyperfluid/models/credit_ledger_line.py +39 -0
- hyperfluid/models/credit_ledger_response.py +19 -0
- hyperfluid/models/credit_spend_by_model.py +17 -0
- hyperfluid/models/credit_spend_by_model_response.py +17 -0
- hyperfluid/models/custom_domain_availability_response.py +39 -0
- hyperfluid/models/custom_domain_dns_record.py +20 -0
- hyperfluid/models/custom_domain_holder.py +25 -0
- hyperfluid/models/custom_domain_input.py +23 -0
- hyperfluid/models/custom_domain_response.py +37 -0
- hyperfluid/models/custom_domain_target_response.py +17 -0
- hyperfluid/models/custom_domain_tls_mode_input.py +15 -0
- hyperfluid/models/custom_flavor_bounds_dto.py +23 -0
- hyperfluid/models/custom_metric_names_response.py +18 -0
- hyperfluid/models/custom_metric_series_dto.py +24 -0
- hyperfluid/models/custom_metrics_query_request.py +21 -0
- hyperfluid/models/custom_metrics_query_response.py +31 -0
- hyperfluid/models/custom_resource_input.py +27 -0
- hyperfluid/models/dashboard.py +51 -0
- hyperfluid/models/dashboard_status.py +16 -0
- hyperfluid/models/dashboard_summary.py +42 -0
- hyperfluid/models/dashboard_variable.py +29 -0
- hyperfluid/models/dashboard_version_summary.py +23 -0
- hyperfluid/models/dashboard_widget.py +52 -0
- hyperfluid/models/data_access_baseline.py +17 -0
- hyperfluid/models/data_container_overview.py +20 -0
- hyperfluid/models/data_dock.py +72 -0
- hyperfluid/models/data_dock_catalog_info.py +30 -0
- hyperfluid/models/data_dock_catalog_kind.py +36 -0
- hyperfluid/models/data_dock_external_response_data.py +40 -0
- hyperfluid/models/data_dock_internet_exposure_response.py +33 -0
- hyperfluid/models/data_dock_kind.py +18 -0
- hyperfluid/models/data_dock_kind_external_response.py +20 -0
- hyperfluid/models/data_dock_kind_external_response_trino_internal_variant.py +19 -0
- hyperfluid/models/data_dock_kind_request.py +20 -0
- hyperfluid/models/data_dock_kind_request_trino_internal_variant.py +19 -0
- hyperfluid/models/data_dock_kind_trino_internal_variant.py +19 -0
- hyperfluid/models/data_dock_resource_groups_response.py +26 -0
- hyperfluid/models/data_dock_search_request.py +43 -0
- hyperfluid/models/data_dock_search_response.py +21 -0
- hyperfluid/models/data_dock_search_result_item.py +21 -0
- hyperfluid/models/data_dock_security_settings_response.py +45 -0
- hyperfluid/models/data_dock_status.py +21 -0
- hyperfluid/models/data_dock_type.py +16 -0
- hyperfluid/models/data_verb.py +32 -0
- hyperfluid/models/data_verb_decision.py +22 -0
- hyperfluid/models/declared_link.py +26 -0
- hyperfluid/models/declared_network.py +29 -0
- hyperfluid/models/deduping_strategy.py +21 -0
- hyperfluid/models/delete_directory_response.py +14 -0
- hyperfluid/models/delete_prefix_result.py +28 -0
- hyperfluid/models/delete_preview_downstream.py +23 -0
- hyperfluid/models/delete_preview_response.py +42 -0
- hyperfluid/models/delete_warning.py +19 -0
- hyperfluid/models/destination_config.py +22 -0
- hyperfluid/models/detach_image_source_request.py +25 -0
- hyperfluid/models/dev_workstation_audit_status.py +30 -0
- hyperfluid/models/dev_workstation_egress_flows_response.py +21 -0
- hyperfluid/models/dev_workstation_egress_response.py +26 -0
- hyperfluid/models/dev_workstation_metrics.py +33 -0
- hyperfluid/models/dev_workstation_network_response.py +19 -0
- hyperfluid/models/dev_workstation_response.py +58 -0
- hyperfluid/models/dev_workstation_setup_report_response.py +36 -0
- hyperfluid/models/dev_workstation_status_response.py +23 -0
- hyperfluid/models/dev_workstation_transcript_entry.py +25 -0
- hyperfluid/models/discard_request.py +14 -0
- hyperfluid/models/domain_verification_response.py +61 -0
- hyperfluid/models/domain_verification_state_dto.py +15 -0
- hyperfluid/models/downgrade_offer.py +17 -0
- hyperfluid/models/download_service_account_response.py +50 -0
- hyperfluid/models/duplicate_dashboard_request.py +14 -0
- hyperfluid/models/dynamic_label.py +23 -0
- hyperfluid/models/dynamic_label_placeholder.py +24 -0
- hyperfluid/models/effect.py +16 -0
- hyperfluid/models/effective_data_access_response.py +28 -0
- hyperfluid/models/effective_security_settings_response.py +43 -0
- hyperfluid/models/egress_allowlist_response.py +26 -0
- hyperfluid/models/egress_destination_kind_dto.py +16 -0
- hyperfluid/models/egress_flow_summary_dto.py +32 -0
- hyperfluid/models/egress_verdict_dto.py +15 -0
- hyperfluid/models/email_auth_policy.py +19 -0
- hyperfluid/models/enable_sql_engine_request.py +53 -0
- hyperfluid/models/enable_sql_engine_response.py +29 -0
- hyperfluid/models/engine.py +16 -0
- hyperfluid/models/env_var_input.py +15 -0
- hyperfluid/models/env_var_spec_response.py +15 -0
- hyperfluid/models/environment_map_node.py +29 -0
- hyperfluid/models/environment_map_response.py +21 -0
- hyperfluid/models/execute_action_request.py +21 -0
- hyperfluid/models/execute_request.py +27 -0
- hyperfluid/models/exposed_table_ref.py +15 -0
- hyperfluid/models/exposure_mode.py +19 -0
- hyperfluid/models/faker_field_type.py +21 -0
- hyperfluid/models/faker_schema_overview.py +23 -0
- hyperfluid/models/faker_table_field_options.py +13 -0
- hyperfluid/models/faker_table_fields.py +23 -0
- hyperfluid/models/faker_table_overview.py +31 -0
- hyperfluid/models/faker_table_template.py +19 -0
- hyperfluid/models/file_content.py +31 -0
- hyperfluid/models/file_import_result.py +33 -0
- hyperfluid/models/file_mount_input.py +26 -0
- hyperfluid/models/file_mount_response.py +24 -0
- hyperfluid/models/file_mount_source_input.py +29 -0
- hyperfluid/models/file_mount_source_input_inline_variant.py +17 -0
- hyperfluid/models/file_mount_source_input_secret_manager_variant.py +17 -0
- hyperfluid/models/file_mount_source_response.py +32 -0
- hyperfluid/models/file_mount_source_response_inline_variant.py +18 -0
- hyperfluid/models/file_mount_source_response_secret_manager_variant.py +17 -0
- hyperfluid/models/file_preview.py +25 -0
- hyperfluid/models/file_sorter_destination_config.py +18 -0
- hyperfluid/models/file_sorter_routing_config.py +17 -0
- hyperfluid/models/file_sorter_source_config.py +40 -0
- hyperfluid/models/file_sorter_source_config_data_container_variant.py +21 -0
- hyperfluid/models/file_sorter_source_config_harbor_bucket_variant.py +24 -0
- hyperfluid/models/finding.py +27 -0
- hyperfluid/models/fixable_counts.py +17 -0
- hyperfluid/models/flow_direction.py +15 -0
- hyperfluid/models/flow_verdict.py +15 -0
- hyperfluid/models/forgejo_repo_entry.py +24 -0
- hyperfluid/models/forgejo_runner_response.py +57 -0
- hyperfluid/models/forgejo_runner_status_response.py +39 -0
- hyperfluid/models/g_drive_extraction_config.py +30 -0
- hyperfluid/models/g_drive_extraction_type.py +15 -0
- hyperfluid/models/g_drive_source_config.py +33 -0
- hyperfluid/models/gc_status_response.py +26 -0
- hyperfluid/models/generate_ontology_request.py +36 -0
- hyperfluid/models/get_console_config_response.py +73 -0
- hyperfluid/models/get_faker_field_types_response.py +20 -0
- hyperfluid/models/get_faker_schema_response.py +17 -0
- hyperfluid/models/get_faker_table_response.py +17 -0
- hyperfluid/models/get_faker_tables_response.py +17 -0
- hyperfluid/models/get_run_response.py +17 -0
- hyperfluid/models/git_diff.py +23 -0
- hyperfluid/models/git_file_status.py +17 -0
- hyperfluid/models/git_image_source.py +54 -0
- hyperfluid/models/git_provider.py +16 -0
- hyperfluid/models/git_ref.py +27 -0
- hyperfluid/models/git_ref_branch_variant.py +16 -0
- hyperfluid/models/git_ref_tag_variant.py +16 -0
- hyperfluid/models/git_repo_status.py +35 -0
- hyperfluid/models/github_connection_credential_dto.py +36 -0
- hyperfluid/models/github_connection_credential_dto_github_app_variant.py +31 -0
- hyperfluid/models/github_connection_credential_dto_pat_variant.py +19 -0
- hyperfluid/models/github_connection_response.py +23 -0
- hyperfluid/models/github_connection_target.py +40 -0
- hyperfluid/models/github_connection_target_kind.py +15 -0
- hyperfluid/models/github_runner_egress_mode_dto.py +16 -0
- hyperfluid/models/github_runner_pool_egress_flows_response.py +36 -0
- hyperfluid/models/github_runner_response.py +69 -0
- hyperfluid/models/github_runner_scope.py +22 -0
- hyperfluid/models/github_runner_scope_org_variant.py +18 -0
- hyperfluid/models/github_runner_scope_repo_variant.py +21 -0
- hyperfluid/models/github_runner_status_response.py +43 -0
- hyperfluid/models/gpu_availability_response.py +39 -0
- hyperfluid/models/gpu_consumer_view.py +34 -0
- hyperfluid/models/gpu_fleet_summary.py +31 -0
- hyperfluid/models/gpu_node_view.py +55 -0
- hyperfluid/models/gpu_resources_response.py +21 -0
- hyperfluid/models/grant.py +47 -0
- hyperfluid/models/group.py +28 -0
- hyperfluid/models/group_member.py +23 -0
- hyperfluid/models/harbor.py +30 -0
- hyperfluid/models/harbor_network_isolation_response.py +17 -0
- hyperfluid/models/harbor_posture.py +34 -0
- hyperfluid/models/harbor_ref.py +19 -0
- hyperfluid/models/harbor_storage_binding_view.py +54 -0
- hyperfluid/models/health_thresholds.py +23 -0
- hyperfluid/models/hf_bucket_detail.py +110 -0
- hyperfluid/models/hf_bucket_view.py +70 -0
- hyperfluid/models/hf_collumn.py +19 -0
- hyperfluid/models/hf_data_type.py +23 -0
- hyperfluid/models/hf_key_value_cache_crd_spec_response.py +23 -0
- hyperfluid/models/hf_key_value_cache_response.py +47 -0
- hyperfluid/models/hf_table.py +26 -0
- hyperfluid/models/histogram_bucket_dto.py +20 -0
- hyperfluid/models/iceberg_column_definition.py +19 -0
- hyperfluid/models/iceberg_connector_data_container.py +20 -0
- hyperfluid/models/iceberg_health_report.py +24 -0
- hyperfluid/models/iceberg_health_scan.py +35 -0
- hyperfluid/models/iceberg_health_summary.py +47 -0
- hyperfluid/models/iceberg_optimize_config.py +62 -0
- hyperfluid/models/iceberg_optimize_run.py +63 -0
- hyperfluid/models/iceberg_optimize_runs_page.py +29 -0
- hyperfluid/models/iceberg_optimize_summary.py +51 -0
- hyperfluid/models/iceberg_schema_metadata.py +46 -0
- hyperfluid/models/iceberg_table_health.py +91 -0
- hyperfluid/models/iceberg_table_metadata.py +27 -0
- hyperfluid/models/iceberg_table_response_data.py +47 -0
- hyperfluid/models/identity_provider.py +30 -0
- hyperfluid/models/identity_provider_kind.py +16 -0
- hyperfluid/models/image_posture.py +37 -0
- hyperfluid/models/image_ref.py +16 -0
- hyperfluid/models/image_scan.py +52 -0
- hyperfluid/models/image_scan_detail.py +55 -0
- hyperfluid/models/image_source.py +18 -0
- hyperfluid/models/image_source_error.py +19 -0
- hyperfluid/models/image_source_status.py +72 -0
- hyperfluid/models/image_source_syncs_page.py +21 -0
- hyperfluid/models/imap_transport_config.py +46 -0
- hyperfluid/models/import_api_extra_filter.py +17 -0
- hyperfluid/models/import_column_type.py +21 -0
- hyperfluid/models/import_file_format.py +18 -0
- hyperfluid/models/imported_column.py +23 -0
- hyperfluid/models/inbound_email_destination_config.py +35 -0
- hyperfluid/models/inbound_email_destination_config_data_container_variant.py +21 -0
- hyperfluid/models/inbound_email_destination_config_harbor_bucket_variant.py +24 -0
- hyperfluid/models/inbound_email_extraction_config.py +23 -0
- hyperfluid/models/inbound_email_security_config.py +36 -0
- hyperfluid/models/inbound_email_source_config.py +23 -0
- hyperfluid/models/inbound_email_source_config_imap_variant.py +21 -0
- hyperfluid/models/init_container_input.py +38 -0
- hyperfluid/models/init_container_response.py +26 -0
- hyperfluid/models/install_media.py +15 -0
- hyperfluid/models/instance_page.py +28 -0
- hyperfluid/models/instance_usage_dto.py +20 -0
- hyperfluid/models/intended_use.py +15 -0
- hyperfluid/models/internet_exposure_state.py +29 -0
- hyperfluid/models/invitation_identity_provider.py +17 -0
- hyperfluid/models/invitation_preview.py +28 -0
- hyperfluid/models/issue_s3_key_request.py +22 -0
- hyperfluid/models/issue_scoped_s3_key_request.py +31 -0
- hyperfluid/models/issued_s3_key.py +28 -0
- hyperfluid/models/issued_scoped_s3_key.py +37 -0
- hyperfluid/models/kafka_consumer_group.py +19 -0
- hyperfluid/models/kafka_hf_service_response.py +63 -0
- hyperfluid/models/kafka_hf_topic_response.py +39 -0
- hyperfluid/models/kafka_metadata.py +22 -0
- hyperfluid/models/kafka_topic_info.py +21 -0
- hyperfluid/models/kpi_threshold.py +17 -0
- hyperfluid/models/label.py +58 -0
- hyperfluid/models/label_type_dynamic_variant.py +21 -0
- hyperfluid/models/label_type_static_variant.py +14 -0
- hyperfluid/models/launch_nextflow_run_request_body.py +40 -0
- hyperfluid/models/link_forgejo_credential_request.py +16 -0
- hyperfluid/models/link_forgejo_credential_response.py +20 -0
- hyperfluid/models/link_type.py +40 -0
- hyperfluid/models/list_audit_log_item.py +43 -0
- hyperfluid/models/list_changelogs_response.py +18 -0
- hyperfluid/models/list_connectors_response.py +17 -0
- hyperfluid/models/list_context_providers_response.py +17 -0
- hyperfluid/models/list_contextual_restrictions_response.py +17 -0
- hyperfluid/models/list_quota_profiles_response.py +17 -0
- hyperfluid/models/list_runs_response.py +17 -0
- hyperfluid/models/list_secrets_response.py +26 -0
- hyperfluid/models/list_security_decisions_response.py +17 -0
- hyperfluid/models/list_service_accounts_response_data.py +17 -0
- hyperfluid/models/list_table_classifications_response.py +17 -0
- hyperfluid/models/list_user_attributes_response.py +14 -0
- hyperfluid/models/live_audit_log.py +24 -0
- hyperfluid/models/log_entry_dto.py +25 -0
- hyperfluid/models/log_level.py +23 -0
- hyperfluid/models/log_source_dto.py +19 -0
- hyperfluid/models/log_stream.py +16 -0
- hyperfluid/models/managed_mail_config_response.py +22 -0
- hyperfluid/models/managed_postgresql_backup_crd_response.py +31 -0
- hyperfluid/models/managed_postgresql_backup_response.py +59 -0
- hyperfluid/models/managed_postgresql_backups_page.py +23 -0
- hyperfluid/models/managed_postgresql_crd_spec_response.py +41 -0
- hyperfluid/models/managed_postgresql_import_compression.py +15 -0
- hyperfluid/models/managed_postgresql_import_condition.py +19 -0
- hyperfluid/models/managed_postgresql_import_crd_response.py +50 -0
- hyperfluid/models/managed_postgresql_import_created_log.py +43 -0
- hyperfluid/models/managed_postgresql_import_format.py +17 -0
- hyperfluid/models/managed_postgresql_import_phase.py +22 -0
- hyperfluid/models/managed_postgresql_import_response.py +73 -0
- hyperfluid/models/managed_postgresql_import_upload.py +28 -0
- hyperfluid/models/managed_postgresql_import_upload_multipart_variant.py +24 -0
- hyperfluid/models/managed_postgresql_import_upload_simple_variant.py +16 -0
- hyperfluid/models/managed_postgresql_imports_page.py +23 -0
- hyperfluid/models/managed_postgresql_response.py +95 -0
- hyperfluid/models/managed_postgresql_user_crd_spec_response.py +17 -0
- hyperfluid/models/managed_postgresql_user_response.py +40 -0
- hyperfluid/models/map_badge.py +38 -0
- hyperfluid/models/matching_tag.py +15 -0
- hyperfluid/models/medallion_tier.py +16 -0
- hyperfluid/models/message_attachment.py +25 -0
- hyperfluid/models/message_author_kind.py +19 -0
- hyperfluid/models/message_part.py +36 -0
- hyperfluid/models/message_part_file_variant.py +35 -0
- hyperfluid/models/message_part_patch_variant.py +19 -0
- hyperfluid/models/message_part_reasoning_variant.py +19 -0
- hyperfluid/models/message_part_text_variant.py +20 -0
- hyperfluid/models/message_part_tool_variant.py +38 -0
- hyperfluid/models/message_role.py +17 -0
- hyperfluid/models/metadata_storage_config.py +21 -0
- hyperfluid/models/metric_panel_dto.py +27 -0
- hyperfluid/models/metric_point_dto.py +15 -0
- hyperfluid/models/metric_series_dto.py +19 -0
- hyperfluid/models/metrics_range.py +23 -0
- hyperfluid/models/model_catalog_response.py +21 -0
- hyperfluid/models/model_config.py +31 -0
- hyperfluid/models/model_option.py +50 -0
- hyperfluid/models/model_protocol.py +30 -0
- hyperfluid/models/model_resources.py +20 -0
- hyperfluid/models/model_runtime.py +16 -0
- hyperfluid/models/model_serving_phase.py +21 -0
- hyperfluid/models/model_serving_response.py +60 -0
- hyperfluid/models/model_type.py +16 -0
- hyperfluid/models/model_usage.py +19 -0
- hyperfluid/models/model_usage_time_point.py +24 -0
- hyperfluid/models/multipart_part_url.py +15 -0
- hyperfluid/models/network_isolation_view.py +17 -0
- hyperfluid/models/nextflow_crd_response.py +40 -0
- hyperfluid/models/nextflow_crd_status_response.py +33 -0
- hyperfluid/models/nextflow_defaults_response.py +50 -0
- hyperfluid/models/nextflow_egress_request.py +20 -0
- hyperfluid/models/nextflow_head_request.py +15 -0
- hyperfluid/models/nextflow_pod_role.py +20 -0
- hyperfluid/models/nextflow_response.py +54 -0
- hyperfluid/models/nextflow_run_counts_response.py +17 -0
- hyperfluid/models/nextflow_run_detail_response.py +67 -0
- hyperfluid/models/nextflow_run_response.py +49 -0
- hyperfluid/models/nextflow_run_task_response.py +43 -0
- hyperfluid/models/nextflow_scm_platform.py +20 -0
- hyperfluid/models/nextflow_scm_request.py +26 -0
- hyperfluid/models/nextflow_storage_request.py +20 -0
- hyperfluid/models/nextflow_task_quota_request.py +18 -0
- hyperfluid/models/node_tier.py +22 -0
- hyperfluid/models/normalized_message.py +55 -0
- hyperfluid/models/notification_channel_dto.py +36 -0
- hyperfluid/models/object_delete_failure.py +18 -0
- hyperfluid/models/object_instance.py +24 -0
- hyperfluid/models/object_storage_owner_key_revealed_log.py +28 -0
- hyperfluid/models/object_storage_usage_collected_log.py +34 -0
- hyperfluid/models/object_type.py +51 -0
- hyperfluid/models/object_type_with_properties.py +21 -0
- hyperfluid/models/observed_flow.py +30 -0
- hyperfluid/models/observed_flows.py +25 -0
- hyperfluid/models/oci_registry_auth.py +17 -0
- hyperfluid/models/oci_registry_config_value.py +17 -0
- hyperfluid/models/ocr_provider_config.py +22 -0
- hyperfluid/models/ocr_provider_config_local_variant.py +29 -0
- hyperfluid/models/ocr_provider_config_mistral_variant.py +14 -0
- hyperfluid/models/ontology_proposal.py +24 -0
- hyperfluid/models/opa_decision_log.py +50 -0
- hyperfluid/models/open_data_catalog_response.py +17 -0
- hyperfluid/models/open_data_column_response.py +17 -0
- hyperfluid/models/open_data_dataset_response.py +35 -0
- hyperfluid/models/open_data_source_config.py +14 -0
- hyperfluid/models/org.py +36 -0
- hyperfluid/models/org_feature.py +49 -0
- hyperfluid/models/org_feature_state.py +19 -0
- hyperfluid/models/org_features_response.py +17 -0
- hyperfluid/models/org_posture.py +40 -0
- hyperfluid/models/org_ref.py +16 -0
- hyperfluid/models/org_rescan_request_body.py +29 -0
- hyperfluid/models/org_security_policies_response.py +17 -0
- hyperfluid/models/org_security_policy_state.py +20 -0
- hyperfluid/models/org_security_settings_response.py +27 -0
- hyperfluid/models/org_storage_view.py +52 -0
- hyperfluid/models/org_user_attributes_response.py +18 -0
- hyperfluid/models/org_workload_scan_settings_response.py +17 -0
- hyperfluid/models/organization_invitation.py +37 -0
- hyperfluid/models/organization_overview_response.py +48 -0
- hyperfluid/models/organization_policy.py +42 -0
- hyperfluid/models/organization_quota_response.py +23 -0
- hyperfluid/models/organization_workload_view.py +40 -0
- hyperfluid/models/panel_kind.py +15 -0
- hyperfluid/models/partition_input.py +35 -0
- hyperfluid/models/patch_airflow_connection_request.py +36 -0
- hyperfluid/models/patch_airflow_crd_request_body.py +44 -0
- hyperfluid/models/patch_app_instance_request_body.py +18 -0
- hyperfluid/models/patch_backup_target_crd_request_body.py +26 -0
- hyperfluid/models/patch_compute_dock_crd_request_body.py +43 -0
- hyperfluid/models/patch_compute_dock_crd_response.py +21 -0
- hyperfluid/models/patch_container_app_crd_request_body.py +153 -0
- hyperfluid/models/patch_container_app_request_body.py +25 -0
- hyperfluid/models/patch_harbor_storage_binding_request.py +15 -0
- hyperfluid/models/patch_hf_bucket_request.py +23 -0
- hyperfluid/models/patch_hf_key_value_cache_crd_request_body.py +32 -0
- hyperfluid/models/patch_managed_postgresql_crd_request_body.py +44 -0
- hyperfluid/models/patch_managed_postgresql_user_crd_request_body.py +23 -0
- hyperfluid/models/patch_model_serving_request.py +22 -0
- hyperfluid/models/patch_nextflow_crd_request_body.py +73 -0
- hyperfluid/models/patch_org_storage_request.py +24 -0
- hyperfluid/models/patch_virtual_machine_crd_request_body.py +24 -0
- hyperfluid/models/pending_permission.py +32 -0
- hyperfluid/models/pending_question.py +36 -0
- hyperfluid/models/permission_action.py +18 -0
- hyperfluid/models/permission_catalog_entry.py +23 -0
- hyperfluid/models/permission_key.py +398 -0
- hyperfluid/models/permission_level.py +15 -0
- hyperfluid/models/permission_policy_view.py +27 -0
- hyperfluid/models/permission_reply.py +19 -0
- hyperfluid/models/permission_reply_request.py +20 -0
- hyperfluid/models/persistence_access.py +16 -0
- hyperfluid/models/persistence_input.py +36 -0
- hyperfluid/models/persistence_response.py +25 -0
- hyperfluid/models/pipeline_detail_field.py +26 -0
- hyperfluid/models/pipeline_detail_group.py +34 -0
- hyperfluid/models/pipeline_detail_response.py +42 -0
- hyperfluid/models/pipeline_field_reference.py +44 -0
- hyperfluid/models/pipeline_field_reference_bucket_variant.py +16 -0
- hyperfluid/models/pipeline_field_reference_credential_variant.py +28 -0
- hyperfluid/models/pipeline_field_reference_shared_model_variant.py +16 -0
- hyperfluid/models/pipeline_field_reference_table_variant.py +21 -0
- hyperfluid/models/pipeline_metadata.py +49 -0
- hyperfluid/models/pipeline_response_data.py +36 -0
- hyperfluid/models/pipeline_run.py +62 -0
- hyperfluid/models/pipeline_run_status.py +19 -0
- hyperfluid/models/pipeline_stats.py +21 -0
- hyperfluid/models/pipeline_status_filter.py +17 -0
- hyperfluid/models/pipeline_type.py +40 -0
- hyperfluid/models/pipeline_type_count.py +17 -0
- hyperfluid/models/pipelines_page.py +30 -0
- hyperfluid/models/pipelines_stats.py +36 -0
- hyperfluid/models/pitr_request.py +38 -0
- hyperfluid/models/platform.py +17 -0
- hyperfluid/models/platform_admin_action_log.py +23 -0
- hyperfluid/models/policy_preset.py +23 -0
- hyperfluid/models/port_protocol.py +16 -0
- hyperfluid/models/post_message_request.py +32 -0
- hyperfluid/models/postgresql_connector_detail.py +33 -0
- hyperfluid/models/pr_checks.py +17 -0
- hyperfluid/models/pr_request.py +15 -0
- hyperfluid/models/pr_response.py +27 -0
- hyperfluid/models/pr_summary.py +35 -0
- hyperfluid/models/prepare_archive_import_request.py +23 -0
- hyperfluid/models/prepare_archive_import_response.py +26 -0
- hyperfluid/models/prepare_archive_import_response_multipart_variant.py +29 -0
- hyperfluid/models/prepare_archive_import_response_simple_variant.py +18 -0
- hyperfluid/models/prepare_managed_postgresql_import_upload_request_body.py +22 -0
- hyperfluid/models/prepare_managed_postgresql_import_upload_response.py +29 -0
- hyperfluid/models/preview_image_source_request.py +21 -0
- hyperfluid/models/preview_image_source_response.py +36 -0
- hyperfluid/models/preview_port.py +23 -0
- hyperfluid/models/preview_ports_response.py +22 -0
- hyperfluid/models/preview_posture.py +21 -0
- hyperfluid/models/principal_usage.py +29 -0
- hyperfluid/models/principal_usage_time_point.py +30 -0
- hyperfluid/models/property_definition.py +39 -0
- hyperfluid/models/proposed_link_type.py +32 -0
- hyperfluid/models/proposed_object_type.py +30 -0
- hyperfluid/models/proposed_property.py +28 -0
- hyperfluid/models/public_signup_page_copy.py +23 -0
- hyperfluid/models/query_history_entry.py +91 -0
- hyperfluid/models/query_history_page.py +24 -0
- hyperfluid/models/query_result.py +30 -0
- hyperfluid/models/query_result_column.py +15 -0
- hyperfluid/models/query_run.py +30 -0
- hyperfluid/models/query_run_error.py +16 -0
- hyperfluid/models/query_run_status.py +16 -0
- hyperfluid/models/question_info.py +31 -0
- hyperfluid/models/question_option.py +17 -0
- hyperfluid/models/question_reply_request.py +16 -0
- hyperfluid/models/quota_capacity_dimension.py +24 -0
- hyperfluid/models/quota_profile_response.py +61 -0
- hyperfluid/models/quota_resource_type.py +34 -0
- hyperfluid/models/quota_status.py +16 -0
- hyperfluid/models/quota_usage_item_response.py +27 -0
- hyperfluid/models/ref.py +49 -0
- hyperfluid/models/ref_status.py +17 -0
- hyperfluid/models/refresh_credentials_summary.py +23 -0
- hyperfluid/models/refresh_data_docks_response.py +17 -0
- hyperfluid/models/refusal_reason.py +32 -0
- hyperfluid/models/register_invitation_request.py +17 -0
- hyperfluid/models/registry_project_response.py +25 -0
- hyperfluid/models/registry_project_usage_response.py +25 -0
- hyperfluid/models/registry_response.py +51 -0
- hyperfluid/models/registry_usage_response.py +47 -0
- hyperfluid/models/rename_terminal_request.py +15 -0
- hyperfluid/models/requested_size.py +17 -0
- hyperfluid/models/requester_kind.py +21 -0
- hyperfluid/models/rescan_response.py +13 -0
- hyperfluid/models/rescan_scope.py +17 -0
- hyperfluid/models/resolve_failure_reason.py +34 -0
- hyperfluid/models/resolved_grant.py +32 -0
- hyperfluid/models/resolved_image.py +25 -0
- hyperfluid/models/resource_denial_count.py +15 -0
- hyperfluid/models/resource_family.py +18 -0
- hyperfluid/models/resource_kind.py +42 -0
- hyperfluid/models/resource_logs_response.py +49 -0
- hyperfluid/models/resource_metrics_response.py +29 -0
- hyperfluid/models/resource_mode.py +32 -0
- hyperfluid/models/resource_origin.py +19 -0
- hyperfluid/models/resource_overview_response.py +24 -0
- hyperfluid/models/resource_requirements_spec.py +24 -0
- hyperfluid/models/resource_source.py +19 -0
- hyperfluid/models/resource_spec.py +17 -0
- hyperfluid/models/resource_tier.py +46 -0
- hyperfluid/models/resource_tier_catalog_entry.py +38 -0
- hyperfluid/models/resource_tier_catalog_response.py +17 -0
- hyperfluid/models/restart_row.py +40 -0
- hyperfluid/models/restore_from_backup.py +43 -0
- hyperfluid/models/restriction_evaluation_result.py +25 -0
- hyperfluid/models/results_page.py +18 -0
- hyperfluid/models/revoked_s3_key.py +24 -0
- hyperfluid/models/rightsizing_direction.py +16 -0
- hyperfluid/models/rightsizing_suggestion_response.py +51 -0
- hyperfluid/models/role.py +29 -0
- hyperfluid/models/runner_flavor_catalog_entry.py +20 -0
- hyperfluid/models/runner_flavor_catalog_response.py +23 -0
- hyperfluid/models/runner_flavor_dto.py +48 -0
- hyperfluid/models/runner_flavor_dto_c2_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_c3_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_c4_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_c8_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_custom_variant.py +27 -0
- hyperfluid/models/runner_flavor_dto_l_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_m_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_s_variant.py +14 -0
- hyperfluid/models/runner_flavor_dto_xl_variant.py +14 -0
- hyperfluid/models/runner_flavor_name.py +23 -0
- hyperfluid/models/runner_resources_dto.py +23 -0
- hyperfluid/models/runtime_alert_priority.py +31 -0
- hyperfluid/models/runtime_security_alert_log.py +64 -0
- hyperfluid/models/s3_gateway_decision_log.py +53 -0
- hyperfluid/models/s3_gateway_gate_denied_log.py +40 -0
- hyperfluid/models/s3_gateway_session_issued_log.py +32 -0
- hyperfluid/models/s3_key_list_entry.py +61 -0
- hyperfluid/models/s3_session_credentials.py +30 -0
- hyperfluid/models/saved_queries_page.py +30 -0
- hyperfluid/models/saved_query.py +41 -0
- hyperfluid/models/saved_query_sort.py +22 -0
- hyperfluid/models/scan_pipeline_health.py +41 -0
- hyperfluid/models/scan_state.py +22 -0
- hyperfluid/models/scan_status.py +18 -0
- hyperfluid/models/scan_summary.py +28 -0
- hyperfluid/models/scan_trigger.py +18 -0
- hyperfluid/models/schedule_state.py +87 -0
- hyperfluid/models/scheduled_run_status.py +20 -0
- hyperfluid/models/scm_branch.py +15 -0
- hyperfluid/models/scm_repository.py +39 -0
- hyperfluid/models/scoped_bucket_request.py +17 -0
- hyperfluid/models/search_mode.py +27 -0
- hyperfluid/models/secret_manager_ref.py +20 -0
- hyperfluid/models/secret_manager_type.py +14 -0
- hyperfluid/models/secret_metadata_response.py +42 -0
- hyperfluid/models/secret_ref.py +23 -0
- hyperfluid/models/secret_ref_input.py +15 -0
- hyperfluid/models/secret_ref_spec_response.py +15 -0
- hyperfluid/models/secret_scope.py +15 -0
- hyperfluid/models/secret_type.py +19 -0
- hyperfluid/models/secret_value.py +27 -0
- hyperfluid/models/secret_value_json_variant.py +16 -0
- hyperfluid/models/secret_value_oci_registry_config_variant.py +19 -0
- hyperfluid/models/secret_value_plaintext_variant.py +16 -0
- hyperfluid/models/secret_value_response.py +19 -0
- hyperfluid/models/security_decision.py +15 -0
- hyperfluid/models/security_decision_log.py +60 -0
- hyperfluid/models/security_decision_log_response.py +41 -0
- hyperfluid/models/security_policy.py +20 -0
- hyperfluid/models/security_policy_value.py +30 -0
- hyperfluid/models/security_policy_value_bool_variant.py +16 -0
- hyperfluid/models/security_policy_value_choice_variant.py +16 -0
- hyperfluid/models/security_policy_value_string_list_variant.py +16 -0
- hyperfluid/models/security_resource_type.py +19 -0
- hyperfluid/models/security_summary_response.py +26 -0
- hyperfluid/models/sender_pattern.py +14 -0
- hyperfluid/models/sensitivity_level.py +19 -0
- hyperfluid/models/service_account.py +58 -0
- hyperfluid/models/service_account_attributes_response.py +13 -0
- hyperfluid/models/service_account_crd_config.py +37 -0
- hyperfluid/models/service_link_kind.py +35 -0
- hyperfluid/models/service_link_port.py +16 -0
- hyperfluid/models/service_link_response.py +34 -0
- hyperfluid/models/service_ref.py +20 -0
- hyperfluid/models/session_summary.py +36 -0
- hyperfluid/models/session_workspace.py +19 -0
- hyperfluid/models/session_workspace_request.py +25 -0
- hyperfluid/models/set_api_key_rate_limits_request.py +18 -0
- hyperfluid/models/set_bindings_body.py +15 -0
- hyperfluid/models/set_key_budget_body.py +27 -0
- hyperfluid/models/set_org_settings_body.py +13 -0
- hyperfluid/models/set_organization_logs_retention_request_body.py +15 -0
- hyperfluid/models/set_role_permissions_request_body.py +17 -0
- hyperfluid/models/set_service_account_attributes_request.py +15 -0
- hyperfluid/models/set_thresholds_body.py +15 -0
- hyperfluid/models/set_user_attributes_request.py +20 -0
- hyperfluid/models/setup_outcome.py +19 -0
- hyperfluid/models/sha256_hash_deduping_strategy.py +17 -0
- hyperfluid/models/share_point_source_config.py +58 -0
- hyperfluid/models/shared_model_response.py +99 -0
- hyperfluid/models/sheet_preview.py +39 -0
- hyperfluid/models/sign_compute_dock_ssh_key_request.py +15 -0
- hyperfluid/models/sign_compute_dock_ssh_key_response.py +22 -0
- hyperfluid/models/signal_bindings_dto.py +16 -0
- hyperfluid/models/signal_thresholds_dto.py +25 -0
- hyperfluid/models/skill_registry_catalog_entry.py +42 -0
- hyperfluid/models/skill_registry_ref_dto.py +23 -0
- hyperfluid/models/skill_registry_response.py +54 -0
- hyperfluid/models/skill_registry_scope_dto.py +17 -0
- hyperfluid/models/skill_response.py +31 -0
- hyperfluid/models/skipped_preview_port.py +19 -0
- hyperfluid/models/sort_dir.py +15 -0
- hyperfluid/models/source_sync_event.py +47 -0
- hyperfluid/models/source_sync_kind.py +32 -0
- hyperfluid/models/spend_budget.py +35 -0
- hyperfluid/models/spend_window.py +24 -0
- hyperfluid/models/sql_copilot_repair_context.py +20 -0
- hyperfluid/models/sql_copilot_request.py +29 -0
- hyperfluid/models/sql_copilot_response.py +29 -0
- hyperfluid/models/start_health_scan_response.py +17 -0
- hyperfluid/models/storage_zone_view.py +70 -0
- hyperfluid/models/support_ticket_event_response.py +38 -0
- hyperfluid/models/support_ticket_message_response.py +34 -0
- hyperfluid/models/support_ticket_response.py +57 -0
- hyperfluid/models/sync_image_source_request.py +15 -0
- hyperfluid/models/sync_image_source_response.py +21 -0
- hyperfluid/models/sync_policy.py +16 -0
- hyperfluid/models/table_classification_response.py +43 -0
- hyperfluid/models/table_column_response.py +15 -0
- hyperfluid/models/table_data_product_response.py +42 -0
- hyperfluid/models/table_health_finding.py +32 -0
- hyperfluid/models/table_health_finding_kind.py +18 -0
- hyperfluid/models/table_health_severity.py +24 -0
- hyperfluid/models/tag_report.py +28 -0
- hyperfluid/models/tag_response.py +52 -0
- hyperfluid/models/tags_response.py +20 -0
- hyperfluid/models/template_faker_field.py +19 -0
- hyperfluid/models/test_git_credential_request.py +24 -0
- hyperfluid/models/test_git_credential_response.py +25 -0
- hyperfluid/models/test_image_pull_failure.py +32 -0
- hyperfluid/models/test_image_pull_failure_reason.py +20 -0
- hyperfluid/models/test_image_pull_request_body.py +20 -0
- hyperfluid/models/test_image_pull_response.py +31 -0
- hyperfluid/models/test_imap_connection_request.py +45 -0
- hyperfluid/models/test_imap_connection_response.py +15 -0
- hyperfluid/models/test_oci_login_failure.py +23 -0
- hyperfluid/models/test_oci_login_failure_reason.py +16 -0
- hyperfluid/models/test_oci_login_request_body.py +18 -0
- hyperfluid/models/test_oci_login_response.py +24 -0
- hyperfluid/models/test_oci_login_verdict.py +17 -0
- hyperfluid/models/ticket_category.py +22 -0
- hyperfluid/models/ticket_priority.py +18 -0
- hyperfluid/models/ticket_status.py +25 -0
- hyperfluid/models/timeseries_metric.py +16 -0
- hyperfluid/models/tiny_query_limits_response.py +17 -0
- hyperfluid/models/tool_permission.py +20 -0
- hyperfluid/models/top_dimension.py +25 -0
- hyperfluid/models/transfer_dashboard_request.py +15 -0
- hyperfluid/models/trino_catalog.py +19 -0
- hyperfluid/models/trino_connector_descriptor_response.py +47 -0
- hyperfluid/models/trino_internal_config.py +37 -0
- hyperfluid/models/trino_internal_config_response.py +37 -0
- hyperfluid/models/trino_metadata.py +28 -0
- hyperfluid/models/trino_query_completed_log.py +85 -0
- hyperfluid/models/trino_resource_group.py +41 -0
- hyperfluid/models/trino_resource_group_selector.py +38 -0
- hyperfluid/models/trino_resource_groups.py +24 -0
- hyperfluid/models/trino_schema.py +19 -0
- hyperfluid/models/unified_catalog_response.py +35 -0
- hyperfluid/models/unit.py +32 -0
- hyperfluid/models/update_action_type_request.py +30 -0
- hyperfluid/models/update_ai_agent_request.py +59 -0
- hyperfluid/models/update_catalog_exposure_request_body.py +22 -0
- hyperfluid/models/update_context_provider_body.py +20 -0
- hyperfluid/models/update_contextual_restriction_body.py +24 -0
- hyperfluid/models/update_dashboard_request.py +40 -0
- hyperfluid/models/update_data_dock_internet_exposure_request_body.py +19 -0
- hyperfluid/models/update_data_dock_request.py +21 -0
- hyperfluid/models/update_data_dock_request_kind.py +20 -0
- hyperfluid/models/update_data_dock_request_kind_trino_internal_variant.py +19 -0
- hyperfluid/models/update_data_dock_resource_groups_request_body.py +17 -0
- hyperfluid/models/update_data_dock_security_settings_body.py +38 -0
- hyperfluid/models/update_dev_workstation_network_request.py +25 -0
- hyperfluid/models/update_dev_workstation_request.py +27 -0
- hyperfluid/models/update_faker_table_request.py +17 -0
- hyperfluid/models/update_forgejo_runner_request.py +36 -0
- hyperfluid/models/update_g_drive_pipeline_request.py +33 -0
- hyperfluid/models/update_g_drive_source_config.py +32 -0
- hyperfluid/models/update_github_connection_request.py +32 -0
- hyperfluid/models/update_github_runner_request.py +76 -0
- hyperfluid/models/update_group_request_body.py +15 -0
- hyperfluid/models/update_identity_provider_request.py +23 -0
- hyperfluid/models/update_kafka_hf_service_request.py +31 -0
- hyperfluid/models/update_kafka_hf_topic_request.py +22 -0
- hyperfluid/models/update_link_type_request.py +27 -0
- hyperfluid/models/update_object_type_request.py +38 -0
- hyperfluid/models/update_org_security_settings_body.py +19 -0
- hyperfluid/models/update_permission_policy_request.py +23 -0
- hyperfluid/models/update_pipeline_config_request.py +37 -0
- hyperfluid/models/update_pipeline_config_request_g_drive_variant.py +22 -0
- hyperfluid/models/update_pipeline_config_request_share_point_variant.py +22 -0
- hyperfluid/models/update_pipeline_request.py +24 -0
- hyperfluid/models/update_property_definition_request.py +26 -0
- hyperfluid/models/update_ref_request.py +40 -0
- hyperfluid/models/update_saved_query_request.py +47 -0
- hyperfluid/models/update_secret_request_body.py +19 -0
- hyperfluid/models/update_service_account_crd_request_body.py +24 -0
- hyperfluid/models/update_share_point_pipeline_request.py +49 -0
- hyperfluid/models/update_share_point_source_config.py +39 -0
- hyperfluid/models/update_skill_registry_request.py +23 -0
- hyperfluid/models/update_skill_request.py +20 -0
- hyperfluid/models/update_table_classification_body.py +19 -0
- hyperfluid/models/update_ticket_status_request.py +19 -0
- hyperfluid/models/update_workstation_skill_registries_request.py +20 -0
- hyperfluid/models/update_workstation_template_request.py +41 -0
- hyperfluid/models/upload_managed_postgresql_import_response.py +25 -0
- hyperfluid/models/upsert_optimize_config_request.py +40 -0
- hyperfluid/models/usage_source.py +20 -0
- hyperfluid/models/usage_summary.py +19 -0
- hyperfluid/models/user.py +23 -0
- hyperfluid/models/user_attributes_entry.py +18 -0
- hyperfluid/models/user_context_response.py +19 -0
- hyperfluid/models/user_denial_count.py +15 -0
- hyperfluid/models/user_with_roles.py +22 -0
- hyperfluid/models/value.py +6 -0
- hyperfluid/models/value_format.py +17 -0
- hyperfluid/models/verify_signup_request_body.py +13 -0
- hyperfluid/models/version_entry.py +21 -0
- hyperfluid/models/versions_response.py +17 -0
- hyperfluid/models/vetted_base_response.py +14 -0
- hyperfluid/models/virtual_machine_console_session_log.py +40 -0
- hyperfluid/models/virtual_machine_image_catalog.py +18 -0
- hyperfluid/models/virtual_machine_image_catalog_image.py +23 -0
- hyperfluid/models/virtual_machine_image_catalog_source.py +23 -0
- hyperfluid/models/virtual_machine_response.py +68 -0
- hyperfluid/models/virtual_machine_user_response.py +40 -0
- hyperfluid/models/virtual_machine_users_page.py +25 -0
- hyperfluid/models/virtual_machines_page.py +25 -0
- hyperfluid/models/vm_image_kind.py +15 -0
- hyperfluid/models/vulnerability_counts.py +22 -0
- hyperfluid/models/warning_severity.py +18 -0
- hyperfluid/models/widget_chart.py +23 -0
- hyperfluid/models/widget_health.py +21 -0
- hyperfluid/models/widget_layout.py +19 -0
- hyperfluid/models/worker_auto_scaling.py +21 -0
- hyperfluid/models/worker_auto_scaling_response.py +21 -0
- hyperfluid/models/workload_detail.py +29 -0
- hyperfluid/models/workload_kind.py +57 -0
- hyperfluid/models/workload_ref.py +29 -0
- hyperfluid/models/workload_row.py +65 -0
- hyperfluid/models/workload_scan_trigger.py +24 -0
- hyperfluid/models/workspace_mode.py +19 -0
- hyperfluid/models/workstation_agent_request_log.py +51 -0
- hyperfluid/models/workstation_file.py +19 -0
- hyperfluid/models/workstation_preview_session_log.py +33 -0
- hyperfluid/models/workstation_repository_input.py +24 -0
- hyperfluid/models/workstation_repository_response.py +28 -0
- hyperfluid/models/workstation_skill_registries_response.py +17 -0
- hyperfluid/models/workstation_template_response.py +56 -0
- hyperfluid/models/workstation_template_scope_dto.py +16 -0
- hyperfluid/models/workstation_terminal_command_log.py +55 -0
- hyperfluid/models/workstation_tool_dto.py +17 -0
- hyperfluid/models/write_file_request.py +23 -0
- hyperfluid/models/write_file_response.py +15 -0
- hyperfluid/py.typed +0 -0
- hyperfluid/serialization.py +911 -0
- hyperfluid/unions.py +102 -0
- hyperfluid-0.1.0.dist-info/METADATA +165 -0
- hyperfluid-0.1.0.dist-info/RECORD +1300 -0
- hyperfluid-0.1.0.dist-info/WHEEL +4 -0
- hyperfluid-0.1.0.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,1945 @@
|
|
|
1
|
+
# this file is @generated
|
|
2
|
+
"""Petite requete API."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import typing as t
|
|
7
|
+
from uuid import UUID
|
|
8
|
+
|
|
9
|
+
from .. import models as _models
|
|
10
|
+
from ..models import (
|
|
11
|
+
AnalyticsSummary,
|
|
12
|
+
AnalyticsTrends,
|
|
13
|
+
CreateSavedQueryRequest,
|
|
14
|
+
ExecuteRequest,
|
|
15
|
+
QueryHistoryEntry,
|
|
16
|
+
QueryHistoryPage,
|
|
17
|
+
QueryResult,
|
|
18
|
+
QueryRun,
|
|
19
|
+
ResultsPage,
|
|
20
|
+
SavedQueriesPage,
|
|
21
|
+
SavedQuery,
|
|
22
|
+
SavedQuerySort,
|
|
23
|
+
SortDir,
|
|
24
|
+
SqlCopilotRepairContext,
|
|
25
|
+
SqlCopilotRequest,
|
|
26
|
+
SqlCopilotResponse,
|
|
27
|
+
TinyQueryLimitsResponse,
|
|
28
|
+
TrinoMetadata,
|
|
29
|
+
UpdateSavedQueryRequest,
|
|
30
|
+
)
|
|
31
|
+
from ..serialization import UNSET, Unset, to_json_value
|
|
32
|
+
from ._pages import (
|
|
33
|
+
AsyncPetiteRequeteListHarborTinyQueryHistoryPage,
|
|
34
|
+
AsyncPetiteRequeteListHarborTinyQueryQueriesPage,
|
|
35
|
+
PetiteRequeteListHarborTinyQueryHistoryPage,
|
|
36
|
+
PetiteRequeteListHarborTinyQueryQueriesPage,
|
|
37
|
+
)
|
|
38
|
+
from ._pagination import (
|
|
39
|
+
AsyncPaginator,
|
|
40
|
+
PagePaging,
|
|
41
|
+
)
|
|
42
|
+
from ._response import async_to_raw_response_wrapper, to_raw_response_wrapper
|
|
43
|
+
from .common import (
|
|
44
|
+
ApiBaseAsync,
|
|
45
|
+
ApiBaseSync,
|
|
46
|
+
ApiRequest,
|
|
47
|
+
Timeout,
|
|
48
|
+
decode_response,
|
|
49
|
+
encode_path_param,
|
|
50
|
+
serialize_query_params,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AsyncPetiteRequete(ApiBaseAsync):
|
|
55
|
+
"""Petite requete API, for asyncio."""
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def with_raw_response(self) -> AsyncPetiteRequeteWithRawResponse:
|
|
59
|
+
"""These methods, returning an :class:`APIResponse` with the status and headers."""
|
|
60
|
+
return AsyncPetiteRequeteWithRawResponse(self)
|
|
61
|
+
|
|
62
|
+
async def list_harbor_tiny_query_analytics_slow_queries(
|
|
63
|
+
self,
|
|
64
|
+
harbor_id: UUID,
|
|
65
|
+
*,
|
|
66
|
+
time_range: str | None = None,
|
|
67
|
+
data_dock_id: UUID | None = None,
|
|
68
|
+
limit: int | None = None,
|
|
69
|
+
sort_by: str | None = None,
|
|
70
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
71
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
72
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
73
|
+
timeout: Timeout | Unset = UNSET,
|
|
74
|
+
max_retries: int | None = None,
|
|
75
|
+
) -> list[QueryHistoryEntry]:
|
|
76
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/slow-queries`.
|
|
77
|
+
|
|
78
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
79
|
+
:param data_dock_id: Filter by Data Dock
|
|
80
|
+
:param limit: Max results (default 10, max 50)
|
|
81
|
+
:param sort_by: Sort by: execution_time, peak_memory, bytes_scanned"""
|
|
82
|
+
response = await self._request(
|
|
83
|
+
ApiRequest(
|
|
84
|
+
method="get",
|
|
85
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/slow-queries",
|
|
86
|
+
path_params={
|
|
87
|
+
"harbor_id": encode_path_param(
|
|
88
|
+
"harbor_id", harbor_id, "simple", False
|
|
89
|
+
),
|
|
90
|
+
},
|
|
91
|
+
query_params=serialize_query_params(
|
|
92
|
+
{
|
|
93
|
+
"time_range": time_range,
|
|
94
|
+
"data_dock_id": data_dock_id,
|
|
95
|
+
"limit": limit,
|
|
96
|
+
"sort_by": sort_by,
|
|
97
|
+
},
|
|
98
|
+
),
|
|
99
|
+
error_types={
|
|
100
|
+
"default": _models.ApiErrorBody,
|
|
101
|
+
},
|
|
102
|
+
extra_headers=extra_headers,
|
|
103
|
+
extra_query=extra_query,
|
|
104
|
+
extra_body=extra_body,
|
|
105
|
+
timeout=timeout,
|
|
106
|
+
max_retries=max_retries,
|
|
107
|
+
)
|
|
108
|
+
)
|
|
109
|
+
return decode_response(response, list[QueryHistoryEntry])
|
|
110
|
+
|
|
111
|
+
async def retrieve_harbor_tiny_query_analytics_summary(
|
|
112
|
+
self,
|
|
113
|
+
harbor_id: UUID,
|
|
114
|
+
*,
|
|
115
|
+
time_range: str | None = None,
|
|
116
|
+
data_dock_id: UUID | None = None,
|
|
117
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
118
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
119
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
120
|
+
timeout: Timeout | Unset = UNSET,
|
|
121
|
+
max_retries: int | None = None,
|
|
122
|
+
) -> AnalyticsSummary:
|
|
123
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/summary`.
|
|
124
|
+
|
|
125
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
126
|
+
:param data_dock_id: Filter by Data Dock"""
|
|
127
|
+
response = await self._request(
|
|
128
|
+
ApiRequest(
|
|
129
|
+
method="get",
|
|
130
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/summary",
|
|
131
|
+
path_params={
|
|
132
|
+
"harbor_id": encode_path_param(
|
|
133
|
+
"harbor_id", harbor_id, "simple", False
|
|
134
|
+
),
|
|
135
|
+
},
|
|
136
|
+
query_params=serialize_query_params(
|
|
137
|
+
{
|
|
138
|
+
"time_range": time_range,
|
|
139
|
+
"data_dock_id": data_dock_id,
|
|
140
|
+
},
|
|
141
|
+
),
|
|
142
|
+
error_types={
|
|
143
|
+
"default": _models.ApiErrorBody,
|
|
144
|
+
},
|
|
145
|
+
extra_headers=extra_headers,
|
|
146
|
+
extra_query=extra_query,
|
|
147
|
+
extra_body=extra_body,
|
|
148
|
+
timeout=timeout,
|
|
149
|
+
max_retries=max_retries,
|
|
150
|
+
)
|
|
151
|
+
)
|
|
152
|
+
return decode_response(response, AnalyticsSummary)
|
|
153
|
+
|
|
154
|
+
async def list_harbor_tiny_query_analytics_trends(
|
|
155
|
+
self,
|
|
156
|
+
harbor_id: UUID,
|
|
157
|
+
*,
|
|
158
|
+
time_range: str | None = None,
|
|
159
|
+
data_dock_id: UUID | None = None,
|
|
160
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
161
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
162
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
163
|
+
timeout: Timeout | Unset = UNSET,
|
|
164
|
+
max_retries: int | None = None,
|
|
165
|
+
) -> AnalyticsTrends:
|
|
166
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/trends`.
|
|
167
|
+
|
|
168
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
169
|
+
:param data_dock_id: Filter by Data Dock"""
|
|
170
|
+
response = await self._request(
|
|
171
|
+
ApiRequest(
|
|
172
|
+
method="get",
|
|
173
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/trends",
|
|
174
|
+
path_params={
|
|
175
|
+
"harbor_id": encode_path_param(
|
|
176
|
+
"harbor_id", harbor_id, "simple", False
|
|
177
|
+
),
|
|
178
|
+
},
|
|
179
|
+
query_params=serialize_query_params(
|
|
180
|
+
{
|
|
181
|
+
"time_range": time_range,
|
|
182
|
+
"data_dock_id": data_dock_id,
|
|
183
|
+
},
|
|
184
|
+
),
|
|
185
|
+
error_types={
|
|
186
|
+
"default": _models.ApiErrorBody,
|
|
187
|
+
},
|
|
188
|
+
extra_headers=extra_headers,
|
|
189
|
+
extra_query=extra_query,
|
|
190
|
+
extra_body=extra_body,
|
|
191
|
+
timeout=timeout,
|
|
192
|
+
max_retries=max_retries,
|
|
193
|
+
)
|
|
194
|
+
)
|
|
195
|
+
return decode_response(response, AnalyticsTrends)
|
|
196
|
+
|
|
197
|
+
def list_harbor_tiny_query_history(
|
|
198
|
+
self,
|
|
199
|
+
harbor_id: UUID,
|
|
200
|
+
*,
|
|
201
|
+
data_dock_id: UUID | None = None,
|
|
202
|
+
status: str | None = None,
|
|
203
|
+
statement_type: str | None = None,
|
|
204
|
+
search: str | None = None,
|
|
205
|
+
scheduled_query_id: UUID | None = None,
|
|
206
|
+
page: int | None = None,
|
|
207
|
+
per_page: int | None = None,
|
|
208
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
209
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
210
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
211
|
+
timeout: Timeout | Unset = UNSET,
|
|
212
|
+
max_retries: int | None = None,
|
|
213
|
+
) -> AsyncPaginator[
|
|
214
|
+
QueryHistoryEntry, AsyncPetiteRequeteListHarborTinyQueryHistoryPage
|
|
215
|
+
]:
|
|
216
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/history`: the first page, iterate it for every item.
|
|
217
|
+
|
|
218
|
+
:param data_dock_id: Filter by Data Dock
|
|
219
|
+
:param status: Filter: running, completed, failed, cancelled
|
|
220
|
+
:param statement_type: Filter: SELECT, INSERT, CTAS, DDL
|
|
221
|
+
:param search: Search in SQL text
|
|
222
|
+
:param scheduled_query_id: Scope to one scheduled query's run history (org-wide, not limited to the caller's own runs)
|
|
223
|
+
:param page: Page number (default 0)
|
|
224
|
+
:param per_page: Items per page (default 50, max 200)"""
|
|
225
|
+
|
|
226
|
+
async def fetch(page_param: int | None) -> QueryHistoryPage:
|
|
227
|
+
response = await self._request(
|
|
228
|
+
ApiRequest(
|
|
229
|
+
method="get",
|
|
230
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/history",
|
|
231
|
+
path_params={
|
|
232
|
+
"harbor_id": encode_path_param(
|
|
233
|
+
"harbor_id", harbor_id, "simple", False
|
|
234
|
+
),
|
|
235
|
+
},
|
|
236
|
+
query_params=serialize_query_params(
|
|
237
|
+
{
|
|
238
|
+
"data_dock_id": data_dock_id,
|
|
239
|
+
"status": status,
|
|
240
|
+
"statement_type": statement_type,
|
|
241
|
+
"search": search,
|
|
242
|
+
"scheduled_query_id": scheduled_query_id,
|
|
243
|
+
"page": page_param,
|
|
244
|
+
"per_page": per_page,
|
|
245
|
+
},
|
|
246
|
+
),
|
|
247
|
+
error_types={
|
|
248
|
+
"default": _models.ApiErrorBody,
|
|
249
|
+
},
|
|
250
|
+
extra_headers=extra_headers,
|
|
251
|
+
extra_query=extra_query,
|
|
252
|
+
extra_body=extra_body,
|
|
253
|
+
timeout=timeout,
|
|
254
|
+
max_retries=max_retries,
|
|
255
|
+
)
|
|
256
|
+
)
|
|
257
|
+
return decode_response(response, QueryHistoryPage)
|
|
258
|
+
|
|
259
|
+
paging = PagePaging[QueryHistoryPage, QueryHistoryEntry](
|
|
260
|
+
items=lambda body: body.data,
|
|
261
|
+
first_page=0,
|
|
262
|
+
)
|
|
263
|
+
return AsyncPaginator(
|
|
264
|
+
lambda: AsyncPetiteRequeteListHarborTinyQueryHistoryPage._first(
|
|
265
|
+
fetch, page, paging
|
|
266
|
+
)
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
async def list_harbor_tiny_query_limits(
|
|
270
|
+
self,
|
|
271
|
+
harbor_id: UUID,
|
|
272
|
+
*,
|
|
273
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
274
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
275
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
276
|
+
timeout: Timeout | Unset = UNSET,
|
|
277
|
+
max_retries: int | None = None,
|
|
278
|
+
) -> TinyQueryLimitsResponse:
|
|
279
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/limits`."""
|
|
280
|
+
response = await self._request(
|
|
281
|
+
ApiRequest(
|
|
282
|
+
method="get",
|
|
283
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/limits",
|
|
284
|
+
path_params={
|
|
285
|
+
"harbor_id": encode_path_param(
|
|
286
|
+
"harbor_id", harbor_id, "simple", False
|
|
287
|
+
),
|
|
288
|
+
},
|
|
289
|
+
error_types={
|
|
290
|
+
"default": _models.ApiErrorBody,
|
|
291
|
+
},
|
|
292
|
+
extra_headers=extra_headers,
|
|
293
|
+
extra_query=extra_query,
|
|
294
|
+
extra_body=extra_body,
|
|
295
|
+
timeout=timeout,
|
|
296
|
+
max_retries=max_retries,
|
|
297
|
+
)
|
|
298
|
+
)
|
|
299
|
+
return decode_response(response, TinyQueryLimitsResponse)
|
|
300
|
+
|
|
301
|
+
def list_harbor_tiny_query_queries(
|
|
302
|
+
self,
|
|
303
|
+
harbor_id: UUID,
|
|
304
|
+
*,
|
|
305
|
+
data_dock_id: UUID | None = None,
|
|
306
|
+
visibility: str | None = None,
|
|
307
|
+
search: str | None = None,
|
|
308
|
+
mine: bool | None = None,
|
|
309
|
+
scheduled: bool | None = None,
|
|
310
|
+
failing: bool | None = None,
|
|
311
|
+
suspended: bool | None = None,
|
|
312
|
+
never_run: bool | None = None,
|
|
313
|
+
sort: SavedQuerySort | None = None,
|
|
314
|
+
dir: SortDir | None = None,
|
|
315
|
+
page: int | None = None,
|
|
316
|
+
limit: int | None = None,
|
|
317
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
318
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
319
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
320
|
+
timeout: Timeout | Unset = UNSET,
|
|
321
|
+
max_retries: int | None = None,
|
|
322
|
+
) -> AsyncPaginator[SavedQuery, AsyncPetiteRequeteListHarborTinyQueryQueriesPage]:
|
|
323
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/queries`: the first page, iterate it for every item.
|
|
324
|
+
|
|
325
|
+
:param data_dock_id: Filter by Data Dock
|
|
326
|
+
:param visibility: Filter: private or team
|
|
327
|
+
:param search: Search in title/description
|
|
328
|
+
:param mine: Only my queries
|
|
329
|
+
:param scheduled: true: only scheduled queries, false: only unscheduled ones
|
|
330
|
+
:param failing: true: only queries failing 3+ runs in a row
|
|
331
|
+
:param suspended: true: only paused schedules, false: only live ones
|
|
332
|
+
:param never_run: true: only schedules that have never attempted a run
|
|
333
|
+
:param sort: Column to order by. Absent defaults to updated_at descending.
|
|
334
|
+
:param dir: Sort direction; ignored without `sort`. Defaults to asc.
|
|
335
|
+
:param page: Zero-based page index. Absent defaults to the first page.
|
|
336
|
+
:param limit: Page size, clamped to [1, 200]. Absent defaults to 50."""
|
|
337
|
+
|
|
338
|
+
async def fetch(page_param: int | None) -> SavedQueriesPage:
|
|
339
|
+
response = await self._request(
|
|
340
|
+
ApiRequest(
|
|
341
|
+
method="get",
|
|
342
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/queries",
|
|
343
|
+
path_params={
|
|
344
|
+
"harbor_id": encode_path_param(
|
|
345
|
+
"harbor_id", harbor_id, "simple", False
|
|
346
|
+
),
|
|
347
|
+
},
|
|
348
|
+
query_params=serialize_query_params(
|
|
349
|
+
{
|
|
350
|
+
"data_dock_id": data_dock_id,
|
|
351
|
+
"visibility": visibility,
|
|
352
|
+
"search": search,
|
|
353
|
+
"mine": mine,
|
|
354
|
+
"scheduled": scheduled,
|
|
355
|
+
"failing": failing,
|
|
356
|
+
"suspended": suspended,
|
|
357
|
+
"never_run": never_run,
|
|
358
|
+
"sort": sort,
|
|
359
|
+
"dir": dir,
|
|
360
|
+
"page": page_param,
|
|
361
|
+
"limit": limit,
|
|
362
|
+
},
|
|
363
|
+
),
|
|
364
|
+
error_types={
|
|
365
|
+
"default": _models.ApiErrorBody,
|
|
366
|
+
},
|
|
367
|
+
extra_headers=extra_headers,
|
|
368
|
+
extra_query=extra_query,
|
|
369
|
+
extra_body=extra_body,
|
|
370
|
+
timeout=timeout,
|
|
371
|
+
max_retries=max_retries,
|
|
372
|
+
)
|
|
373
|
+
)
|
|
374
|
+
return decode_response(response, SavedQueriesPage)
|
|
375
|
+
|
|
376
|
+
paging = PagePaging[SavedQueriesPage, SavedQuery](
|
|
377
|
+
items=lambda body: body.data,
|
|
378
|
+
first_page=0,
|
|
379
|
+
)
|
|
380
|
+
return AsyncPaginator(
|
|
381
|
+
lambda: AsyncPetiteRequeteListHarborTinyQueryQueriesPage._first(
|
|
382
|
+
fetch, page, paging
|
|
383
|
+
)
|
|
384
|
+
)
|
|
385
|
+
|
|
386
|
+
async def tiny_query_copilot_generate(
|
|
387
|
+
self,
|
|
388
|
+
*,
|
|
389
|
+
data_dock_id: UUID,
|
|
390
|
+
model: str | None | Unset = UNSET,
|
|
391
|
+
prompt: str | None = None,
|
|
392
|
+
repair: SqlCopilotRepairContext | None | Unset = UNSET,
|
|
393
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
394
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
395
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
396
|
+
timeout: Timeout | Unset = UNSET,
|
|
397
|
+
max_retries: int | None = None,
|
|
398
|
+
) -> SqlCopilotResponse:
|
|
399
|
+
"""NL → SQL. The schema grounding is fetched with the *caller's* JWT (same
|
|
400
|
+
trust boundary as the SQL editor and `execute_query_handler`). Unlike the
|
|
401
|
+
dashboards copilot, the result is not restricted to SELECT — Tiny Query is
|
|
402
|
+
a general SQL IDE — and it lands in the editor as a draft; running it is
|
|
403
|
+
still a separate, explicit action. One repair round if the generated SQL
|
|
404
|
+
fails schema validation (`TinyQueryService::validate_sql`, a
|
|
405
|
+
non-executing `EXPLAIN (TYPE VALIDATE)`), so a hallucinated table/column
|
|
406
|
+
name is corrected — or clearly still wrong — before the caller sees it,
|
|
407
|
+
rather than silently returned.
|
|
408
|
+
|
|
409
|
+
:param data_dock_id: Data Dock whose schema grounds the generation.
|
|
410
|
+
:param model: Model override; defaults to the platform's generation model.
|
|
411
|
+
:param prompt: The user's natural-language ask ("insert a daily rollup of order totals into a new table"). May be empty when `repair` drives the request."""
|
|
412
|
+
response = await self._request(
|
|
413
|
+
ApiRequest(
|
|
414
|
+
method="post",
|
|
415
|
+
path="/api/v1/tiny-query/copilot/generate",
|
|
416
|
+
json_body=to_json_value(
|
|
417
|
+
SqlCopilotRequest(
|
|
418
|
+
data_dock_id=data_dock_id,
|
|
419
|
+
model=model,
|
|
420
|
+
prompt=prompt,
|
|
421
|
+
repair=repair,
|
|
422
|
+
),
|
|
423
|
+
SqlCopilotRequest,
|
|
424
|
+
),
|
|
425
|
+
error_types={
|
|
426
|
+
"default": _models.ApiErrorBody,
|
|
427
|
+
},
|
|
428
|
+
extra_headers=extra_headers,
|
|
429
|
+
extra_query=extra_query,
|
|
430
|
+
extra_body=extra_body,
|
|
431
|
+
timeout=timeout,
|
|
432
|
+
max_retries=max_retries,
|
|
433
|
+
)
|
|
434
|
+
)
|
|
435
|
+
return decode_response(response, SqlCopilotResponse)
|
|
436
|
+
|
|
437
|
+
async def tiny_query_execute(
|
|
438
|
+
self,
|
|
439
|
+
*,
|
|
440
|
+
data_dock_id: UUID,
|
|
441
|
+
sql: str,
|
|
442
|
+
limit: int | None | Unset = UNSET,
|
|
443
|
+
query_id: UUID | None | Unset = UNSET,
|
|
444
|
+
timeout_seconds: int | None | Unset = UNSET,
|
|
445
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
446
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
447
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
448
|
+
timeout: Timeout | Unset = UNSET,
|
|
449
|
+
max_retries: int | None = None,
|
|
450
|
+
) -> QueryResult:
|
|
451
|
+
"""Run a query and wait for its result
|
|
452
|
+
|
|
453
|
+
The request stays silent for the whole run, so a gateway idle timeout
|
|
454
|
+
(300 s on Cilium) cuts off a longer one: start those with
|
|
455
|
+
`POST /api/v1/tiny-query/runs` and poll instead.
|
|
456
|
+
|
|
457
|
+
:param query_id: Id for the run's history entry, chosen by the caller so it can cancel the run while it executes. Generated server-side when absent.
|
|
458
|
+
:param timeout_seconds: Seconds before the statement is cancelled. Must sit inside the range `GET /api/v1/harbors/{harbor_id}/tiny-query/limits` returns; omitted, the server default applies."""
|
|
459
|
+
response = await self._request(
|
|
460
|
+
ApiRequest(
|
|
461
|
+
method="post",
|
|
462
|
+
path="/api/v1/tiny-query/execute",
|
|
463
|
+
json_body=to_json_value(
|
|
464
|
+
ExecuteRequest(
|
|
465
|
+
data_dock_id=data_dock_id,
|
|
466
|
+
limit=limit,
|
|
467
|
+
query_id=query_id,
|
|
468
|
+
sql=sql,
|
|
469
|
+
timeout_seconds=timeout_seconds,
|
|
470
|
+
),
|
|
471
|
+
ExecuteRequest,
|
|
472
|
+
),
|
|
473
|
+
error_types={
|
|
474
|
+
"default": _models.ApiErrorBody,
|
|
475
|
+
},
|
|
476
|
+
extra_headers=extra_headers,
|
|
477
|
+
extra_query=extra_query,
|
|
478
|
+
extra_body=extra_body,
|
|
479
|
+
timeout=timeout,
|
|
480
|
+
max_retries=max_retries,
|
|
481
|
+
)
|
|
482
|
+
)
|
|
483
|
+
return decode_response(response, QueryResult)
|
|
484
|
+
|
|
485
|
+
async def retrieve_tiny_query_history(
|
|
486
|
+
self,
|
|
487
|
+
history_id: UUID,
|
|
488
|
+
*,
|
|
489
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
490
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
491
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
492
|
+
timeout: Timeout | Unset = UNSET,
|
|
493
|
+
max_retries: int | None = None,
|
|
494
|
+
) -> QueryHistoryEntry:
|
|
495
|
+
"""A single run's full detail, including its (possibly truncated) output —
|
|
496
|
+
unlike the list endpoint, which never selects `result_data` to stay light
|
|
497
|
+
for the interactive History tab. Org-scoped, not restricted to the
|
|
498
|
+
entry's own `user_id`: a scheduled run executes under the schedule's
|
|
499
|
+
owner, not necessarily the viewer, and anyone who can see the scheduled
|
|
500
|
+
query on the Data Engineering list can already see that it ran."""
|
|
501
|
+
response = await self._request(
|
|
502
|
+
ApiRequest(
|
|
503
|
+
method="get",
|
|
504
|
+
path="/api/v1/tiny-query/history/{history_id}",
|
|
505
|
+
path_params={
|
|
506
|
+
"history_id": encode_path_param(
|
|
507
|
+
"history_id", history_id, "simple", False
|
|
508
|
+
),
|
|
509
|
+
},
|
|
510
|
+
error_types={
|
|
511
|
+
"default": _models.ApiErrorBody,
|
|
512
|
+
},
|
|
513
|
+
extra_headers=extra_headers,
|
|
514
|
+
extra_query=extra_query,
|
|
515
|
+
extra_body=extra_body,
|
|
516
|
+
timeout=timeout,
|
|
517
|
+
max_retries=max_retries,
|
|
518
|
+
)
|
|
519
|
+
)
|
|
520
|
+
return decode_response(response, QueryHistoryEntry)
|
|
521
|
+
|
|
522
|
+
async def cancel_tiny_query_history(
|
|
523
|
+
self,
|
|
524
|
+
history_id: UUID,
|
|
525
|
+
*,
|
|
526
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
527
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
528
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
529
|
+
timeout: Timeout | Unset = UNSET,
|
|
530
|
+
max_retries: int | None = None,
|
|
531
|
+
) -> None:
|
|
532
|
+
"""Cancel a running query by its history id — the `query_id` the caller sent
|
|
533
|
+
to `/execute`, so it is known while the query runs."""
|
|
534
|
+
await self._request(
|
|
535
|
+
ApiRequest(
|
|
536
|
+
method="post",
|
|
537
|
+
path="/api/v1/tiny-query/history/{history_id}/cancel",
|
|
538
|
+
path_params={
|
|
539
|
+
"history_id": encode_path_param(
|
|
540
|
+
"history_id", history_id, "simple", False
|
|
541
|
+
),
|
|
542
|
+
},
|
|
543
|
+
error_types={
|
|
544
|
+
"default": _models.ApiErrorBody,
|
|
545
|
+
},
|
|
546
|
+
extra_headers=extra_headers,
|
|
547
|
+
extra_query=extra_query,
|
|
548
|
+
extra_body=extra_body,
|
|
549
|
+
timeout=timeout,
|
|
550
|
+
max_retries=max_retries,
|
|
551
|
+
)
|
|
552
|
+
)
|
|
553
|
+
|
|
554
|
+
async def create_tiny_query_query(
|
|
555
|
+
self,
|
|
556
|
+
*,
|
|
557
|
+
data_dock_id: UUID,
|
|
558
|
+
sql_text: str,
|
|
559
|
+
title: str,
|
|
560
|
+
alert_on_failure: bool | None | Unset = UNSET,
|
|
561
|
+
description: str | None | Unset = UNSET,
|
|
562
|
+
schedule: str | None | Unset = UNSET,
|
|
563
|
+
service_account_id: UUID | None | Unset = UNSET,
|
|
564
|
+
tags: list[str] | None | Unset = UNSET,
|
|
565
|
+
visibility: str | None | Unset = UNSET,
|
|
566
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
567
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
568
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
569
|
+
timeout: Timeout | Unset = UNSET,
|
|
570
|
+
max_retries: int | None = None,
|
|
571
|
+
) -> SavedQuery:
|
|
572
|
+
"""`POST /api/v1/tiny-query/queries`.
|
|
573
|
+
|
|
574
|
+
:param alert_on_failure: Whether the schedule gets its default "keeps failing" alert rule. Omitted means yes.
|
|
575
|
+
:param schedule: Cron expression. Omitted or `null` means the query only runs on demand.
|
|
576
|
+
:param service_account_id: The service account the schedule runs as. Required whenever `schedule` is set, ignored otherwise — an on-demand query runs on its caller's own token and needs no standing identity."""
|
|
577
|
+
response = await self._request(
|
|
578
|
+
ApiRequest(
|
|
579
|
+
method="post",
|
|
580
|
+
path="/api/v1/tiny-query/queries",
|
|
581
|
+
json_body=to_json_value(
|
|
582
|
+
CreateSavedQueryRequest(
|
|
583
|
+
alert_on_failure=alert_on_failure,
|
|
584
|
+
data_dock_id=data_dock_id,
|
|
585
|
+
description=description,
|
|
586
|
+
schedule=schedule,
|
|
587
|
+
service_account_id=service_account_id,
|
|
588
|
+
sql_text=sql_text,
|
|
589
|
+
tags=tags,
|
|
590
|
+
title=title,
|
|
591
|
+
visibility=visibility,
|
|
592
|
+
),
|
|
593
|
+
CreateSavedQueryRequest,
|
|
594
|
+
),
|
|
595
|
+
error_types={
|
|
596
|
+
"default": _models.ApiErrorBody,
|
|
597
|
+
},
|
|
598
|
+
extra_headers=extra_headers,
|
|
599
|
+
extra_query=extra_query,
|
|
600
|
+
extra_body=extra_body,
|
|
601
|
+
timeout=timeout,
|
|
602
|
+
max_retries=max_retries,
|
|
603
|
+
)
|
|
604
|
+
)
|
|
605
|
+
return decode_response(response, SavedQuery)
|
|
606
|
+
|
|
607
|
+
async def retrieve_tiny_query_query(
|
|
608
|
+
self,
|
|
609
|
+
query_id: UUID,
|
|
610
|
+
*,
|
|
611
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
612
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
613
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
614
|
+
timeout: Timeout | Unset = UNSET,
|
|
615
|
+
max_retries: int | None = None,
|
|
616
|
+
) -> SavedQuery:
|
|
617
|
+
"""`GET /api/v1/tiny-query/queries/{query_id}`."""
|
|
618
|
+
response = await self._request(
|
|
619
|
+
ApiRequest(
|
|
620
|
+
method="get",
|
|
621
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
622
|
+
path_params={
|
|
623
|
+
"query_id": encode_path_param(
|
|
624
|
+
"query_id", query_id, "simple", False
|
|
625
|
+
),
|
|
626
|
+
},
|
|
627
|
+
error_types={
|
|
628
|
+
"default": _models.ApiErrorBody,
|
|
629
|
+
},
|
|
630
|
+
extra_headers=extra_headers,
|
|
631
|
+
extra_query=extra_query,
|
|
632
|
+
extra_body=extra_body,
|
|
633
|
+
timeout=timeout,
|
|
634
|
+
max_retries=max_retries,
|
|
635
|
+
)
|
|
636
|
+
)
|
|
637
|
+
return decode_response(response, SavedQuery)
|
|
638
|
+
|
|
639
|
+
async def update_tiny_query_query(
|
|
640
|
+
self,
|
|
641
|
+
query_id: UUID,
|
|
642
|
+
*,
|
|
643
|
+
alert_on_failure: bool | None | Unset = UNSET,
|
|
644
|
+
description: str | None | Unset = UNSET,
|
|
645
|
+
schedule: str | None | Unset = UNSET,
|
|
646
|
+
service_account_id: UUID | None | Unset = UNSET,
|
|
647
|
+
sql_text: str | None | Unset = UNSET,
|
|
648
|
+
suspended: bool | None | Unset = UNSET,
|
|
649
|
+
tags: list[str] | None | Unset = UNSET,
|
|
650
|
+
title: str | None | Unset = UNSET,
|
|
651
|
+
visibility: str | None | Unset = UNSET,
|
|
652
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
653
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
654
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
655
|
+
timeout: Timeout | Unset = UNSET,
|
|
656
|
+
max_retries: int | None = None,
|
|
657
|
+
) -> SavedQuery:
|
|
658
|
+
"""`PUT /api/v1/tiny-query/queries/{query_id}`.
|
|
659
|
+
|
|
660
|
+
:param alert_on_failure: Omitted leaves the alert choice unchanged.
|
|
661
|
+
:param schedule: Absent = keep the current schedule; `null` = unschedule the query; a string = replace the cron. This is a double option on purpose. With a plain `Option<String>` serde folds "absent" and "explicit null" together, and the repository's `.or(current)` fallback then writes the old cron back — which left no request at all that could stop a scheduled query.
|
|
662
|
+
:param service_account_id: Absent = keep the current account; a value = reassign the schedule to it. Deliberately *not* a double option: there is no request that detaches an account while leaving the schedule active, because that would be a schedule nothing can authorize. Clearing the `schedule` clears this alongside it.
|
|
663
|
+
:param suspended: Omitted leaves suspended state unchanged. `Some(false)` (an explicit resume) with no schedule text change also recomputes `next_run_at` fresh from now, rather than firing immediately on a stale, long-past value."""
|
|
664
|
+
response = await self._request(
|
|
665
|
+
ApiRequest(
|
|
666
|
+
method="put",
|
|
667
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
668
|
+
path_params={
|
|
669
|
+
"query_id": encode_path_param(
|
|
670
|
+
"query_id", query_id, "simple", False
|
|
671
|
+
),
|
|
672
|
+
},
|
|
673
|
+
json_body=to_json_value(
|
|
674
|
+
UpdateSavedQueryRequest(
|
|
675
|
+
alert_on_failure=alert_on_failure,
|
|
676
|
+
description=description,
|
|
677
|
+
schedule=schedule,
|
|
678
|
+
service_account_id=service_account_id,
|
|
679
|
+
sql_text=sql_text,
|
|
680
|
+
suspended=suspended,
|
|
681
|
+
tags=tags,
|
|
682
|
+
title=title,
|
|
683
|
+
visibility=visibility,
|
|
684
|
+
),
|
|
685
|
+
UpdateSavedQueryRequest,
|
|
686
|
+
),
|
|
687
|
+
error_types={
|
|
688
|
+
"default": _models.ApiErrorBody,
|
|
689
|
+
},
|
|
690
|
+
extra_headers=extra_headers,
|
|
691
|
+
extra_query=extra_query,
|
|
692
|
+
extra_body=extra_body,
|
|
693
|
+
timeout=timeout,
|
|
694
|
+
max_retries=max_retries,
|
|
695
|
+
)
|
|
696
|
+
)
|
|
697
|
+
return decode_response(response, SavedQuery)
|
|
698
|
+
|
|
699
|
+
async def delete_tiny_query_query(
|
|
700
|
+
self,
|
|
701
|
+
query_id: UUID,
|
|
702
|
+
*,
|
|
703
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
704
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
705
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
706
|
+
timeout: Timeout | Unset = UNSET,
|
|
707
|
+
max_retries: int | None = None,
|
|
708
|
+
) -> None:
|
|
709
|
+
"""`DELETE /api/v1/tiny-query/queries/{query_id}`."""
|
|
710
|
+
await self._request(
|
|
711
|
+
ApiRequest(
|
|
712
|
+
method="delete",
|
|
713
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
714
|
+
path_params={
|
|
715
|
+
"query_id": encode_path_param(
|
|
716
|
+
"query_id", query_id, "simple", False
|
|
717
|
+
),
|
|
718
|
+
},
|
|
719
|
+
error_types={
|
|
720
|
+
"default": _models.ApiErrorBody,
|
|
721
|
+
},
|
|
722
|
+
extra_headers=extra_headers,
|
|
723
|
+
extra_query=extra_query,
|
|
724
|
+
extra_body=extra_body,
|
|
725
|
+
timeout=timeout,
|
|
726
|
+
max_retries=max_retries,
|
|
727
|
+
)
|
|
728
|
+
)
|
|
729
|
+
|
|
730
|
+
async def run_tiny_query_query(
|
|
731
|
+
self,
|
|
732
|
+
query_id: UUID,
|
|
733
|
+
*,
|
|
734
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
735
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
736
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
737
|
+
timeout: Timeout | Unset = UNSET,
|
|
738
|
+
max_retries: int | None = None,
|
|
739
|
+
) -> QueryResult:
|
|
740
|
+
"""Executes a scheduled query's SQL on demand, under the *caller's* own
|
|
741
|
+
session (same trust boundary as `execute_query_handler`) — not the
|
|
742
|
+
schedule owner's identity, so this never depends on the owner having
|
|
743
|
+
granted background execution. Writes to `query_history` like any run
|
|
744
|
+
(visible in the run-history detail view, output included) but never
|
|
745
|
+
updates the schedule's own tracked health."""
|
|
746
|
+
response = await self._request(
|
|
747
|
+
ApiRequest(
|
|
748
|
+
method="post",
|
|
749
|
+
path="/api/v1/tiny-query/queries/{query_id}/run",
|
|
750
|
+
path_params={
|
|
751
|
+
"query_id": encode_path_param(
|
|
752
|
+
"query_id", query_id, "simple", False
|
|
753
|
+
),
|
|
754
|
+
},
|
|
755
|
+
error_types={
|
|
756
|
+
"default": _models.ApiErrorBody,
|
|
757
|
+
},
|
|
758
|
+
extra_headers=extra_headers,
|
|
759
|
+
extra_query=extra_query,
|
|
760
|
+
extra_body=extra_body,
|
|
761
|
+
timeout=timeout,
|
|
762
|
+
max_retries=max_retries,
|
|
763
|
+
)
|
|
764
|
+
)
|
|
765
|
+
return decode_response(response, QueryResult)
|
|
766
|
+
|
|
767
|
+
async def retrieve_tiny_query_result(
|
|
768
|
+
self,
|
|
769
|
+
query_id: UUID,
|
|
770
|
+
*,
|
|
771
|
+
offset: int | None = None,
|
|
772
|
+
limit: int | None = None,
|
|
773
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
774
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
775
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
776
|
+
timeout: Timeout | Unset = UNSET,
|
|
777
|
+
max_retries: int | None = None,
|
|
778
|
+
) -> ResultsPage:
|
|
779
|
+
"""`GET /api/v1/tiny-query/results/{query_id}`.
|
|
780
|
+
|
|
781
|
+
:param offset: Row offset (default 0)
|
|
782
|
+
:param limit: Number of rows (default 500)"""
|
|
783
|
+
response = await self._request(
|
|
784
|
+
ApiRequest(
|
|
785
|
+
method="get",
|
|
786
|
+
path="/api/v1/tiny-query/results/{query_id}",
|
|
787
|
+
path_params={
|
|
788
|
+
"query_id": encode_path_param(
|
|
789
|
+
"query_id", query_id, "simple", False
|
|
790
|
+
),
|
|
791
|
+
},
|
|
792
|
+
query_params=serialize_query_params(
|
|
793
|
+
{
|
|
794
|
+
"offset": offset,
|
|
795
|
+
"limit": limit,
|
|
796
|
+
},
|
|
797
|
+
),
|
|
798
|
+
error_types={
|
|
799
|
+
"default": _models.ApiErrorBody,
|
|
800
|
+
},
|
|
801
|
+
extra_headers=extra_headers,
|
|
802
|
+
extra_query=extra_query,
|
|
803
|
+
extra_body=extra_body,
|
|
804
|
+
timeout=timeout,
|
|
805
|
+
max_retries=max_retries,
|
|
806
|
+
)
|
|
807
|
+
)
|
|
808
|
+
return decode_response(response, ResultsPage)
|
|
809
|
+
|
|
810
|
+
async def create_tiny_query_run(
|
|
811
|
+
self,
|
|
812
|
+
*,
|
|
813
|
+
data_dock_id: UUID,
|
|
814
|
+
sql: str,
|
|
815
|
+
limit: int | None | Unset = UNSET,
|
|
816
|
+
query_id: UUID | None | Unset = UNSET,
|
|
817
|
+
timeout_seconds: int | None | Unset = UNSET,
|
|
818
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
819
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
820
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
821
|
+
timeout: Timeout | Unset = UNSET,
|
|
822
|
+
max_retries: int | None = None,
|
|
823
|
+
) -> QueryRun:
|
|
824
|
+
"""Start a query run
|
|
825
|
+
|
|
826
|
+
Answers at once with the run's id; poll `GET /api/v1/tiny-query/runs/{query_id}`
|
|
827
|
+
for its outcome. Takes the same body as `POST /api/v1/tiny-query/execute`.
|
|
828
|
+
|
|
829
|
+
:param query_id: Id for the run's history entry, chosen by the caller so it can cancel the run while it executes. Generated server-side when absent.
|
|
830
|
+
:param timeout_seconds: Seconds before the statement is cancelled. Must sit inside the range `GET /api/v1/harbors/{harbor_id}/tiny-query/limits` returns; omitted, the server default applies."""
|
|
831
|
+
response = await self._request(
|
|
832
|
+
ApiRequest(
|
|
833
|
+
method="post",
|
|
834
|
+
path="/api/v1/tiny-query/runs",
|
|
835
|
+
json_body=to_json_value(
|
|
836
|
+
ExecuteRequest(
|
|
837
|
+
data_dock_id=data_dock_id,
|
|
838
|
+
limit=limit,
|
|
839
|
+
query_id=query_id,
|
|
840
|
+
sql=sql,
|
|
841
|
+
timeout_seconds=timeout_seconds,
|
|
842
|
+
),
|
|
843
|
+
ExecuteRequest,
|
|
844
|
+
),
|
|
845
|
+
error_types={
|
|
846
|
+
"default": _models.ApiErrorBody,
|
|
847
|
+
},
|
|
848
|
+
extra_headers=extra_headers,
|
|
849
|
+
extra_query=extra_query,
|
|
850
|
+
extra_body=extra_body,
|
|
851
|
+
timeout=timeout,
|
|
852
|
+
max_retries=max_retries,
|
|
853
|
+
)
|
|
854
|
+
)
|
|
855
|
+
return decode_response(response, QueryRun)
|
|
856
|
+
|
|
857
|
+
async def retrieve_tiny_query_run(
|
|
858
|
+
self,
|
|
859
|
+
query_id: UUID,
|
|
860
|
+
*,
|
|
861
|
+
wait_seconds: int | None = None,
|
|
862
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
863
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
864
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
865
|
+
timeout: Timeout | Unset = UNSET,
|
|
866
|
+
max_retries: int | None = None,
|
|
867
|
+
) -> QueryRun:
|
|
868
|
+
"""Poll a query run
|
|
869
|
+
|
|
870
|
+
Waits up to `wait_seconds` for the run to end, then answers where it stands:
|
|
871
|
+
`running`, `completed` with the first page of rows, or `failed` with the
|
|
872
|
+
status and message `POST /api/v1/tiny-query/execute` would have returned.
|
|
873
|
+
|
|
874
|
+
:param wait_seconds: Seconds to wait for the run to finish before answering `running` (0 to 30, default 0)."""
|
|
875
|
+
response = await self._request(
|
|
876
|
+
ApiRequest(
|
|
877
|
+
method="get",
|
|
878
|
+
path="/api/v1/tiny-query/runs/{query_id}",
|
|
879
|
+
path_params={
|
|
880
|
+
"query_id": encode_path_param(
|
|
881
|
+
"query_id", query_id, "simple", False
|
|
882
|
+
),
|
|
883
|
+
},
|
|
884
|
+
query_params=serialize_query_params(
|
|
885
|
+
{
|
|
886
|
+
"wait_seconds": wait_seconds,
|
|
887
|
+
},
|
|
888
|
+
),
|
|
889
|
+
error_types={
|
|
890
|
+
"default": _models.ApiErrorBody,
|
|
891
|
+
},
|
|
892
|
+
extra_headers=extra_headers,
|
|
893
|
+
extra_query=extra_query,
|
|
894
|
+
extra_body=extra_body,
|
|
895
|
+
timeout=timeout,
|
|
896
|
+
max_retries=max_retries,
|
|
897
|
+
)
|
|
898
|
+
)
|
|
899
|
+
return decode_response(response, QueryRun)
|
|
900
|
+
|
|
901
|
+
async def retrieve_tiny_query_schema(
|
|
902
|
+
self,
|
|
903
|
+
data_dock_id: UUID,
|
|
904
|
+
*,
|
|
905
|
+
refresh: bool | None = None,
|
|
906
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
907
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
908
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
909
|
+
timeout: Timeout | Unset = UNSET,
|
|
910
|
+
max_retries: int | None = None,
|
|
911
|
+
) -> TrinoMetadata:
|
|
912
|
+
"""`GET /api/v1/tiny-query/schema/{data_dock_id}`.
|
|
913
|
+
|
|
914
|
+
:param refresh: Re-introspect the cluster instead of serving the cached schema. This is what the schema browser's refresh button sends. Absent or `false` is the normal path and answers from cache while it is warm."""
|
|
915
|
+
response = await self._request(
|
|
916
|
+
ApiRequest(
|
|
917
|
+
method="get",
|
|
918
|
+
path="/api/v1/tiny-query/schema/{data_dock_id}",
|
|
919
|
+
path_params={
|
|
920
|
+
"data_dock_id": encode_path_param(
|
|
921
|
+
"data_dock_id", data_dock_id, "simple", False
|
|
922
|
+
),
|
|
923
|
+
},
|
|
924
|
+
query_params=serialize_query_params(
|
|
925
|
+
{
|
|
926
|
+
"refresh": refresh,
|
|
927
|
+
},
|
|
928
|
+
),
|
|
929
|
+
error_types={
|
|
930
|
+
"default": _models.ApiErrorBody,
|
|
931
|
+
},
|
|
932
|
+
extra_headers=extra_headers,
|
|
933
|
+
extra_query=extra_query,
|
|
934
|
+
extra_body=extra_body,
|
|
935
|
+
timeout=timeout,
|
|
936
|
+
max_retries=max_retries,
|
|
937
|
+
)
|
|
938
|
+
)
|
|
939
|
+
return decode_response(response, TrinoMetadata)
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
class AsyncPetiteRequeteWithRawResponse:
|
|
943
|
+
"""The methods of :class:`AsyncPetiteRequete`, returning an :class:`APIResponse`."""
|
|
944
|
+
|
|
945
|
+
def __init__(self, resource: AsyncPetiteRequete) -> None:
|
|
946
|
+
self.list_harbor_tiny_query_analytics_slow_queries = (
|
|
947
|
+
async_to_raw_response_wrapper(
|
|
948
|
+
resource.list_harbor_tiny_query_analytics_slow_queries
|
|
949
|
+
)
|
|
950
|
+
)
|
|
951
|
+
self.retrieve_harbor_tiny_query_analytics_summary = (
|
|
952
|
+
async_to_raw_response_wrapper(
|
|
953
|
+
resource.retrieve_harbor_tiny_query_analytics_summary
|
|
954
|
+
)
|
|
955
|
+
)
|
|
956
|
+
self.list_harbor_tiny_query_analytics_trends = async_to_raw_response_wrapper(
|
|
957
|
+
resource.list_harbor_tiny_query_analytics_trends
|
|
958
|
+
)
|
|
959
|
+
self.list_harbor_tiny_query_history = async_to_raw_response_wrapper(
|
|
960
|
+
resource.list_harbor_tiny_query_history
|
|
961
|
+
)
|
|
962
|
+
self.list_harbor_tiny_query_limits = async_to_raw_response_wrapper(
|
|
963
|
+
resource.list_harbor_tiny_query_limits
|
|
964
|
+
)
|
|
965
|
+
self.list_harbor_tiny_query_queries = async_to_raw_response_wrapper(
|
|
966
|
+
resource.list_harbor_tiny_query_queries
|
|
967
|
+
)
|
|
968
|
+
self.tiny_query_copilot_generate = async_to_raw_response_wrapper(
|
|
969
|
+
resource.tiny_query_copilot_generate
|
|
970
|
+
)
|
|
971
|
+
self.tiny_query_execute = async_to_raw_response_wrapper(
|
|
972
|
+
resource.tiny_query_execute
|
|
973
|
+
)
|
|
974
|
+
self.retrieve_tiny_query_history = async_to_raw_response_wrapper(
|
|
975
|
+
resource.retrieve_tiny_query_history
|
|
976
|
+
)
|
|
977
|
+
self.cancel_tiny_query_history = async_to_raw_response_wrapper(
|
|
978
|
+
resource.cancel_tiny_query_history
|
|
979
|
+
)
|
|
980
|
+
self.create_tiny_query_query = async_to_raw_response_wrapper(
|
|
981
|
+
resource.create_tiny_query_query
|
|
982
|
+
)
|
|
983
|
+
self.retrieve_tiny_query_query = async_to_raw_response_wrapper(
|
|
984
|
+
resource.retrieve_tiny_query_query
|
|
985
|
+
)
|
|
986
|
+
self.update_tiny_query_query = async_to_raw_response_wrapper(
|
|
987
|
+
resource.update_tiny_query_query
|
|
988
|
+
)
|
|
989
|
+
self.delete_tiny_query_query = async_to_raw_response_wrapper(
|
|
990
|
+
resource.delete_tiny_query_query
|
|
991
|
+
)
|
|
992
|
+
self.run_tiny_query_query = async_to_raw_response_wrapper(
|
|
993
|
+
resource.run_tiny_query_query
|
|
994
|
+
)
|
|
995
|
+
self.retrieve_tiny_query_result = async_to_raw_response_wrapper(
|
|
996
|
+
resource.retrieve_tiny_query_result
|
|
997
|
+
)
|
|
998
|
+
self.create_tiny_query_run = async_to_raw_response_wrapper(
|
|
999
|
+
resource.create_tiny_query_run
|
|
1000
|
+
)
|
|
1001
|
+
self.retrieve_tiny_query_run = async_to_raw_response_wrapper(
|
|
1002
|
+
resource.retrieve_tiny_query_run
|
|
1003
|
+
)
|
|
1004
|
+
self.retrieve_tiny_query_schema = async_to_raw_response_wrapper(
|
|
1005
|
+
resource.retrieve_tiny_query_schema
|
|
1006
|
+
)
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class PetiteRequete(ApiBaseSync):
|
|
1010
|
+
"""Petite requete API."""
|
|
1011
|
+
|
|
1012
|
+
@property
|
|
1013
|
+
def with_raw_response(self) -> PetiteRequeteWithRawResponse:
|
|
1014
|
+
"""These methods, returning an :class:`APIResponse` with the status and headers."""
|
|
1015
|
+
return PetiteRequeteWithRawResponse(self)
|
|
1016
|
+
|
|
1017
|
+
def list_harbor_tiny_query_analytics_slow_queries(
|
|
1018
|
+
self,
|
|
1019
|
+
harbor_id: UUID,
|
|
1020
|
+
*,
|
|
1021
|
+
time_range: str | None = None,
|
|
1022
|
+
data_dock_id: UUID | None = None,
|
|
1023
|
+
limit: int | None = None,
|
|
1024
|
+
sort_by: str | None = None,
|
|
1025
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1026
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1027
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1028
|
+
timeout: Timeout | Unset = UNSET,
|
|
1029
|
+
max_retries: int | None = None,
|
|
1030
|
+
) -> list[QueryHistoryEntry]:
|
|
1031
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/slow-queries`.
|
|
1032
|
+
|
|
1033
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
1034
|
+
:param data_dock_id: Filter by Data Dock
|
|
1035
|
+
:param limit: Max results (default 10, max 50)
|
|
1036
|
+
:param sort_by: Sort by: execution_time, peak_memory, bytes_scanned"""
|
|
1037
|
+
response = self._request(
|
|
1038
|
+
ApiRequest(
|
|
1039
|
+
method="get",
|
|
1040
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/slow-queries",
|
|
1041
|
+
path_params={
|
|
1042
|
+
"harbor_id": encode_path_param(
|
|
1043
|
+
"harbor_id", harbor_id, "simple", False
|
|
1044
|
+
),
|
|
1045
|
+
},
|
|
1046
|
+
query_params=serialize_query_params(
|
|
1047
|
+
{
|
|
1048
|
+
"time_range": time_range,
|
|
1049
|
+
"data_dock_id": data_dock_id,
|
|
1050
|
+
"limit": limit,
|
|
1051
|
+
"sort_by": sort_by,
|
|
1052
|
+
},
|
|
1053
|
+
),
|
|
1054
|
+
error_types={
|
|
1055
|
+
"default": _models.ApiErrorBody,
|
|
1056
|
+
},
|
|
1057
|
+
extra_headers=extra_headers,
|
|
1058
|
+
extra_query=extra_query,
|
|
1059
|
+
extra_body=extra_body,
|
|
1060
|
+
timeout=timeout,
|
|
1061
|
+
max_retries=max_retries,
|
|
1062
|
+
)
|
|
1063
|
+
)
|
|
1064
|
+
return decode_response(response, list[QueryHistoryEntry])
|
|
1065
|
+
|
|
1066
|
+
def retrieve_harbor_tiny_query_analytics_summary(
|
|
1067
|
+
self,
|
|
1068
|
+
harbor_id: UUID,
|
|
1069
|
+
*,
|
|
1070
|
+
time_range: str | None = None,
|
|
1071
|
+
data_dock_id: UUID | None = None,
|
|
1072
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1073
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1074
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1075
|
+
timeout: Timeout | Unset = UNSET,
|
|
1076
|
+
max_retries: int | None = None,
|
|
1077
|
+
) -> AnalyticsSummary:
|
|
1078
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/summary`.
|
|
1079
|
+
|
|
1080
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
1081
|
+
:param data_dock_id: Filter by Data Dock"""
|
|
1082
|
+
response = self._request(
|
|
1083
|
+
ApiRequest(
|
|
1084
|
+
method="get",
|
|
1085
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/summary",
|
|
1086
|
+
path_params={
|
|
1087
|
+
"harbor_id": encode_path_param(
|
|
1088
|
+
"harbor_id", harbor_id, "simple", False
|
|
1089
|
+
),
|
|
1090
|
+
},
|
|
1091
|
+
query_params=serialize_query_params(
|
|
1092
|
+
{
|
|
1093
|
+
"time_range": time_range,
|
|
1094
|
+
"data_dock_id": data_dock_id,
|
|
1095
|
+
},
|
|
1096
|
+
),
|
|
1097
|
+
error_types={
|
|
1098
|
+
"default": _models.ApiErrorBody,
|
|
1099
|
+
},
|
|
1100
|
+
extra_headers=extra_headers,
|
|
1101
|
+
extra_query=extra_query,
|
|
1102
|
+
extra_body=extra_body,
|
|
1103
|
+
timeout=timeout,
|
|
1104
|
+
max_retries=max_retries,
|
|
1105
|
+
)
|
|
1106
|
+
)
|
|
1107
|
+
return decode_response(response, AnalyticsSummary)
|
|
1108
|
+
|
|
1109
|
+
def list_harbor_tiny_query_analytics_trends(
|
|
1110
|
+
self,
|
|
1111
|
+
harbor_id: UUID,
|
|
1112
|
+
*,
|
|
1113
|
+
time_range: str | None = None,
|
|
1114
|
+
data_dock_id: UUID | None = None,
|
|
1115
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1116
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1117
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1118
|
+
timeout: Timeout | Unset = UNSET,
|
|
1119
|
+
max_retries: int | None = None,
|
|
1120
|
+
) -> AnalyticsTrends:
|
|
1121
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/analytics/trends`.
|
|
1122
|
+
|
|
1123
|
+
:param time_range: Time range: 1h, 6h, 24h, 7d, 30d (default 24h)
|
|
1124
|
+
:param data_dock_id: Filter by Data Dock"""
|
|
1125
|
+
response = self._request(
|
|
1126
|
+
ApiRequest(
|
|
1127
|
+
method="get",
|
|
1128
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/analytics/trends",
|
|
1129
|
+
path_params={
|
|
1130
|
+
"harbor_id": encode_path_param(
|
|
1131
|
+
"harbor_id", harbor_id, "simple", False
|
|
1132
|
+
),
|
|
1133
|
+
},
|
|
1134
|
+
query_params=serialize_query_params(
|
|
1135
|
+
{
|
|
1136
|
+
"time_range": time_range,
|
|
1137
|
+
"data_dock_id": data_dock_id,
|
|
1138
|
+
},
|
|
1139
|
+
),
|
|
1140
|
+
error_types={
|
|
1141
|
+
"default": _models.ApiErrorBody,
|
|
1142
|
+
},
|
|
1143
|
+
extra_headers=extra_headers,
|
|
1144
|
+
extra_query=extra_query,
|
|
1145
|
+
extra_body=extra_body,
|
|
1146
|
+
timeout=timeout,
|
|
1147
|
+
max_retries=max_retries,
|
|
1148
|
+
)
|
|
1149
|
+
)
|
|
1150
|
+
return decode_response(response, AnalyticsTrends)
|
|
1151
|
+
|
|
1152
|
+
def list_harbor_tiny_query_history(
|
|
1153
|
+
self,
|
|
1154
|
+
harbor_id: UUID,
|
|
1155
|
+
*,
|
|
1156
|
+
data_dock_id: UUID | None = None,
|
|
1157
|
+
status: str | None = None,
|
|
1158
|
+
statement_type: str | None = None,
|
|
1159
|
+
search: str | None = None,
|
|
1160
|
+
scheduled_query_id: UUID | None = None,
|
|
1161
|
+
page: int | None = None,
|
|
1162
|
+
per_page: int | None = None,
|
|
1163
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1164
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1165
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1166
|
+
timeout: Timeout | Unset = UNSET,
|
|
1167
|
+
max_retries: int | None = None,
|
|
1168
|
+
) -> PetiteRequeteListHarborTinyQueryHistoryPage:
|
|
1169
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/history`: the first page, iterate it for every item.
|
|
1170
|
+
|
|
1171
|
+
:param data_dock_id: Filter by Data Dock
|
|
1172
|
+
:param status: Filter: running, completed, failed, cancelled
|
|
1173
|
+
:param statement_type: Filter: SELECT, INSERT, CTAS, DDL
|
|
1174
|
+
:param search: Search in SQL text
|
|
1175
|
+
:param scheduled_query_id: Scope to one scheduled query's run history (org-wide, not limited to the caller's own runs)
|
|
1176
|
+
:param page: Page number (default 0)
|
|
1177
|
+
:param per_page: Items per page (default 50, max 200)"""
|
|
1178
|
+
|
|
1179
|
+
def fetch(page_param: int | None) -> QueryHistoryPage:
|
|
1180
|
+
response = self._request(
|
|
1181
|
+
ApiRequest(
|
|
1182
|
+
method="get",
|
|
1183
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/history",
|
|
1184
|
+
path_params={
|
|
1185
|
+
"harbor_id": encode_path_param(
|
|
1186
|
+
"harbor_id", harbor_id, "simple", False
|
|
1187
|
+
),
|
|
1188
|
+
},
|
|
1189
|
+
query_params=serialize_query_params(
|
|
1190
|
+
{
|
|
1191
|
+
"data_dock_id": data_dock_id,
|
|
1192
|
+
"status": status,
|
|
1193
|
+
"statement_type": statement_type,
|
|
1194
|
+
"search": search,
|
|
1195
|
+
"scheduled_query_id": scheduled_query_id,
|
|
1196
|
+
"page": page_param,
|
|
1197
|
+
"per_page": per_page,
|
|
1198
|
+
},
|
|
1199
|
+
),
|
|
1200
|
+
error_types={
|
|
1201
|
+
"default": _models.ApiErrorBody,
|
|
1202
|
+
},
|
|
1203
|
+
extra_headers=extra_headers,
|
|
1204
|
+
extra_query=extra_query,
|
|
1205
|
+
extra_body=extra_body,
|
|
1206
|
+
timeout=timeout,
|
|
1207
|
+
max_retries=max_retries,
|
|
1208
|
+
)
|
|
1209
|
+
)
|
|
1210
|
+
return decode_response(response, QueryHistoryPage)
|
|
1211
|
+
|
|
1212
|
+
paging = PagePaging[QueryHistoryPage, QueryHistoryEntry](
|
|
1213
|
+
items=lambda body: body.data,
|
|
1214
|
+
first_page=0,
|
|
1215
|
+
)
|
|
1216
|
+
return PetiteRequeteListHarborTinyQueryHistoryPage._first(fetch, page, paging)
|
|
1217
|
+
|
|
1218
|
+
def list_harbor_tiny_query_limits(
|
|
1219
|
+
self,
|
|
1220
|
+
harbor_id: UUID,
|
|
1221
|
+
*,
|
|
1222
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1223
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1224
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1225
|
+
timeout: Timeout | Unset = UNSET,
|
|
1226
|
+
max_retries: int | None = None,
|
|
1227
|
+
) -> TinyQueryLimitsResponse:
|
|
1228
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/limits`."""
|
|
1229
|
+
response = self._request(
|
|
1230
|
+
ApiRequest(
|
|
1231
|
+
method="get",
|
|
1232
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/limits",
|
|
1233
|
+
path_params={
|
|
1234
|
+
"harbor_id": encode_path_param(
|
|
1235
|
+
"harbor_id", harbor_id, "simple", False
|
|
1236
|
+
),
|
|
1237
|
+
},
|
|
1238
|
+
error_types={
|
|
1239
|
+
"default": _models.ApiErrorBody,
|
|
1240
|
+
},
|
|
1241
|
+
extra_headers=extra_headers,
|
|
1242
|
+
extra_query=extra_query,
|
|
1243
|
+
extra_body=extra_body,
|
|
1244
|
+
timeout=timeout,
|
|
1245
|
+
max_retries=max_retries,
|
|
1246
|
+
)
|
|
1247
|
+
)
|
|
1248
|
+
return decode_response(response, TinyQueryLimitsResponse)
|
|
1249
|
+
|
|
1250
|
+
def list_harbor_tiny_query_queries(
|
|
1251
|
+
self,
|
|
1252
|
+
harbor_id: UUID,
|
|
1253
|
+
*,
|
|
1254
|
+
data_dock_id: UUID | None = None,
|
|
1255
|
+
visibility: str | None = None,
|
|
1256
|
+
search: str | None = None,
|
|
1257
|
+
mine: bool | None = None,
|
|
1258
|
+
scheduled: bool | None = None,
|
|
1259
|
+
failing: bool | None = None,
|
|
1260
|
+
suspended: bool | None = None,
|
|
1261
|
+
never_run: bool | None = None,
|
|
1262
|
+
sort: SavedQuerySort | None = None,
|
|
1263
|
+
dir: SortDir | None = None,
|
|
1264
|
+
page: int | None = None,
|
|
1265
|
+
limit: int | None = None,
|
|
1266
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1267
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1268
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1269
|
+
timeout: Timeout | Unset = UNSET,
|
|
1270
|
+
max_retries: int | None = None,
|
|
1271
|
+
) -> PetiteRequeteListHarborTinyQueryQueriesPage:
|
|
1272
|
+
"""`GET /api/v1/harbors/{harbor_id}/tiny-query/queries`: the first page, iterate it for every item.
|
|
1273
|
+
|
|
1274
|
+
:param data_dock_id: Filter by Data Dock
|
|
1275
|
+
:param visibility: Filter: private or team
|
|
1276
|
+
:param search: Search in title/description
|
|
1277
|
+
:param mine: Only my queries
|
|
1278
|
+
:param scheduled: true: only scheduled queries, false: only unscheduled ones
|
|
1279
|
+
:param failing: true: only queries failing 3+ runs in a row
|
|
1280
|
+
:param suspended: true: only paused schedules, false: only live ones
|
|
1281
|
+
:param never_run: true: only schedules that have never attempted a run
|
|
1282
|
+
:param sort: Column to order by. Absent defaults to updated_at descending.
|
|
1283
|
+
:param dir: Sort direction; ignored without `sort`. Defaults to asc.
|
|
1284
|
+
:param page: Zero-based page index. Absent defaults to the first page.
|
|
1285
|
+
:param limit: Page size, clamped to [1, 200]. Absent defaults to 50."""
|
|
1286
|
+
|
|
1287
|
+
def fetch(page_param: int | None) -> SavedQueriesPage:
|
|
1288
|
+
response = self._request(
|
|
1289
|
+
ApiRequest(
|
|
1290
|
+
method="get",
|
|
1291
|
+
path="/api/v1/harbors/{harbor_id}/tiny-query/queries",
|
|
1292
|
+
path_params={
|
|
1293
|
+
"harbor_id": encode_path_param(
|
|
1294
|
+
"harbor_id", harbor_id, "simple", False
|
|
1295
|
+
),
|
|
1296
|
+
},
|
|
1297
|
+
query_params=serialize_query_params(
|
|
1298
|
+
{
|
|
1299
|
+
"data_dock_id": data_dock_id,
|
|
1300
|
+
"visibility": visibility,
|
|
1301
|
+
"search": search,
|
|
1302
|
+
"mine": mine,
|
|
1303
|
+
"scheduled": scheduled,
|
|
1304
|
+
"failing": failing,
|
|
1305
|
+
"suspended": suspended,
|
|
1306
|
+
"never_run": never_run,
|
|
1307
|
+
"sort": sort,
|
|
1308
|
+
"dir": dir,
|
|
1309
|
+
"page": page_param,
|
|
1310
|
+
"limit": limit,
|
|
1311
|
+
},
|
|
1312
|
+
),
|
|
1313
|
+
error_types={
|
|
1314
|
+
"default": _models.ApiErrorBody,
|
|
1315
|
+
},
|
|
1316
|
+
extra_headers=extra_headers,
|
|
1317
|
+
extra_query=extra_query,
|
|
1318
|
+
extra_body=extra_body,
|
|
1319
|
+
timeout=timeout,
|
|
1320
|
+
max_retries=max_retries,
|
|
1321
|
+
)
|
|
1322
|
+
)
|
|
1323
|
+
return decode_response(response, SavedQueriesPage)
|
|
1324
|
+
|
|
1325
|
+
paging = PagePaging[SavedQueriesPage, SavedQuery](
|
|
1326
|
+
items=lambda body: body.data,
|
|
1327
|
+
first_page=0,
|
|
1328
|
+
)
|
|
1329
|
+
return PetiteRequeteListHarborTinyQueryQueriesPage._first(fetch, page, paging)
|
|
1330
|
+
|
|
1331
|
+
def tiny_query_copilot_generate(
|
|
1332
|
+
self,
|
|
1333
|
+
*,
|
|
1334
|
+
data_dock_id: UUID,
|
|
1335
|
+
model: str | None | Unset = UNSET,
|
|
1336
|
+
prompt: str | None = None,
|
|
1337
|
+
repair: SqlCopilotRepairContext | None | Unset = UNSET,
|
|
1338
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1339
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1340
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1341
|
+
timeout: Timeout | Unset = UNSET,
|
|
1342
|
+
max_retries: int | None = None,
|
|
1343
|
+
) -> SqlCopilotResponse:
|
|
1344
|
+
"""NL → SQL. The schema grounding is fetched with the *caller's* JWT (same
|
|
1345
|
+
trust boundary as the SQL editor and `execute_query_handler`). Unlike the
|
|
1346
|
+
dashboards copilot, the result is not restricted to SELECT — Tiny Query is
|
|
1347
|
+
a general SQL IDE — and it lands in the editor as a draft; running it is
|
|
1348
|
+
still a separate, explicit action. One repair round if the generated SQL
|
|
1349
|
+
fails schema validation (`TinyQueryService::validate_sql`, a
|
|
1350
|
+
non-executing `EXPLAIN (TYPE VALIDATE)`), so a hallucinated table/column
|
|
1351
|
+
name is corrected — or clearly still wrong — before the caller sees it,
|
|
1352
|
+
rather than silently returned.
|
|
1353
|
+
|
|
1354
|
+
:param data_dock_id: Data Dock whose schema grounds the generation.
|
|
1355
|
+
:param model: Model override; defaults to the platform's generation model.
|
|
1356
|
+
:param prompt: The user's natural-language ask ("insert a daily rollup of order totals into a new table"). May be empty when `repair` drives the request."""
|
|
1357
|
+
response = self._request(
|
|
1358
|
+
ApiRequest(
|
|
1359
|
+
method="post",
|
|
1360
|
+
path="/api/v1/tiny-query/copilot/generate",
|
|
1361
|
+
json_body=to_json_value(
|
|
1362
|
+
SqlCopilotRequest(
|
|
1363
|
+
data_dock_id=data_dock_id,
|
|
1364
|
+
model=model,
|
|
1365
|
+
prompt=prompt,
|
|
1366
|
+
repair=repair,
|
|
1367
|
+
),
|
|
1368
|
+
SqlCopilotRequest,
|
|
1369
|
+
),
|
|
1370
|
+
error_types={
|
|
1371
|
+
"default": _models.ApiErrorBody,
|
|
1372
|
+
},
|
|
1373
|
+
extra_headers=extra_headers,
|
|
1374
|
+
extra_query=extra_query,
|
|
1375
|
+
extra_body=extra_body,
|
|
1376
|
+
timeout=timeout,
|
|
1377
|
+
max_retries=max_retries,
|
|
1378
|
+
)
|
|
1379
|
+
)
|
|
1380
|
+
return decode_response(response, SqlCopilotResponse)
|
|
1381
|
+
|
|
1382
|
+
def tiny_query_execute(
|
|
1383
|
+
self,
|
|
1384
|
+
*,
|
|
1385
|
+
data_dock_id: UUID,
|
|
1386
|
+
sql: str,
|
|
1387
|
+
limit: int | None | Unset = UNSET,
|
|
1388
|
+
query_id: UUID | None | Unset = UNSET,
|
|
1389
|
+
timeout_seconds: int | None | Unset = UNSET,
|
|
1390
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1391
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1392
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1393
|
+
timeout: Timeout | Unset = UNSET,
|
|
1394
|
+
max_retries: int | None = None,
|
|
1395
|
+
) -> QueryResult:
|
|
1396
|
+
"""Run a query and wait for its result
|
|
1397
|
+
|
|
1398
|
+
The request stays silent for the whole run, so a gateway idle timeout
|
|
1399
|
+
(300 s on Cilium) cuts off a longer one: start those with
|
|
1400
|
+
`POST /api/v1/tiny-query/runs` and poll instead.
|
|
1401
|
+
|
|
1402
|
+
:param query_id: Id for the run's history entry, chosen by the caller so it can cancel the run while it executes. Generated server-side when absent.
|
|
1403
|
+
:param timeout_seconds: Seconds before the statement is cancelled. Must sit inside the range `GET /api/v1/harbors/{harbor_id}/tiny-query/limits` returns; omitted, the server default applies."""
|
|
1404
|
+
response = self._request(
|
|
1405
|
+
ApiRequest(
|
|
1406
|
+
method="post",
|
|
1407
|
+
path="/api/v1/tiny-query/execute",
|
|
1408
|
+
json_body=to_json_value(
|
|
1409
|
+
ExecuteRequest(
|
|
1410
|
+
data_dock_id=data_dock_id,
|
|
1411
|
+
limit=limit,
|
|
1412
|
+
query_id=query_id,
|
|
1413
|
+
sql=sql,
|
|
1414
|
+
timeout_seconds=timeout_seconds,
|
|
1415
|
+
),
|
|
1416
|
+
ExecuteRequest,
|
|
1417
|
+
),
|
|
1418
|
+
error_types={
|
|
1419
|
+
"default": _models.ApiErrorBody,
|
|
1420
|
+
},
|
|
1421
|
+
extra_headers=extra_headers,
|
|
1422
|
+
extra_query=extra_query,
|
|
1423
|
+
extra_body=extra_body,
|
|
1424
|
+
timeout=timeout,
|
|
1425
|
+
max_retries=max_retries,
|
|
1426
|
+
)
|
|
1427
|
+
)
|
|
1428
|
+
return decode_response(response, QueryResult)
|
|
1429
|
+
|
|
1430
|
+
def retrieve_tiny_query_history(
|
|
1431
|
+
self,
|
|
1432
|
+
history_id: UUID,
|
|
1433
|
+
*,
|
|
1434
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1435
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1436
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1437
|
+
timeout: Timeout | Unset = UNSET,
|
|
1438
|
+
max_retries: int | None = None,
|
|
1439
|
+
) -> QueryHistoryEntry:
|
|
1440
|
+
"""A single run's full detail, including its (possibly truncated) output —
|
|
1441
|
+
unlike the list endpoint, which never selects `result_data` to stay light
|
|
1442
|
+
for the interactive History tab. Org-scoped, not restricted to the
|
|
1443
|
+
entry's own `user_id`: a scheduled run executes under the schedule's
|
|
1444
|
+
owner, not necessarily the viewer, and anyone who can see the scheduled
|
|
1445
|
+
query on the Data Engineering list can already see that it ran."""
|
|
1446
|
+
response = self._request(
|
|
1447
|
+
ApiRequest(
|
|
1448
|
+
method="get",
|
|
1449
|
+
path="/api/v1/tiny-query/history/{history_id}",
|
|
1450
|
+
path_params={
|
|
1451
|
+
"history_id": encode_path_param(
|
|
1452
|
+
"history_id", history_id, "simple", False
|
|
1453
|
+
),
|
|
1454
|
+
},
|
|
1455
|
+
error_types={
|
|
1456
|
+
"default": _models.ApiErrorBody,
|
|
1457
|
+
},
|
|
1458
|
+
extra_headers=extra_headers,
|
|
1459
|
+
extra_query=extra_query,
|
|
1460
|
+
extra_body=extra_body,
|
|
1461
|
+
timeout=timeout,
|
|
1462
|
+
max_retries=max_retries,
|
|
1463
|
+
)
|
|
1464
|
+
)
|
|
1465
|
+
return decode_response(response, QueryHistoryEntry)
|
|
1466
|
+
|
|
1467
|
+
def cancel_tiny_query_history(
|
|
1468
|
+
self,
|
|
1469
|
+
history_id: UUID,
|
|
1470
|
+
*,
|
|
1471
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1472
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1473
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1474
|
+
timeout: Timeout | Unset = UNSET,
|
|
1475
|
+
max_retries: int | None = None,
|
|
1476
|
+
) -> None:
|
|
1477
|
+
"""Cancel a running query by its history id — the `query_id` the caller sent
|
|
1478
|
+
to `/execute`, so it is known while the query runs."""
|
|
1479
|
+
self._request(
|
|
1480
|
+
ApiRequest(
|
|
1481
|
+
method="post",
|
|
1482
|
+
path="/api/v1/tiny-query/history/{history_id}/cancel",
|
|
1483
|
+
path_params={
|
|
1484
|
+
"history_id": encode_path_param(
|
|
1485
|
+
"history_id", history_id, "simple", False
|
|
1486
|
+
),
|
|
1487
|
+
},
|
|
1488
|
+
error_types={
|
|
1489
|
+
"default": _models.ApiErrorBody,
|
|
1490
|
+
},
|
|
1491
|
+
extra_headers=extra_headers,
|
|
1492
|
+
extra_query=extra_query,
|
|
1493
|
+
extra_body=extra_body,
|
|
1494
|
+
timeout=timeout,
|
|
1495
|
+
max_retries=max_retries,
|
|
1496
|
+
)
|
|
1497
|
+
)
|
|
1498
|
+
|
|
1499
|
+
def create_tiny_query_query(
|
|
1500
|
+
self,
|
|
1501
|
+
*,
|
|
1502
|
+
data_dock_id: UUID,
|
|
1503
|
+
sql_text: str,
|
|
1504
|
+
title: str,
|
|
1505
|
+
alert_on_failure: bool | None | Unset = UNSET,
|
|
1506
|
+
description: str | None | Unset = UNSET,
|
|
1507
|
+
schedule: str | None | Unset = UNSET,
|
|
1508
|
+
service_account_id: UUID | None | Unset = UNSET,
|
|
1509
|
+
tags: list[str] | None | Unset = UNSET,
|
|
1510
|
+
visibility: str | None | Unset = UNSET,
|
|
1511
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1512
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1513
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1514
|
+
timeout: Timeout | Unset = UNSET,
|
|
1515
|
+
max_retries: int | None = None,
|
|
1516
|
+
) -> SavedQuery:
|
|
1517
|
+
"""`POST /api/v1/tiny-query/queries`.
|
|
1518
|
+
|
|
1519
|
+
:param alert_on_failure: Whether the schedule gets its default "keeps failing" alert rule. Omitted means yes.
|
|
1520
|
+
:param schedule: Cron expression. Omitted or `null` means the query only runs on demand.
|
|
1521
|
+
:param service_account_id: The service account the schedule runs as. Required whenever `schedule` is set, ignored otherwise — an on-demand query runs on its caller's own token and needs no standing identity."""
|
|
1522
|
+
response = self._request(
|
|
1523
|
+
ApiRequest(
|
|
1524
|
+
method="post",
|
|
1525
|
+
path="/api/v1/tiny-query/queries",
|
|
1526
|
+
json_body=to_json_value(
|
|
1527
|
+
CreateSavedQueryRequest(
|
|
1528
|
+
alert_on_failure=alert_on_failure,
|
|
1529
|
+
data_dock_id=data_dock_id,
|
|
1530
|
+
description=description,
|
|
1531
|
+
schedule=schedule,
|
|
1532
|
+
service_account_id=service_account_id,
|
|
1533
|
+
sql_text=sql_text,
|
|
1534
|
+
tags=tags,
|
|
1535
|
+
title=title,
|
|
1536
|
+
visibility=visibility,
|
|
1537
|
+
),
|
|
1538
|
+
CreateSavedQueryRequest,
|
|
1539
|
+
),
|
|
1540
|
+
error_types={
|
|
1541
|
+
"default": _models.ApiErrorBody,
|
|
1542
|
+
},
|
|
1543
|
+
extra_headers=extra_headers,
|
|
1544
|
+
extra_query=extra_query,
|
|
1545
|
+
extra_body=extra_body,
|
|
1546
|
+
timeout=timeout,
|
|
1547
|
+
max_retries=max_retries,
|
|
1548
|
+
)
|
|
1549
|
+
)
|
|
1550
|
+
return decode_response(response, SavedQuery)
|
|
1551
|
+
|
|
1552
|
+
def retrieve_tiny_query_query(
|
|
1553
|
+
self,
|
|
1554
|
+
query_id: UUID,
|
|
1555
|
+
*,
|
|
1556
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1557
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1558
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1559
|
+
timeout: Timeout | Unset = UNSET,
|
|
1560
|
+
max_retries: int | None = None,
|
|
1561
|
+
) -> SavedQuery:
|
|
1562
|
+
"""`GET /api/v1/tiny-query/queries/{query_id}`."""
|
|
1563
|
+
response = self._request(
|
|
1564
|
+
ApiRequest(
|
|
1565
|
+
method="get",
|
|
1566
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
1567
|
+
path_params={
|
|
1568
|
+
"query_id": encode_path_param(
|
|
1569
|
+
"query_id", query_id, "simple", False
|
|
1570
|
+
),
|
|
1571
|
+
},
|
|
1572
|
+
error_types={
|
|
1573
|
+
"default": _models.ApiErrorBody,
|
|
1574
|
+
},
|
|
1575
|
+
extra_headers=extra_headers,
|
|
1576
|
+
extra_query=extra_query,
|
|
1577
|
+
extra_body=extra_body,
|
|
1578
|
+
timeout=timeout,
|
|
1579
|
+
max_retries=max_retries,
|
|
1580
|
+
)
|
|
1581
|
+
)
|
|
1582
|
+
return decode_response(response, SavedQuery)
|
|
1583
|
+
|
|
1584
|
+
def update_tiny_query_query(
|
|
1585
|
+
self,
|
|
1586
|
+
query_id: UUID,
|
|
1587
|
+
*,
|
|
1588
|
+
alert_on_failure: bool | None | Unset = UNSET,
|
|
1589
|
+
description: str | None | Unset = UNSET,
|
|
1590
|
+
schedule: str | None | Unset = UNSET,
|
|
1591
|
+
service_account_id: UUID | None | Unset = UNSET,
|
|
1592
|
+
sql_text: str | None | Unset = UNSET,
|
|
1593
|
+
suspended: bool | None | Unset = UNSET,
|
|
1594
|
+
tags: list[str] | None | Unset = UNSET,
|
|
1595
|
+
title: str | None | Unset = UNSET,
|
|
1596
|
+
visibility: str | None | Unset = UNSET,
|
|
1597
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1598
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1599
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1600
|
+
timeout: Timeout | Unset = UNSET,
|
|
1601
|
+
max_retries: int | None = None,
|
|
1602
|
+
) -> SavedQuery:
|
|
1603
|
+
"""`PUT /api/v1/tiny-query/queries/{query_id}`.
|
|
1604
|
+
|
|
1605
|
+
:param alert_on_failure: Omitted leaves the alert choice unchanged.
|
|
1606
|
+
:param schedule: Absent = keep the current schedule; `null` = unschedule the query; a string = replace the cron. This is a double option on purpose. With a plain `Option<String>` serde folds "absent" and "explicit null" together, and the repository's `.or(current)` fallback then writes the old cron back — which left no request at all that could stop a scheduled query.
|
|
1607
|
+
:param service_account_id: Absent = keep the current account; a value = reassign the schedule to it. Deliberately *not* a double option: there is no request that detaches an account while leaving the schedule active, because that would be a schedule nothing can authorize. Clearing the `schedule` clears this alongside it.
|
|
1608
|
+
:param suspended: Omitted leaves suspended state unchanged. `Some(false)` (an explicit resume) with no schedule text change also recomputes `next_run_at` fresh from now, rather than firing immediately on a stale, long-past value."""
|
|
1609
|
+
response = self._request(
|
|
1610
|
+
ApiRequest(
|
|
1611
|
+
method="put",
|
|
1612
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
1613
|
+
path_params={
|
|
1614
|
+
"query_id": encode_path_param(
|
|
1615
|
+
"query_id", query_id, "simple", False
|
|
1616
|
+
),
|
|
1617
|
+
},
|
|
1618
|
+
json_body=to_json_value(
|
|
1619
|
+
UpdateSavedQueryRequest(
|
|
1620
|
+
alert_on_failure=alert_on_failure,
|
|
1621
|
+
description=description,
|
|
1622
|
+
schedule=schedule,
|
|
1623
|
+
service_account_id=service_account_id,
|
|
1624
|
+
sql_text=sql_text,
|
|
1625
|
+
suspended=suspended,
|
|
1626
|
+
tags=tags,
|
|
1627
|
+
title=title,
|
|
1628
|
+
visibility=visibility,
|
|
1629
|
+
),
|
|
1630
|
+
UpdateSavedQueryRequest,
|
|
1631
|
+
),
|
|
1632
|
+
error_types={
|
|
1633
|
+
"default": _models.ApiErrorBody,
|
|
1634
|
+
},
|
|
1635
|
+
extra_headers=extra_headers,
|
|
1636
|
+
extra_query=extra_query,
|
|
1637
|
+
extra_body=extra_body,
|
|
1638
|
+
timeout=timeout,
|
|
1639
|
+
max_retries=max_retries,
|
|
1640
|
+
)
|
|
1641
|
+
)
|
|
1642
|
+
return decode_response(response, SavedQuery)
|
|
1643
|
+
|
|
1644
|
+
def delete_tiny_query_query(
|
|
1645
|
+
self,
|
|
1646
|
+
query_id: UUID,
|
|
1647
|
+
*,
|
|
1648
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1649
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1650
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1651
|
+
timeout: Timeout | Unset = UNSET,
|
|
1652
|
+
max_retries: int | None = None,
|
|
1653
|
+
) -> None:
|
|
1654
|
+
"""`DELETE /api/v1/tiny-query/queries/{query_id}`."""
|
|
1655
|
+
self._request(
|
|
1656
|
+
ApiRequest(
|
|
1657
|
+
method="delete",
|
|
1658
|
+
path="/api/v1/tiny-query/queries/{query_id}",
|
|
1659
|
+
path_params={
|
|
1660
|
+
"query_id": encode_path_param(
|
|
1661
|
+
"query_id", query_id, "simple", False
|
|
1662
|
+
),
|
|
1663
|
+
},
|
|
1664
|
+
error_types={
|
|
1665
|
+
"default": _models.ApiErrorBody,
|
|
1666
|
+
},
|
|
1667
|
+
extra_headers=extra_headers,
|
|
1668
|
+
extra_query=extra_query,
|
|
1669
|
+
extra_body=extra_body,
|
|
1670
|
+
timeout=timeout,
|
|
1671
|
+
max_retries=max_retries,
|
|
1672
|
+
)
|
|
1673
|
+
)
|
|
1674
|
+
|
|
1675
|
+
def run_tiny_query_query(
|
|
1676
|
+
self,
|
|
1677
|
+
query_id: UUID,
|
|
1678
|
+
*,
|
|
1679
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1680
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1681
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1682
|
+
timeout: Timeout | Unset = UNSET,
|
|
1683
|
+
max_retries: int | None = None,
|
|
1684
|
+
) -> QueryResult:
|
|
1685
|
+
"""Executes a scheduled query's SQL on demand, under the *caller's* own
|
|
1686
|
+
session (same trust boundary as `execute_query_handler`) — not the
|
|
1687
|
+
schedule owner's identity, so this never depends on the owner having
|
|
1688
|
+
granted background execution. Writes to `query_history` like any run
|
|
1689
|
+
(visible in the run-history detail view, output included) but never
|
|
1690
|
+
updates the schedule's own tracked health."""
|
|
1691
|
+
response = self._request(
|
|
1692
|
+
ApiRequest(
|
|
1693
|
+
method="post",
|
|
1694
|
+
path="/api/v1/tiny-query/queries/{query_id}/run",
|
|
1695
|
+
path_params={
|
|
1696
|
+
"query_id": encode_path_param(
|
|
1697
|
+
"query_id", query_id, "simple", False
|
|
1698
|
+
),
|
|
1699
|
+
},
|
|
1700
|
+
error_types={
|
|
1701
|
+
"default": _models.ApiErrorBody,
|
|
1702
|
+
},
|
|
1703
|
+
extra_headers=extra_headers,
|
|
1704
|
+
extra_query=extra_query,
|
|
1705
|
+
extra_body=extra_body,
|
|
1706
|
+
timeout=timeout,
|
|
1707
|
+
max_retries=max_retries,
|
|
1708
|
+
)
|
|
1709
|
+
)
|
|
1710
|
+
return decode_response(response, QueryResult)
|
|
1711
|
+
|
|
1712
|
+
def retrieve_tiny_query_result(
|
|
1713
|
+
self,
|
|
1714
|
+
query_id: UUID,
|
|
1715
|
+
*,
|
|
1716
|
+
offset: int | None = None,
|
|
1717
|
+
limit: int | None = None,
|
|
1718
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1719
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1720
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1721
|
+
timeout: Timeout | Unset = UNSET,
|
|
1722
|
+
max_retries: int | None = None,
|
|
1723
|
+
) -> ResultsPage:
|
|
1724
|
+
"""`GET /api/v1/tiny-query/results/{query_id}`.
|
|
1725
|
+
|
|
1726
|
+
:param offset: Row offset (default 0)
|
|
1727
|
+
:param limit: Number of rows (default 500)"""
|
|
1728
|
+
response = self._request(
|
|
1729
|
+
ApiRequest(
|
|
1730
|
+
method="get",
|
|
1731
|
+
path="/api/v1/tiny-query/results/{query_id}",
|
|
1732
|
+
path_params={
|
|
1733
|
+
"query_id": encode_path_param(
|
|
1734
|
+
"query_id", query_id, "simple", False
|
|
1735
|
+
),
|
|
1736
|
+
},
|
|
1737
|
+
query_params=serialize_query_params(
|
|
1738
|
+
{
|
|
1739
|
+
"offset": offset,
|
|
1740
|
+
"limit": limit,
|
|
1741
|
+
},
|
|
1742
|
+
),
|
|
1743
|
+
error_types={
|
|
1744
|
+
"default": _models.ApiErrorBody,
|
|
1745
|
+
},
|
|
1746
|
+
extra_headers=extra_headers,
|
|
1747
|
+
extra_query=extra_query,
|
|
1748
|
+
extra_body=extra_body,
|
|
1749
|
+
timeout=timeout,
|
|
1750
|
+
max_retries=max_retries,
|
|
1751
|
+
)
|
|
1752
|
+
)
|
|
1753
|
+
return decode_response(response, ResultsPage)
|
|
1754
|
+
|
|
1755
|
+
def create_tiny_query_run(
|
|
1756
|
+
self,
|
|
1757
|
+
*,
|
|
1758
|
+
data_dock_id: UUID,
|
|
1759
|
+
sql: str,
|
|
1760
|
+
limit: int | None | Unset = UNSET,
|
|
1761
|
+
query_id: UUID | None | Unset = UNSET,
|
|
1762
|
+
timeout_seconds: int | None | Unset = UNSET,
|
|
1763
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1764
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1765
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1766
|
+
timeout: Timeout | Unset = UNSET,
|
|
1767
|
+
max_retries: int | None = None,
|
|
1768
|
+
) -> QueryRun:
|
|
1769
|
+
"""Start a query run
|
|
1770
|
+
|
|
1771
|
+
Answers at once with the run's id; poll `GET /api/v1/tiny-query/runs/{query_id}`
|
|
1772
|
+
for its outcome. Takes the same body as `POST /api/v1/tiny-query/execute`.
|
|
1773
|
+
|
|
1774
|
+
:param query_id: Id for the run's history entry, chosen by the caller so it can cancel the run while it executes. Generated server-side when absent.
|
|
1775
|
+
:param timeout_seconds: Seconds before the statement is cancelled. Must sit inside the range `GET /api/v1/harbors/{harbor_id}/tiny-query/limits` returns; omitted, the server default applies."""
|
|
1776
|
+
response = self._request(
|
|
1777
|
+
ApiRequest(
|
|
1778
|
+
method="post",
|
|
1779
|
+
path="/api/v1/tiny-query/runs",
|
|
1780
|
+
json_body=to_json_value(
|
|
1781
|
+
ExecuteRequest(
|
|
1782
|
+
data_dock_id=data_dock_id,
|
|
1783
|
+
limit=limit,
|
|
1784
|
+
query_id=query_id,
|
|
1785
|
+
sql=sql,
|
|
1786
|
+
timeout_seconds=timeout_seconds,
|
|
1787
|
+
),
|
|
1788
|
+
ExecuteRequest,
|
|
1789
|
+
),
|
|
1790
|
+
error_types={
|
|
1791
|
+
"default": _models.ApiErrorBody,
|
|
1792
|
+
},
|
|
1793
|
+
extra_headers=extra_headers,
|
|
1794
|
+
extra_query=extra_query,
|
|
1795
|
+
extra_body=extra_body,
|
|
1796
|
+
timeout=timeout,
|
|
1797
|
+
max_retries=max_retries,
|
|
1798
|
+
)
|
|
1799
|
+
)
|
|
1800
|
+
return decode_response(response, QueryRun)
|
|
1801
|
+
|
|
1802
|
+
def retrieve_tiny_query_run(
|
|
1803
|
+
self,
|
|
1804
|
+
query_id: UUID,
|
|
1805
|
+
*,
|
|
1806
|
+
wait_seconds: int | None = None,
|
|
1807
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1808
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1809
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1810
|
+
timeout: Timeout | Unset = UNSET,
|
|
1811
|
+
max_retries: int | None = None,
|
|
1812
|
+
) -> QueryRun:
|
|
1813
|
+
"""Poll a query run
|
|
1814
|
+
|
|
1815
|
+
Waits up to `wait_seconds` for the run to end, then answers where it stands:
|
|
1816
|
+
`running`, `completed` with the first page of rows, or `failed` with the
|
|
1817
|
+
status and message `POST /api/v1/tiny-query/execute` would have returned.
|
|
1818
|
+
|
|
1819
|
+
:param wait_seconds: Seconds to wait for the run to finish before answering `running` (0 to 30, default 0)."""
|
|
1820
|
+
response = self._request(
|
|
1821
|
+
ApiRequest(
|
|
1822
|
+
method="get",
|
|
1823
|
+
path="/api/v1/tiny-query/runs/{query_id}",
|
|
1824
|
+
path_params={
|
|
1825
|
+
"query_id": encode_path_param(
|
|
1826
|
+
"query_id", query_id, "simple", False
|
|
1827
|
+
),
|
|
1828
|
+
},
|
|
1829
|
+
query_params=serialize_query_params(
|
|
1830
|
+
{
|
|
1831
|
+
"wait_seconds": wait_seconds,
|
|
1832
|
+
},
|
|
1833
|
+
),
|
|
1834
|
+
error_types={
|
|
1835
|
+
"default": _models.ApiErrorBody,
|
|
1836
|
+
},
|
|
1837
|
+
extra_headers=extra_headers,
|
|
1838
|
+
extra_query=extra_query,
|
|
1839
|
+
extra_body=extra_body,
|
|
1840
|
+
timeout=timeout,
|
|
1841
|
+
max_retries=max_retries,
|
|
1842
|
+
)
|
|
1843
|
+
)
|
|
1844
|
+
return decode_response(response, QueryRun)
|
|
1845
|
+
|
|
1846
|
+
def retrieve_tiny_query_schema(
|
|
1847
|
+
self,
|
|
1848
|
+
data_dock_id: UUID,
|
|
1849
|
+
*,
|
|
1850
|
+
refresh: bool | None = None,
|
|
1851
|
+
extra_headers: t.Mapping[str, str] | None = None,
|
|
1852
|
+
extra_query: t.Mapping[str, object] | None = None,
|
|
1853
|
+
extra_body: t.Mapping[str, object] | None = None,
|
|
1854
|
+
timeout: Timeout | Unset = UNSET,
|
|
1855
|
+
max_retries: int | None = None,
|
|
1856
|
+
) -> TrinoMetadata:
|
|
1857
|
+
"""`GET /api/v1/tiny-query/schema/{data_dock_id}`.
|
|
1858
|
+
|
|
1859
|
+
:param refresh: Re-introspect the cluster instead of serving the cached schema. This is what the schema browser's refresh button sends. Absent or `false` is the normal path and answers from cache while it is warm."""
|
|
1860
|
+
response = self._request(
|
|
1861
|
+
ApiRequest(
|
|
1862
|
+
method="get",
|
|
1863
|
+
path="/api/v1/tiny-query/schema/{data_dock_id}",
|
|
1864
|
+
path_params={
|
|
1865
|
+
"data_dock_id": encode_path_param(
|
|
1866
|
+
"data_dock_id", data_dock_id, "simple", False
|
|
1867
|
+
),
|
|
1868
|
+
},
|
|
1869
|
+
query_params=serialize_query_params(
|
|
1870
|
+
{
|
|
1871
|
+
"refresh": refresh,
|
|
1872
|
+
},
|
|
1873
|
+
),
|
|
1874
|
+
error_types={
|
|
1875
|
+
"default": _models.ApiErrorBody,
|
|
1876
|
+
},
|
|
1877
|
+
extra_headers=extra_headers,
|
|
1878
|
+
extra_query=extra_query,
|
|
1879
|
+
extra_body=extra_body,
|
|
1880
|
+
timeout=timeout,
|
|
1881
|
+
max_retries=max_retries,
|
|
1882
|
+
)
|
|
1883
|
+
)
|
|
1884
|
+
return decode_response(response, TrinoMetadata)
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
class PetiteRequeteWithRawResponse:
|
|
1888
|
+
"""The methods of :class:`PetiteRequete`, returning an :class:`APIResponse`."""
|
|
1889
|
+
|
|
1890
|
+
def __init__(self, resource: PetiteRequete) -> None:
|
|
1891
|
+
self.list_harbor_tiny_query_analytics_slow_queries = to_raw_response_wrapper(
|
|
1892
|
+
resource.list_harbor_tiny_query_analytics_slow_queries
|
|
1893
|
+
)
|
|
1894
|
+
self.retrieve_harbor_tiny_query_analytics_summary = to_raw_response_wrapper(
|
|
1895
|
+
resource.retrieve_harbor_tiny_query_analytics_summary
|
|
1896
|
+
)
|
|
1897
|
+
self.list_harbor_tiny_query_analytics_trends = to_raw_response_wrapper(
|
|
1898
|
+
resource.list_harbor_tiny_query_analytics_trends
|
|
1899
|
+
)
|
|
1900
|
+
self.list_harbor_tiny_query_history = to_raw_response_wrapper(
|
|
1901
|
+
resource.list_harbor_tiny_query_history
|
|
1902
|
+
)
|
|
1903
|
+
self.list_harbor_tiny_query_limits = to_raw_response_wrapper(
|
|
1904
|
+
resource.list_harbor_tiny_query_limits
|
|
1905
|
+
)
|
|
1906
|
+
self.list_harbor_tiny_query_queries = to_raw_response_wrapper(
|
|
1907
|
+
resource.list_harbor_tiny_query_queries
|
|
1908
|
+
)
|
|
1909
|
+
self.tiny_query_copilot_generate = to_raw_response_wrapper(
|
|
1910
|
+
resource.tiny_query_copilot_generate
|
|
1911
|
+
)
|
|
1912
|
+
self.tiny_query_execute = to_raw_response_wrapper(resource.tiny_query_execute)
|
|
1913
|
+
self.retrieve_tiny_query_history = to_raw_response_wrapper(
|
|
1914
|
+
resource.retrieve_tiny_query_history
|
|
1915
|
+
)
|
|
1916
|
+
self.cancel_tiny_query_history = to_raw_response_wrapper(
|
|
1917
|
+
resource.cancel_tiny_query_history
|
|
1918
|
+
)
|
|
1919
|
+
self.create_tiny_query_query = to_raw_response_wrapper(
|
|
1920
|
+
resource.create_tiny_query_query
|
|
1921
|
+
)
|
|
1922
|
+
self.retrieve_tiny_query_query = to_raw_response_wrapper(
|
|
1923
|
+
resource.retrieve_tiny_query_query
|
|
1924
|
+
)
|
|
1925
|
+
self.update_tiny_query_query = to_raw_response_wrapper(
|
|
1926
|
+
resource.update_tiny_query_query
|
|
1927
|
+
)
|
|
1928
|
+
self.delete_tiny_query_query = to_raw_response_wrapper(
|
|
1929
|
+
resource.delete_tiny_query_query
|
|
1930
|
+
)
|
|
1931
|
+
self.run_tiny_query_query = to_raw_response_wrapper(
|
|
1932
|
+
resource.run_tiny_query_query
|
|
1933
|
+
)
|
|
1934
|
+
self.retrieve_tiny_query_result = to_raw_response_wrapper(
|
|
1935
|
+
resource.retrieve_tiny_query_result
|
|
1936
|
+
)
|
|
1937
|
+
self.create_tiny_query_run = to_raw_response_wrapper(
|
|
1938
|
+
resource.create_tiny_query_run
|
|
1939
|
+
)
|
|
1940
|
+
self.retrieve_tiny_query_run = to_raw_response_wrapper(
|
|
1941
|
+
resource.retrieve_tiny_query_run
|
|
1942
|
+
)
|
|
1943
|
+
self.retrieve_tiny_query_schema = to_raw_response_wrapper(
|
|
1944
|
+
resource.retrieve_tiny_query_schema
|
|
1945
|
+
)
|