robosystems-client 0.2.15__py3-none-any.whl → 0.2.16__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.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +23 -27
- robosystems_client/api/agent/batch_process_queries.py +13 -13
- robosystems_client/api/agent/execute_specific_agent.py +23 -27
- robosystems_client/api/agent/get_agent_metadata.py +13 -13
- robosystems_client/api/agent/list_agents.py +23 -23
- robosystems_client/api/agent/recommend_agent.py +13 -13
- robosystems_client/api/auth/check_password_strength.py +17 -17
- robosystems_client/api/auth/complete_sso_auth.py +17 -17
- robosystems_client/api/auth/forgot_password.py +17 -23
- robosystems_client/api/auth/generate_sso_token.py +26 -26
- robosystems_client/api/auth/get_captcha_config.py +6 -6
- robosystems_client/api/auth/get_current_auth_user.py +17 -17
- robosystems_client/api/auth/get_password_policy.py +10 -10
- robosystems_client/api/auth/login_user.py +17 -17
- robosystems_client/api/auth/logout_user.py +10 -10
- robosystems_client/api/auth/refresh_auth_session.py +17 -17
- robosystems_client/api/auth/register_user.py +17 -17
- robosystems_client/api/auth/resend_verification_email.py +17 -29
- robosystems_client/api/auth/reset_password.py +17 -17
- robosystems_client/api/auth/sso_token_exchange.py +17 -17
- robosystems_client/api/auth/validate_reset_token.py +17 -17
- robosystems_client/api/auth/verify_email.py +17 -17
- robosystems_client/api/backup/create_backup.py +13 -13
- robosystems_client/api/backup/get_backup_download_url.py +22 -22
- robosystems_client/api/backup/get_backup_stats.py +13 -13
- robosystems_client/api/backup/list_backups.py +31 -31
- robosystems_client/api/backup/restore_backup.py +13 -13
- robosystems_client/api/billing/cancel_org_subscription.py +13 -13
- robosystems_client/api/billing/create_checkout_session.py +13 -13
- robosystems_client/api/billing/create_portal_session.py +13 -13
- robosystems_client/api/billing/get_checkout_status.py +13 -13
- robosystems_client/api/billing/get_org_billing_customer.py +13 -13
- robosystems_client/api/billing/get_org_subscription.py +13 -13
- robosystems_client/api/billing/get_org_upcoming_invoice.py +16 -16
- robosystems_client/api/billing/list_org_invoices.py +22 -22
- robosystems_client/api/billing/list_org_subscriptions.py +13 -13
- robosystems_client/api/connections/create_connection.py +13 -13
- robosystems_client/api/connections/create_link_token.py +13 -13
- robosystems_client/api/connections/delete_connection.py +13 -13
- robosystems_client/api/connections/exchange_link_token.py +13 -13
- robosystems_client/api/connections/get_connection.py +13 -13
- robosystems_client/api/connections/get_connection_options.py +13 -13
- robosystems_client/api/connections/init_o_auth.py +13 -13
- robosystems_client/api/connections/list_connections.py +33 -33
- robosystems_client/api/connections/oauth_callback.py +13 -13
- robosystems_client/api/connections/sync_connection.py +13 -19
- robosystems_client/api/credits_/check_credit_balance.py +38 -45
- robosystems_client/api/credits_/check_storage_limits.py +13 -13
- robosystems_client/api/credits_/get_credit_summary.py +13 -13
- robosystems_client/api/credits_/get_storage_usage.py +28 -28
- robosystems_client/api/credits_/list_credit_transactions.py +71 -71
- robosystems_client/api/files/__init__.py +1 -0
- robosystems_client/api/files/create_file_upload.py +311 -0
- robosystems_client/api/files/delete_file.py +354 -0
- robosystems_client/api/files/get_file.py +329 -0
- robosystems_client/api/files/list_files.py +346 -0
- robosystems_client/api/files/update_file.py +320 -0
- robosystems_client/api/graph_health/get_database_health.py +13 -13
- robosystems_client/api/graph_info/get_database_info.py +13 -13
- robosystems_client/api/graph_limits/get_graph_limits.py +13 -13
- robosystems_client/api/graphs/create_graph.py +13 -13
- robosystems_client/api/graphs/get_available_extensions.py +13 -13
- robosystems_client/api/graphs/get_available_graph_tiers.py +22 -22
- robosystems_client/api/graphs/get_graphs.py +13 -13
- robosystems_client/api/graphs/select_graph.py +13 -13
- robosystems_client/api/materialization/__init__.py +1 -0
- robosystems_client/api/materialization/get_materialization_status.py +272 -0
- robosystems_client/api/materialization/materialize_graph.py +416 -0
- robosystems_client/api/mcp/call_mcp_tool.py +32 -32
- robosystems_client/api/mcp/list_mcp_tools.py +13 -13
- robosystems_client/api/operations/cancel_operation.py +13 -13
- robosystems_client/api/operations/get_operation_status.py +13 -25
- robosystems_client/api/operations/stream_operation_events.py +41 -41
- robosystems_client/api/org/create_org.py +13 -13
- robosystems_client/api/org/get_org.py +13 -13
- robosystems_client/api/org/list_org_graphs.py +13 -13
- robosystems_client/api/org/list_user_orgs.py +6 -6
- robosystems_client/api/org/update_org.py +13 -13
- robosystems_client/api/org_members/invite_org_member.py +13 -13
- robosystems_client/api/org_members/list_org_members.py +13 -13
- robosystems_client/api/org_members/remove_org_member.py +13 -13
- robosystems_client/api/org_members/update_org_member_role.py +13 -13
- robosystems_client/api/org_usage/get_org_limits.py +13 -13
- robosystems_client/api/org_usage/get_org_usage.py +22 -22
- robosystems_client/api/query/execute_cypher_query.py +74 -62
- robosystems_client/api/schema/export_graph_schema.py +35 -35
- robosystems_client/api/schema/get_graph_schema.py +13 -13
- robosystems_client/api/schema/validate_schema.py +13 -13
- robosystems_client/api/service_offerings/get_service_offerings.py +17 -17
- robosystems_client/api/status/get_service_status.py +10 -10
- robosystems_client/api/subgraphs/create_subgraph.py +64 -28
- robosystems_client/api/subgraphs/delete_subgraph.py +13 -13
- robosystems_client/api/subgraphs/get_subgraph_info.py +13 -13
- robosystems_client/api/subgraphs/get_subgraph_quota.py +13 -13
- robosystems_client/api/subgraphs/list_subgraphs.py +13 -13
- robosystems_client/api/subscriptions/create_repository_subscription.py +13 -13
- robosystems_client/api/subscriptions/get_graph_subscription.py +13 -13
- robosystems_client/api/subscriptions/upgrade_subscription.py +13 -13
- robosystems_client/api/tables/list_tables.py +13 -13
- robosystems_client/api/tables/query_tables.py +13 -13
- robosystems_client/api/usage/get_graph_metrics.py +13 -13
- robosystems_client/api/usage/get_graph_usage_analytics.py +66 -66
- robosystems_client/api/user/create_user_api_key.py +13 -13
- robosystems_client/api/user/get_current_user.py +6 -6
- robosystems_client/api/user/list_user_api_keys.py +6 -6
- robosystems_client/api/user/revoke_user_api_key.py +13 -13
- robosystems_client/api/user/update_user.py +13 -13
- robosystems_client/api/user/update_user_api_key.py +13 -13
- robosystems_client/api/user/update_user_password.py +13 -13
- robosystems_client/api/views/__init__.py +1 -0
- robosystems_client/api/views/create_view.py +245 -0
- robosystems_client/api/views/save_view.py +299 -0
- robosystems_client/client.py +13 -13
- robosystems_client/extensions/__init__.py +39 -0
- robosystems_client/extensions/element_mapping_client.py +585 -0
- robosystems_client/extensions/subgraph_workspace_client.py +744 -0
- robosystems_client/extensions/table_ingest_client.py +24 -23
- robosystems_client/extensions/view_builder_client.py +617 -0
- robosystems_client/models/__init__.py +34 -10
- robosystems_client/models/account_info.py +2 -0
- robosystems_client/models/agent_list_response.py +3 -1
- robosystems_client/models/agent_list_response_agents.py +5 -3
- robosystems_client/models/agent_list_response_agents_additional_property.py +2 -0
- robosystems_client/models/agent_message.py +9 -7
- robosystems_client/models/agent_metadata_response.py +11 -9
- robosystems_client/models/agent_recommendation.py +8 -6
- robosystems_client/models/agent_recommendation_request.py +9 -7
- robosystems_client/models/agent_recommendation_request_context_type_0.py +2 -0
- robosystems_client/models/agent_recommendation_response.py +4 -2
- robosystems_client/models/agent_request.py +41 -40
- robosystems_client/models/agent_request_context_type_0.py +2 -0
- robosystems_client/models/agent_response.py +42 -44
- robosystems_client/models/agent_response_error_details_type_0.py +2 -0
- robosystems_client/models/agent_response_metadata_type_0.py +2 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +2 -0
- robosystems_client/models/api_key_info.py +18 -16
- robosystems_client/models/api_keys_response.py +4 -2
- robosystems_client/models/auth_response.py +26 -24
- robosystems_client/models/auth_response_org_type_0.py +2 -0
- robosystems_client/models/auth_response_user.py +2 -0
- robosystems_client/models/available_extension.py +5 -3
- robosystems_client/models/available_extensions_response.py +4 -2
- robosystems_client/models/available_graph_tiers_response.py +4 -2
- robosystems_client/models/backup_create_request.py +18 -16
- robosystems_client/models/backup_download_url_response.py +2 -0
- robosystems_client/models/backup_limits.py +2 -0
- robosystems_client/models/backup_list_response.py +4 -2
- robosystems_client/models/backup_response.py +13 -11
- robosystems_client/models/backup_restore_request.py +7 -6
- robosystems_client/models/backup_stats_response.py +9 -7
- robosystems_client/models/backup_stats_response_backup_formats.py +2 -0
- robosystems_client/models/batch_agent_request.py +7 -5
- robosystems_client/models/batch_agent_response.py +4 -2
- robosystems_client/models/billing_customer.py +10 -8
- robosystems_client/models/cancel_operation_response_canceloperation.py +2 -0
- robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +2 -0
- robosystems_client/models/checkout_response.py +22 -20
- robosystems_client/models/checkout_status_response.py +19 -17
- robosystems_client/models/connection_options_response.py +4 -2
- robosystems_client/models/connection_provider_info.py +26 -24
- robosystems_client/models/connection_response.py +14 -12
- robosystems_client/models/connection_response_metadata.py +2 -0
- robosystems_client/models/copy_operation_limits.py +2 -0
- robosystems_client/models/create_api_key_request.py +13 -11
- robosystems_client/models/create_api_key_response.py +3 -1
- robosystems_client/models/create_checkout_request.py +3 -1
- robosystems_client/models/create_checkout_request_resource_config.py +2 -0
- robosystems_client/models/create_connection_request.py +21 -21
- robosystems_client/models/create_graph_request.py +25 -25
- robosystems_client/models/create_org_request.py +7 -5
- robosystems_client/models/create_repository_subscription_request.py +2 -0
- robosystems_client/models/create_subgraph_request.py +30 -19
- robosystems_client/models/create_subgraph_request_metadata_type_0.py +2 -0
- robosystems_client/models/create_view_request.py +141 -0
- robosystems_client/models/credit_limits.py +2 -0
- robosystems_client/models/credit_summary.py +3 -1
- robosystems_client/models/credit_summary_operation_breakdown.py +2 -0
- robosystems_client/models/credit_summary_response.py +8 -6
- robosystems_client/models/custom_schema_definition.py +39 -33
- robosystems_client/models/custom_schema_definition_metadata.py +2 -0
- robosystems_client/models/custom_schema_definition_nodes_item.py +2 -0
- robosystems_client/models/custom_schema_definition_relationships_item.py +2 -0
- robosystems_client/models/cypher_query_request.py +15 -13
- robosystems_client/models/cypher_query_request_parameters_type_0.py +2 -0
- robosystems_client/models/database_health_response.py +21 -19
- robosystems_client/models/database_info_response.py +13 -11
- robosystems_client/models/delete_file_response.py +54 -1
- robosystems_client/models/delete_subgraph_request.py +12 -10
- robosystems_client/models/delete_subgraph_response.py +13 -11
- robosystems_client/models/detailed_transactions_response.py +6 -4
- robosystems_client/models/detailed_transactions_response_date_range.py +2 -0
- robosystems_client/models/detailed_transactions_response_summary.py +5 -3
- robosystems_client/models/email_verification_request.py +2 -0
- robosystems_client/models/enhanced_credit_transaction_response.py +24 -22
- robosystems_client/models/enhanced_credit_transaction_response_metadata.py +2 -0
- robosystems_client/models/enhanced_file_status_layers.py +83 -0
- robosystems_client/models/error_response.py +19 -17
- robosystems_client/models/exchange_token_request.py +9 -7
- robosystems_client/models/exchange_token_request_metadata_type_0.py +2 -0
- robosystems_client/models/execute_cypher_query_response_200.py +25 -21
- robosystems_client/models/execute_cypher_query_response_200_data_item.py +2 -0
- robosystems_client/models/fact_detail.py +109 -0
- robosystems_client/models/file_info.py +18 -16
- robosystems_client/models/file_layer_status.py +123 -0
- robosystems_client/models/file_status_update.py +14 -0
- robosystems_client/models/file_upload_request.py +25 -3
- robosystems_client/models/file_upload_response.py +2 -0
- robosystems_client/models/forgot_password_request.py +2 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +2 -0
- robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +2 -0
- robosystems_client/models/get_file_info_response.py +62 -21
- robosystems_client/models/get_operation_status_response_getoperationstatus.py +2 -0
- robosystems_client/models/get_storage_usage_response_getstorageusage.py +2 -0
- robosystems_client/models/graph_info.py +10 -8
- robosystems_client/models/graph_limits_response.py +14 -12
- robosystems_client/models/graph_metadata.py +14 -12
- robosystems_client/models/graph_metrics_response.py +17 -15
- robosystems_client/models/graph_metrics_response_estimated_size.py +2 -0
- robosystems_client/models/graph_metrics_response_health_status.py +2 -0
- robosystems_client/models/graph_metrics_response_node_counts.py +2 -0
- robosystems_client/models/graph_metrics_response_relationship_counts.py +2 -0
- robosystems_client/models/graph_subscription_response.py +28 -26
- robosystems_client/models/graph_subscription_tier.py +15 -13
- robosystems_client/models/graph_subscriptions.py +5 -3
- robosystems_client/models/graph_tier_backup.py +2 -0
- robosystems_client/models/graph_tier_copy_operations.py +2 -0
- robosystems_client/models/graph_tier_info.py +15 -13
- robosystems_client/models/graph_tier_instance.py +2 -0
- robosystems_client/models/graph_tier_limits.py +10 -8
- robosystems_client/models/graph_usage_response.py +32 -30
- robosystems_client/models/graph_usage_response_recent_events_item.py +2 -0
- robosystems_client/models/health_status.py +9 -7
- robosystems_client/models/health_status_details_type_0.py +2 -0
- robosystems_client/models/http_validation_error.py +12 -8
- robosystems_client/models/initial_entity_data.py +38 -36
- robosystems_client/models/invite_member_request.py +9 -7
- robosystems_client/models/invoice.py +35 -33
- robosystems_client/models/invoice_line_item.py +13 -11
- robosystems_client/models/invoices_response.py +4 -2
- robosystems_client/models/link_token_request.py +21 -23
- robosystems_client/models/link_token_request_options_type_0.py +2 -0
- robosystems_client/models/list_org_graphs_response_200_item.py +2 -0
- robosystems_client/models/list_subgraphs_response.py +15 -13
- robosystems_client/models/list_table_files_response.py +27 -11
- robosystems_client/models/login_request.py +2 -0
- robosystems_client/models/logout_user_response_logoutuser.py +2 -0
- robosystems_client/models/{bulk_ingest_request.py → materialize_request.py} +25 -15
- robosystems_client/models/materialize_response.py +131 -0
- robosystems_client/models/materialize_status_response.py +172 -0
- robosystems_client/models/mcp_tool_call.py +7 -5
- robosystems_client/models/mcp_tool_call_arguments.py +2 -0
- robosystems_client/models/mcp_tools_response.py +4 -2
- robosystems_client/models/mcp_tools_response_tools_item.py +2 -0
- robosystems_client/models/o_auth_callback_request.py +18 -16
- robosystems_client/models/o_auth_init_request.py +14 -12
- robosystems_client/models/o_auth_init_request_additional_params_type_0.py +2 -0
- robosystems_client/models/o_auth_init_response.py +2 -0
- robosystems_client/models/offering_repository_plan.py +9 -7
- robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +8 -8
- robosystems_client/models/operation_costs.py +4 -2
- robosystems_client/models/operation_costs_ai_operations.py +2 -0
- robosystems_client/models/operation_costs_token_pricing.py +5 -3
- robosystems_client/models/org_detail_response.py +13 -11
- robosystems_client/models/org_detail_response_graphs_item.py +2 -0
- robosystems_client/models/org_detail_response_limits_type_0.py +2 -0
- robosystems_client/models/org_detail_response_members_item.py +2 -0
- robosystems_client/models/org_limits_response.py +3 -1
- robosystems_client/models/org_limits_response_current_usage.py +2 -0
- robosystems_client/models/org_list_response.py +4 -2
- robosystems_client/models/org_member_list_response.py +4 -2
- robosystems_client/models/org_member_response.py +2 -0
- robosystems_client/models/org_response.py +2 -0
- robosystems_client/models/org_usage_response.py +7 -5
- robosystems_client/models/org_usage_response_daily_trend_item.py +2 -0
- robosystems_client/models/org_usage_response_graph_details_item.py +2 -0
- robosystems_client/models/org_usage_summary.py +18 -16
- robosystems_client/models/password_check_request.py +8 -6
- robosystems_client/models/password_check_response.py +3 -1
- robosystems_client/models/password_check_response_character_types.py +2 -0
- robosystems_client/models/password_policy_response.py +3 -1
- robosystems_client/models/password_policy_response_policy.py +2 -0
- robosystems_client/models/payment_method.py +23 -21
- robosystems_client/models/performance_insights.py +5 -3
- robosystems_client/models/performance_insights_operation_stats.py +2 -0
- robosystems_client/models/performance_insights_slow_queries_item.py +2 -0
- robosystems_client/models/plaid_connection_config.py +30 -30
- robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +2 -0
- robosystems_client/models/plaid_connection_config_institution_type_0.py +2 -0
- robosystems_client/models/portal_session_response.py +2 -0
- robosystems_client/models/query_limits.py +2 -0
- robosystems_client/models/quick_books_connection_config.py +13 -11
- robosystems_client/models/rate_limits.py +2 -0
- robosystems_client/models/register_request.py +8 -6
- robosystems_client/models/repository_info.py +4 -2
- robosystems_client/models/repository_subscriptions.py +4 -2
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +2 -0
- robosystems_client/models/reset_password_request.py +2 -0
- robosystems_client/models/reset_password_validate_response.py +8 -6
- robosystems_client/models/save_view_request.py +138 -0
- robosystems_client/models/save_view_response.py +181 -0
- robosystems_client/models/schema_export_response.py +16 -14
- robosystems_client/models/schema_export_response_data_stats_type_0.py +2 -0
- robosystems_client/models/schema_export_response_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_info_response.py +3 -1
- robosystems_client/models/schema_info_response_schema.py +2 -0
- robosystems_client/models/schema_validation_request.py +18 -17
- robosystems_client/models/schema_validation_request_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_validation_response.py +28 -33
- robosystems_client/models/schema_validation_response_compatibility_type_0.py +2 -0
- robosystems_client/models/schema_validation_response_stats_type_0.py +2 -0
- robosystems_client/models/sec_connection_config.py +8 -6
- robosystems_client/models/selection_criteria.py +19 -17
- robosystems_client/models/service_offering_summary.py +2 -0
- robosystems_client/models/service_offerings_response.py +6 -4
- robosystems_client/models/sso_complete_request.py +2 -0
- robosystems_client/models/sso_exchange_request.py +8 -6
- robosystems_client/models/sso_exchange_response.py +2 -0
- robosystems_client/models/sso_token_response.py +2 -0
- robosystems_client/models/storage_info.py +4 -2
- robosystems_client/models/storage_info_included_per_tier.py +2 -0
- robosystems_client/models/storage_info_overage_pricing.py +2 -0
- robosystems_client/models/storage_limit_response.py +9 -7
- robosystems_client/models/storage_limits.py +8 -6
- robosystems_client/models/storage_summary.py +2 -0
- robosystems_client/models/structure_detail.py +85 -0
- robosystems_client/models/subgraph_quota_response.py +23 -21
- robosystems_client/models/subgraph_response.py +35 -35
- robosystems_client/models/subgraph_response_metadata_type_0.py +2 -0
- robosystems_client/models/subgraph_summary.py +14 -12
- robosystems_client/models/success_response.py +11 -9
- robosystems_client/models/success_response_data_type_0.py +2 -0
- robosystems_client/models/sync_connection_request.py +11 -9
- robosystems_client/models/sync_connection_request_sync_options_type_0.py +2 -0
- robosystems_client/models/sync_connection_response_syncconnection.py +2 -0
- robosystems_client/models/table_info.py +12 -10
- robosystems_client/models/table_list_response.py +4 -2
- robosystems_client/models/table_query_request.py +9 -7
- robosystems_client/models/table_query_response.py +2 -0
- robosystems_client/models/token_pricing.py +2 -0
- robosystems_client/models/transaction_summary_response.py +13 -11
- robosystems_client/models/upcoming_invoice.py +10 -8
- robosystems_client/models/update_api_key_request.py +13 -11
- robosystems_client/models/{update_file_status_response_updatefilestatus.py → update_file_response_updatefile.py} +7 -5
- robosystems_client/models/update_member_role_request.py +2 -0
- robosystems_client/models/update_org_request.py +14 -12
- robosystems_client/models/update_password_request.py +2 -0
- robosystems_client/models/update_user_request.py +13 -11
- robosystems_client/models/upgrade_subscription_request.py +2 -0
- robosystems_client/models/user_graphs_response.py +10 -8
- robosystems_client/models/user_response.py +22 -18
- robosystems_client/models/validation_error.py +8 -6
- robosystems_client/models/view_axis_config.py +276 -0
- robosystems_client/models/view_axis_config_element_labels_type_0.py +46 -0
- robosystems_client/models/view_axis_config_member_labels_type_0.py +46 -0
- robosystems_client/models/view_config.py +127 -0
- robosystems_client/models/view_source.py +144 -0
- robosystems_client/models/view_source_type.py +9 -0
- robosystems_client/types.py +9 -9
- {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/METADATA +1 -1
- robosystems_client-0.2.16.dist-info/RECORD +418 -0
- robosystems_client/api/tables/delete_file.py +0 -317
- robosystems_client/api/tables/get_file_info.py +0 -249
- robosystems_client/api/tables/get_upload_url.py +0 -380
- robosystems_client/api/tables/ingest_tables.py +0 -456
- robosystems_client/api/tables/list_table_files.py +0 -329
- robosystems_client/api/tables/update_file_status.py +0 -395
- robosystems_client/models/bulk_ingest_response.py +0 -137
- robosystems_client/models/table_ingest_result.py +0 -107
- robosystems_client-0.2.15.dist-info/RECORD +0 -396
- {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.error_response import ErrorResponse
|
|
9
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
+
from ...models.materialize_request import MaterializeRequest
|
|
11
|
+
from ...models.materialize_response import MaterializeResponse
|
|
12
|
+
from ...types import Response
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def _get_kwargs(
|
|
16
|
+
graph_id: str,
|
|
17
|
+
*,
|
|
18
|
+
body: MaterializeRequest,
|
|
19
|
+
) -> dict[str, Any]:
|
|
20
|
+
headers: dict[str, Any] = {}
|
|
21
|
+
|
|
22
|
+
_kwargs: dict[str, Any] = {
|
|
23
|
+
"method": "post",
|
|
24
|
+
"url": f"/v1/graphs/{graph_id}/materialize",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
_kwargs["json"] = body.to_dict()
|
|
28
|
+
|
|
29
|
+
headers["Content-Type"] = "application/json"
|
|
30
|
+
|
|
31
|
+
_kwargs["headers"] = headers
|
|
32
|
+
return _kwargs
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _parse_response(
|
|
36
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
37
|
+
) -> Any | ErrorResponse | HTTPValidationError | MaterializeResponse | None:
|
|
38
|
+
if response.status_code == 200:
|
|
39
|
+
response_200 = MaterializeResponse.from_dict(response.json())
|
|
40
|
+
|
|
41
|
+
return response_200
|
|
42
|
+
|
|
43
|
+
if response.status_code == 400:
|
|
44
|
+
response_400 = ErrorResponse.from_dict(response.json())
|
|
45
|
+
|
|
46
|
+
return response_400
|
|
47
|
+
|
|
48
|
+
if response.status_code == 401:
|
|
49
|
+
response_401 = cast(Any, None)
|
|
50
|
+
return response_401
|
|
51
|
+
|
|
52
|
+
if response.status_code == 403:
|
|
53
|
+
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
|
+
|
|
55
|
+
return response_403
|
|
56
|
+
|
|
57
|
+
if response.status_code == 404:
|
|
58
|
+
response_404 = ErrorResponse.from_dict(response.json())
|
|
59
|
+
|
|
60
|
+
return response_404
|
|
61
|
+
|
|
62
|
+
if response.status_code == 409:
|
|
63
|
+
response_409 = ErrorResponse.from_dict(response.json())
|
|
64
|
+
|
|
65
|
+
return response_409
|
|
66
|
+
|
|
67
|
+
if response.status_code == 422:
|
|
68
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
69
|
+
|
|
70
|
+
return response_422
|
|
71
|
+
|
|
72
|
+
if response.status_code == 500:
|
|
73
|
+
response_500 = cast(Any, None)
|
|
74
|
+
return response_500
|
|
75
|
+
|
|
76
|
+
if client.raise_on_unexpected_status:
|
|
77
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
78
|
+
else:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def _build_response(
|
|
83
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
84
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError | MaterializeResponse]:
|
|
85
|
+
return Response(
|
|
86
|
+
status_code=HTTPStatus(response.status_code),
|
|
87
|
+
content=response.content,
|
|
88
|
+
headers=response.headers,
|
|
89
|
+
parsed=_parse_response(client=client, response=response),
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def sync_detailed(
|
|
94
|
+
graph_id: str,
|
|
95
|
+
*,
|
|
96
|
+
client: AuthenticatedClient,
|
|
97
|
+
body: MaterializeRequest,
|
|
98
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError | MaterializeResponse]:
|
|
99
|
+
"""Materialize Graph from DuckDB
|
|
100
|
+
|
|
101
|
+
Rebuild entire graph from DuckDB staging tables (materialized view pattern).
|
|
102
|
+
|
|
103
|
+
This endpoint rebuilds the complete graph database from the current state of DuckDB
|
|
104
|
+
staging tables. It automatically discovers all tables, ingests them in the correct
|
|
105
|
+
order (nodes before relationships), and clears the staleness flag.
|
|
106
|
+
|
|
107
|
+
**When to Use:**
|
|
108
|
+
- After batch uploads (files uploaded with ingest_to_graph=false)
|
|
109
|
+
- After cascade file deletions (graph marked stale)
|
|
110
|
+
- To ensure graph consistency with DuckDB state
|
|
111
|
+
- Periodic full refresh
|
|
112
|
+
|
|
113
|
+
**What Happens:**
|
|
114
|
+
1. Discovers all tables for the graph from PostgreSQL registry
|
|
115
|
+
2. Sorts tables (nodes before relationships)
|
|
116
|
+
3. Ingests all tables from DuckDB to graph in order
|
|
117
|
+
4. Clears staleness flag on success
|
|
118
|
+
5. Returns detailed materialization report
|
|
119
|
+
|
|
120
|
+
**Staleness Check:**
|
|
121
|
+
By default, only materializes if graph is stale (after deletions or missed ingestions).
|
|
122
|
+
Use `force=true` to rebuild regardless of staleness.
|
|
123
|
+
|
|
124
|
+
**Rebuild Feature:**
|
|
125
|
+
Setting `rebuild=true` regenerates the entire graph database from scratch:
|
|
126
|
+
- Deletes existing graph database
|
|
127
|
+
- Recreates with fresh schema from active GraphSchema
|
|
128
|
+
- Ingests all data files
|
|
129
|
+
- Safe operation - DuckDB is source of truth
|
|
130
|
+
- Useful for schema changes or data corrections
|
|
131
|
+
- Graph marked as 'rebuilding' during process
|
|
132
|
+
|
|
133
|
+
**Table Ordering:**
|
|
134
|
+
Node tables (PascalCase) are ingested before relationship tables (UPPERCASE) to
|
|
135
|
+
ensure referential integrity.
|
|
136
|
+
|
|
137
|
+
**Error Handling:**
|
|
138
|
+
With `ignore_errors=true` (default), continues materializing even if individual
|
|
139
|
+
rows fail. Failed rows are logged but don't stop the process.
|
|
140
|
+
|
|
141
|
+
**Concurrency Control:**
|
|
142
|
+
Only one materialization can run per graph at a time. If another materialization is in progress,
|
|
143
|
+
you'll receive a 409 Conflict error. The distributed lock automatically expires after
|
|
144
|
+
the configured TTL (default: 1 hour) to prevent deadlocks from failed materializations.
|
|
145
|
+
|
|
146
|
+
**Performance:**
|
|
147
|
+
Full graph materialization can take minutes for large datasets. Consider running
|
|
148
|
+
during off-peak hours for production systems.
|
|
149
|
+
|
|
150
|
+
**Credits:**
|
|
151
|
+
Materialization is included - no credit consumption
|
|
152
|
+
|
|
153
|
+
Args:
|
|
154
|
+
graph_id (str):
|
|
155
|
+
body (MaterializeRequest):
|
|
156
|
+
|
|
157
|
+
Raises:
|
|
158
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
159
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
160
|
+
|
|
161
|
+
Returns:
|
|
162
|
+
Response[Any | ErrorResponse | HTTPValidationError | MaterializeResponse]
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
kwargs = _get_kwargs(
|
|
166
|
+
graph_id=graph_id,
|
|
167
|
+
body=body,
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
response = client.get_httpx_client().request(
|
|
171
|
+
**kwargs,
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
return _build_response(client=client, response=response)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
def sync(
|
|
178
|
+
graph_id: str,
|
|
179
|
+
*,
|
|
180
|
+
client: AuthenticatedClient,
|
|
181
|
+
body: MaterializeRequest,
|
|
182
|
+
) -> Any | ErrorResponse | HTTPValidationError | MaterializeResponse | None:
|
|
183
|
+
"""Materialize Graph from DuckDB
|
|
184
|
+
|
|
185
|
+
Rebuild entire graph from DuckDB staging tables (materialized view pattern).
|
|
186
|
+
|
|
187
|
+
This endpoint rebuilds the complete graph database from the current state of DuckDB
|
|
188
|
+
staging tables. It automatically discovers all tables, ingests them in the correct
|
|
189
|
+
order (nodes before relationships), and clears the staleness flag.
|
|
190
|
+
|
|
191
|
+
**When to Use:**
|
|
192
|
+
- After batch uploads (files uploaded with ingest_to_graph=false)
|
|
193
|
+
- After cascade file deletions (graph marked stale)
|
|
194
|
+
- To ensure graph consistency with DuckDB state
|
|
195
|
+
- Periodic full refresh
|
|
196
|
+
|
|
197
|
+
**What Happens:**
|
|
198
|
+
1. Discovers all tables for the graph from PostgreSQL registry
|
|
199
|
+
2. Sorts tables (nodes before relationships)
|
|
200
|
+
3. Ingests all tables from DuckDB to graph in order
|
|
201
|
+
4. Clears staleness flag on success
|
|
202
|
+
5. Returns detailed materialization report
|
|
203
|
+
|
|
204
|
+
**Staleness Check:**
|
|
205
|
+
By default, only materializes if graph is stale (after deletions or missed ingestions).
|
|
206
|
+
Use `force=true` to rebuild regardless of staleness.
|
|
207
|
+
|
|
208
|
+
**Rebuild Feature:**
|
|
209
|
+
Setting `rebuild=true` regenerates the entire graph database from scratch:
|
|
210
|
+
- Deletes existing graph database
|
|
211
|
+
- Recreates with fresh schema from active GraphSchema
|
|
212
|
+
- Ingests all data files
|
|
213
|
+
- Safe operation - DuckDB is source of truth
|
|
214
|
+
- Useful for schema changes or data corrections
|
|
215
|
+
- Graph marked as 'rebuilding' during process
|
|
216
|
+
|
|
217
|
+
**Table Ordering:**
|
|
218
|
+
Node tables (PascalCase) are ingested before relationship tables (UPPERCASE) to
|
|
219
|
+
ensure referential integrity.
|
|
220
|
+
|
|
221
|
+
**Error Handling:**
|
|
222
|
+
With `ignore_errors=true` (default), continues materializing even if individual
|
|
223
|
+
rows fail. Failed rows are logged but don't stop the process.
|
|
224
|
+
|
|
225
|
+
**Concurrency Control:**
|
|
226
|
+
Only one materialization can run per graph at a time. If another materialization is in progress,
|
|
227
|
+
you'll receive a 409 Conflict error. The distributed lock automatically expires after
|
|
228
|
+
the configured TTL (default: 1 hour) to prevent deadlocks from failed materializations.
|
|
229
|
+
|
|
230
|
+
**Performance:**
|
|
231
|
+
Full graph materialization can take minutes for large datasets. Consider running
|
|
232
|
+
during off-peak hours for production systems.
|
|
233
|
+
|
|
234
|
+
**Credits:**
|
|
235
|
+
Materialization is included - no credit consumption
|
|
236
|
+
|
|
237
|
+
Args:
|
|
238
|
+
graph_id (str):
|
|
239
|
+
body (MaterializeRequest):
|
|
240
|
+
|
|
241
|
+
Raises:
|
|
242
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
243
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
244
|
+
|
|
245
|
+
Returns:
|
|
246
|
+
Any | ErrorResponse | HTTPValidationError | MaterializeResponse
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
return sync_detailed(
|
|
250
|
+
graph_id=graph_id,
|
|
251
|
+
client=client,
|
|
252
|
+
body=body,
|
|
253
|
+
).parsed
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
async def asyncio_detailed(
|
|
257
|
+
graph_id: str,
|
|
258
|
+
*,
|
|
259
|
+
client: AuthenticatedClient,
|
|
260
|
+
body: MaterializeRequest,
|
|
261
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError | MaterializeResponse]:
|
|
262
|
+
"""Materialize Graph from DuckDB
|
|
263
|
+
|
|
264
|
+
Rebuild entire graph from DuckDB staging tables (materialized view pattern).
|
|
265
|
+
|
|
266
|
+
This endpoint rebuilds the complete graph database from the current state of DuckDB
|
|
267
|
+
staging tables. It automatically discovers all tables, ingests them in the correct
|
|
268
|
+
order (nodes before relationships), and clears the staleness flag.
|
|
269
|
+
|
|
270
|
+
**When to Use:**
|
|
271
|
+
- After batch uploads (files uploaded with ingest_to_graph=false)
|
|
272
|
+
- After cascade file deletions (graph marked stale)
|
|
273
|
+
- To ensure graph consistency with DuckDB state
|
|
274
|
+
- Periodic full refresh
|
|
275
|
+
|
|
276
|
+
**What Happens:**
|
|
277
|
+
1. Discovers all tables for the graph from PostgreSQL registry
|
|
278
|
+
2. Sorts tables (nodes before relationships)
|
|
279
|
+
3. Ingests all tables from DuckDB to graph in order
|
|
280
|
+
4. Clears staleness flag on success
|
|
281
|
+
5. Returns detailed materialization report
|
|
282
|
+
|
|
283
|
+
**Staleness Check:**
|
|
284
|
+
By default, only materializes if graph is stale (after deletions or missed ingestions).
|
|
285
|
+
Use `force=true` to rebuild regardless of staleness.
|
|
286
|
+
|
|
287
|
+
**Rebuild Feature:**
|
|
288
|
+
Setting `rebuild=true` regenerates the entire graph database from scratch:
|
|
289
|
+
- Deletes existing graph database
|
|
290
|
+
- Recreates with fresh schema from active GraphSchema
|
|
291
|
+
- Ingests all data files
|
|
292
|
+
- Safe operation - DuckDB is source of truth
|
|
293
|
+
- Useful for schema changes or data corrections
|
|
294
|
+
- Graph marked as 'rebuilding' during process
|
|
295
|
+
|
|
296
|
+
**Table Ordering:**
|
|
297
|
+
Node tables (PascalCase) are ingested before relationship tables (UPPERCASE) to
|
|
298
|
+
ensure referential integrity.
|
|
299
|
+
|
|
300
|
+
**Error Handling:**
|
|
301
|
+
With `ignore_errors=true` (default), continues materializing even if individual
|
|
302
|
+
rows fail. Failed rows are logged but don't stop the process.
|
|
303
|
+
|
|
304
|
+
**Concurrency Control:**
|
|
305
|
+
Only one materialization can run per graph at a time. If another materialization is in progress,
|
|
306
|
+
you'll receive a 409 Conflict error. The distributed lock automatically expires after
|
|
307
|
+
the configured TTL (default: 1 hour) to prevent deadlocks from failed materializations.
|
|
308
|
+
|
|
309
|
+
**Performance:**
|
|
310
|
+
Full graph materialization can take minutes for large datasets. Consider running
|
|
311
|
+
during off-peak hours for production systems.
|
|
312
|
+
|
|
313
|
+
**Credits:**
|
|
314
|
+
Materialization is included - no credit consumption
|
|
315
|
+
|
|
316
|
+
Args:
|
|
317
|
+
graph_id (str):
|
|
318
|
+
body (MaterializeRequest):
|
|
319
|
+
|
|
320
|
+
Raises:
|
|
321
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
322
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
323
|
+
|
|
324
|
+
Returns:
|
|
325
|
+
Response[Any | ErrorResponse | HTTPValidationError | MaterializeResponse]
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
kwargs = _get_kwargs(
|
|
329
|
+
graph_id=graph_id,
|
|
330
|
+
body=body,
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
334
|
+
|
|
335
|
+
return _build_response(client=client, response=response)
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
async def asyncio(
|
|
339
|
+
graph_id: str,
|
|
340
|
+
*,
|
|
341
|
+
client: AuthenticatedClient,
|
|
342
|
+
body: MaterializeRequest,
|
|
343
|
+
) -> Any | ErrorResponse | HTTPValidationError | MaterializeResponse | None:
|
|
344
|
+
"""Materialize Graph from DuckDB
|
|
345
|
+
|
|
346
|
+
Rebuild entire graph from DuckDB staging tables (materialized view pattern).
|
|
347
|
+
|
|
348
|
+
This endpoint rebuilds the complete graph database from the current state of DuckDB
|
|
349
|
+
staging tables. It automatically discovers all tables, ingests them in the correct
|
|
350
|
+
order (nodes before relationships), and clears the staleness flag.
|
|
351
|
+
|
|
352
|
+
**When to Use:**
|
|
353
|
+
- After batch uploads (files uploaded with ingest_to_graph=false)
|
|
354
|
+
- After cascade file deletions (graph marked stale)
|
|
355
|
+
- To ensure graph consistency with DuckDB state
|
|
356
|
+
- Periodic full refresh
|
|
357
|
+
|
|
358
|
+
**What Happens:**
|
|
359
|
+
1. Discovers all tables for the graph from PostgreSQL registry
|
|
360
|
+
2. Sorts tables (nodes before relationships)
|
|
361
|
+
3. Ingests all tables from DuckDB to graph in order
|
|
362
|
+
4. Clears staleness flag on success
|
|
363
|
+
5. Returns detailed materialization report
|
|
364
|
+
|
|
365
|
+
**Staleness Check:**
|
|
366
|
+
By default, only materializes if graph is stale (after deletions or missed ingestions).
|
|
367
|
+
Use `force=true` to rebuild regardless of staleness.
|
|
368
|
+
|
|
369
|
+
**Rebuild Feature:**
|
|
370
|
+
Setting `rebuild=true` regenerates the entire graph database from scratch:
|
|
371
|
+
- Deletes existing graph database
|
|
372
|
+
- Recreates with fresh schema from active GraphSchema
|
|
373
|
+
- Ingests all data files
|
|
374
|
+
- Safe operation - DuckDB is source of truth
|
|
375
|
+
- Useful for schema changes or data corrections
|
|
376
|
+
- Graph marked as 'rebuilding' during process
|
|
377
|
+
|
|
378
|
+
**Table Ordering:**
|
|
379
|
+
Node tables (PascalCase) are ingested before relationship tables (UPPERCASE) to
|
|
380
|
+
ensure referential integrity.
|
|
381
|
+
|
|
382
|
+
**Error Handling:**
|
|
383
|
+
With `ignore_errors=true` (default), continues materializing even if individual
|
|
384
|
+
rows fail. Failed rows are logged but don't stop the process.
|
|
385
|
+
|
|
386
|
+
**Concurrency Control:**
|
|
387
|
+
Only one materialization can run per graph at a time. If another materialization is in progress,
|
|
388
|
+
you'll receive a 409 Conflict error. The distributed lock automatically expires after
|
|
389
|
+
the configured TTL (default: 1 hour) to prevent deadlocks from failed materializations.
|
|
390
|
+
|
|
391
|
+
**Performance:**
|
|
392
|
+
Full graph materialization can take minutes for large datasets. Consider running
|
|
393
|
+
during off-peak hours for production systems.
|
|
394
|
+
|
|
395
|
+
**Credits:**
|
|
396
|
+
Materialization is included - no credit consumption
|
|
397
|
+
|
|
398
|
+
Args:
|
|
399
|
+
graph_id (str):
|
|
400
|
+
body (MaterializeRequest):
|
|
401
|
+
|
|
402
|
+
Raises:
|
|
403
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
404
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
405
|
+
|
|
406
|
+
Returns:
|
|
407
|
+
Any | ErrorResponse | HTTPValidationError | MaterializeResponse
|
|
408
|
+
"""
|
|
409
|
+
|
|
410
|
+
return (
|
|
411
|
+
await asyncio_detailed(
|
|
412
|
+
graph_id=graph_id,
|
|
413
|
+
client=client,
|
|
414
|
+
body=body,
|
|
415
|
+
)
|
|
416
|
+
).parsed
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -15,14 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
body: MCPToolCall,
|
|
18
|
-
format_:
|
|
19
|
-
test_mode:
|
|
18
|
+
format_: None | str | Unset = UNSET,
|
|
19
|
+
test_mode: bool | Unset = False,
|
|
20
20
|
) -> dict[str, Any]:
|
|
21
21
|
headers: dict[str, Any] = {}
|
|
22
22
|
|
|
23
23
|
params: dict[str, Any] = {}
|
|
24
24
|
|
|
25
|
-
json_format_:
|
|
25
|
+
json_format_: None | str | Unset
|
|
26
26
|
if isinstance(format_, Unset):
|
|
27
27
|
json_format_ = UNSET
|
|
28
28
|
else:
|
|
@@ -48,8 +48,8 @@ def _get_kwargs(
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
def _parse_response(
|
|
51
|
-
*, client:
|
|
52
|
-
) ->
|
|
51
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
52
|
+
) -> Any | ErrorResponse | HTTPValidationError | None:
|
|
53
53
|
if response.status_code == 200:
|
|
54
54
|
response_200 = response.json()
|
|
55
55
|
return response_200
|
|
@@ -105,8 +105,8 @@ def _parse_response(
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
def _build_response(
|
|
108
|
-
*, client:
|
|
109
|
-
) -> Response[
|
|
108
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
109
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError]:
|
|
110
110
|
return Response(
|
|
111
111
|
status_code=HTTPStatus(response.status_code),
|
|
112
112
|
content=response.content,
|
|
@@ -120,9 +120,9 @@ def sync_detailed(
|
|
|
120
120
|
*,
|
|
121
121
|
client: AuthenticatedClient,
|
|
122
122
|
body: MCPToolCall,
|
|
123
|
-
format_:
|
|
124
|
-
test_mode:
|
|
125
|
-
) -> Response[
|
|
123
|
+
format_: None | str | Unset = UNSET,
|
|
124
|
+
test_mode: bool | Unset = False,
|
|
125
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError]:
|
|
126
126
|
"""Execute MCP Tool
|
|
127
127
|
|
|
128
128
|
Execute an MCP tool with intelligent response optimization.
|
|
@@ -172,8 +172,8 @@ def sync_detailed(
|
|
|
172
172
|
|
|
173
173
|
Args:
|
|
174
174
|
graph_id (str):
|
|
175
|
-
format_ (
|
|
176
|
-
test_mode (
|
|
175
|
+
format_ (None | str | Unset): Response format override (json, sse, ndjson)
|
|
176
|
+
test_mode (bool | Unset): Enable test mode for debugging Default: False.
|
|
177
177
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
178
178
|
|
|
179
179
|
Raises:
|
|
@@ -181,7 +181,7 @@ def sync_detailed(
|
|
|
181
181
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
182
182
|
|
|
183
183
|
Returns:
|
|
184
|
-
Response[
|
|
184
|
+
Response[Any | ErrorResponse | HTTPValidationError]
|
|
185
185
|
"""
|
|
186
186
|
|
|
187
187
|
kwargs = _get_kwargs(
|
|
@@ -203,9 +203,9 @@ def sync(
|
|
|
203
203
|
*,
|
|
204
204
|
client: AuthenticatedClient,
|
|
205
205
|
body: MCPToolCall,
|
|
206
|
-
format_:
|
|
207
|
-
test_mode:
|
|
208
|
-
) ->
|
|
206
|
+
format_: None | str | Unset = UNSET,
|
|
207
|
+
test_mode: bool | Unset = False,
|
|
208
|
+
) -> Any | ErrorResponse | HTTPValidationError | None:
|
|
209
209
|
"""Execute MCP Tool
|
|
210
210
|
|
|
211
211
|
Execute an MCP tool with intelligent response optimization.
|
|
@@ -255,8 +255,8 @@ def sync(
|
|
|
255
255
|
|
|
256
256
|
Args:
|
|
257
257
|
graph_id (str):
|
|
258
|
-
format_ (
|
|
259
|
-
test_mode (
|
|
258
|
+
format_ (None | str | Unset): Response format override (json, sse, ndjson)
|
|
259
|
+
test_mode (bool | Unset): Enable test mode for debugging Default: False.
|
|
260
260
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
261
261
|
|
|
262
262
|
Raises:
|
|
@@ -264,7 +264,7 @@ def sync(
|
|
|
264
264
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
265
265
|
|
|
266
266
|
Returns:
|
|
267
|
-
|
|
267
|
+
Any | ErrorResponse | HTTPValidationError
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
return sync_detailed(
|
|
@@ -281,9 +281,9 @@ async def asyncio_detailed(
|
|
|
281
281
|
*,
|
|
282
282
|
client: AuthenticatedClient,
|
|
283
283
|
body: MCPToolCall,
|
|
284
|
-
format_:
|
|
285
|
-
test_mode:
|
|
286
|
-
) -> Response[
|
|
284
|
+
format_: None | str | Unset = UNSET,
|
|
285
|
+
test_mode: bool | Unset = False,
|
|
286
|
+
) -> Response[Any | ErrorResponse | HTTPValidationError]:
|
|
287
287
|
"""Execute MCP Tool
|
|
288
288
|
|
|
289
289
|
Execute an MCP tool with intelligent response optimization.
|
|
@@ -333,8 +333,8 @@ async def asyncio_detailed(
|
|
|
333
333
|
|
|
334
334
|
Args:
|
|
335
335
|
graph_id (str):
|
|
336
|
-
format_ (
|
|
337
|
-
test_mode (
|
|
336
|
+
format_ (None | str | Unset): Response format override (json, sse, ndjson)
|
|
337
|
+
test_mode (bool | Unset): Enable test mode for debugging Default: False.
|
|
338
338
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
339
339
|
|
|
340
340
|
Raises:
|
|
@@ -342,7 +342,7 @@ async def asyncio_detailed(
|
|
|
342
342
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
343
343
|
|
|
344
344
|
Returns:
|
|
345
|
-
Response[
|
|
345
|
+
Response[Any | ErrorResponse | HTTPValidationError]
|
|
346
346
|
"""
|
|
347
347
|
|
|
348
348
|
kwargs = _get_kwargs(
|
|
@@ -362,9 +362,9 @@ async def asyncio(
|
|
|
362
362
|
*,
|
|
363
363
|
client: AuthenticatedClient,
|
|
364
364
|
body: MCPToolCall,
|
|
365
|
-
format_:
|
|
366
|
-
test_mode:
|
|
367
|
-
) ->
|
|
365
|
+
format_: None | str | Unset = UNSET,
|
|
366
|
+
test_mode: bool | Unset = False,
|
|
367
|
+
) -> Any | ErrorResponse | HTTPValidationError | None:
|
|
368
368
|
"""Execute MCP Tool
|
|
369
369
|
|
|
370
370
|
Execute an MCP tool with intelligent response optimization.
|
|
@@ -414,8 +414,8 @@ async def asyncio(
|
|
|
414
414
|
|
|
415
415
|
Args:
|
|
416
416
|
graph_id (str):
|
|
417
|
-
format_ (
|
|
418
|
-
test_mode (
|
|
417
|
+
format_ (None | str | Unset): Response format override (json, sse, ndjson)
|
|
418
|
+
test_mode (bool | Unset): Enable test mode for debugging Default: False.
|
|
419
419
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
420
420
|
|
|
421
421
|
Raises:
|
|
@@ -423,7 +423,7 @@ async def asyncio(
|
|
|
423
423
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
424
424
|
|
|
425
425
|
Returns:
|
|
426
|
-
|
|
426
|
+
Any | ErrorResponse | HTTPValidationError
|
|
427
427
|
"""
|
|
428
428
|
|
|
429
429
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -23,8 +23,8 @@ def _get_kwargs(
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def _parse_response(
|
|
26
|
-
*, client:
|
|
27
|
-
) ->
|
|
26
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
27
|
+
) -> ErrorResponse | HTTPValidationError | MCPToolsResponse | None:
|
|
28
28
|
if response.status_code == 200:
|
|
29
29
|
response_200 = MCPToolsResponse.from_dict(response.json())
|
|
30
30
|
|
|
@@ -52,8 +52,8 @@ def _parse_response(
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
def _build_response(
|
|
55
|
-
*, client:
|
|
56
|
-
) -> Response[
|
|
55
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
56
|
+
) -> Response[ErrorResponse | HTTPValidationError | MCPToolsResponse]:
|
|
57
57
|
return Response(
|
|
58
58
|
status_code=HTTPStatus(response.status_code),
|
|
59
59
|
content=response.content,
|
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
|
66
66
|
graph_id: str,
|
|
67
67
|
*,
|
|
68
68
|
client: AuthenticatedClient,
|
|
69
|
-
) -> Response[
|
|
69
|
+
) -> Response[ErrorResponse | HTTPValidationError | MCPToolsResponse]:
|
|
70
70
|
"""List MCP Tools
|
|
71
71
|
|
|
72
72
|
Get available Model Context Protocol tools for graph analysis.
|
|
@@ -99,7 +99,7 @@ def sync_detailed(
|
|
|
99
99
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
100
100
|
|
|
101
101
|
Returns:
|
|
102
|
-
Response[
|
|
102
|
+
Response[ErrorResponse | HTTPValidationError | MCPToolsResponse]
|
|
103
103
|
"""
|
|
104
104
|
|
|
105
105
|
kwargs = _get_kwargs(
|
|
@@ -117,7 +117,7 @@ def sync(
|
|
|
117
117
|
graph_id: str,
|
|
118
118
|
*,
|
|
119
119
|
client: AuthenticatedClient,
|
|
120
|
-
) ->
|
|
120
|
+
) -> ErrorResponse | HTTPValidationError | MCPToolsResponse | None:
|
|
121
121
|
"""List MCP Tools
|
|
122
122
|
|
|
123
123
|
Get available Model Context Protocol tools for graph analysis.
|
|
@@ -150,7 +150,7 @@ def sync(
|
|
|
150
150
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
151
151
|
|
|
152
152
|
Returns:
|
|
153
|
-
|
|
153
|
+
ErrorResponse | HTTPValidationError | MCPToolsResponse
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
return sync_detailed(
|
|
@@ -163,7 +163,7 @@ async def asyncio_detailed(
|
|
|
163
163
|
graph_id: str,
|
|
164
164
|
*,
|
|
165
165
|
client: AuthenticatedClient,
|
|
166
|
-
) -> Response[
|
|
166
|
+
) -> Response[ErrorResponse | HTTPValidationError | MCPToolsResponse]:
|
|
167
167
|
"""List MCP Tools
|
|
168
168
|
|
|
169
169
|
Get available Model Context Protocol tools for graph analysis.
|
|
@@ -196,7 +196,7 @@ async def asyncio_detailed(
|
|
|
196
196
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
197
197
|
|
|
198
198
|
Returns:
|
|
199
|
-
Response[
|
|
199
|
+
Response[ErrorResponse | HTTPValidationError | MCPToolsResponse]
|
|
200
200
|
"""
|
|
201
201
|
|
|
202
202
|
kwargs = _get_kwargs(
|
|
@@ -212,7 +212,7 @@ async def asyncio(
|
|
|
212
212
|
graph_id: str,
|
|
213
213
|
*,
|
|
214
214
|
client: AuthenticatedClient,
|
|
215
|
-
) ->
|
|
215
|
+
) -> ErrorResponse | HTTPValidationError | MCPToolsResponse | None:
|
|
216
216
|
"""List MCP Tools
|
|
217
217
|
|
|
218
218
|
Get available Model Context Protocol tools for graph analysis.
|
|
@@ -245,7 +245,7 @@ async def asyncio(
|
|
|
245
245
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
246
246
|
|
|
247
247
|
Returns:
|
|
248
|
-
|
|
248
|
+
ErrorResponse | HTTPValidationError | MCPToolsResponse
|
|
249
249
|
"""
|
|
250
250
|
|
|
251
251
|
return (
|