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
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar,
|
|
4
|
+
from typing import Any, TypeVar, cast
|
|
3
5
|
|
|
4
6
|
from attrs import define as _attrs_define
|
|
5
7
|
from attrs import field as _attrs_field
|
|
@@ -30,9 +32,9 @@ class GraphSubscriptionTier:
|
|
|
30
32
|
priority_support (bool): Whether priority support is included
|
|
31
33
|
api_rate_multiplier (float): API rate multiplier
|
|
32
34
|
backend (str): Database backend (kuzu or neo4j)
|
|
33
|
-
max_queries_per_hour (
|
|
34
|
-
max_subgraphs (
|
|
35
|
-
instance_type (
|
|
35
|
+
max_queries_per_hour (int | None | Unset): Maximum queries per hour
|
|
36
|
+
max_subgraphs (int | Unset): Maximum subgraphs supported Default: 0.
|
|
37
|
+
instance_type (None | str | Unset): Instance type
|
|
36
38
|
"""
|
|
37
39
|
|
|
38
40
|
name: str
|
|
@@ -48,9 +50,9 @@ class GraphSubscriptionTier:
|
|
|
48
50
|
priority_support: bool
|
|
49
51
|
api_rate_multiplier: float
|
|
50
52
|
backend: str
|
|
51
|
-
max_queries_per_hour:
|
|
52
|
-
max_subgraphs:
|
|
53
|
-
instance_type:
|
|
53
|
+
max_queries_per_hour: int | None | Unset = UNSET
|
|
54
|
+
max_subgraphs: int | Unset = 0
|
|
55
|
+
instance_type: None | str | Unset = UNSET
|
|
54
56
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
55
57
|
|
|
56
58
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -80,7 +82,7 @@ class GraphSubscriptionTier:
|
|
|
80
82
|
|
|
81
83
|
backend = self.backend
|
|
82
84
|
|
|
83
|
-
max_queries_per_hour:
|
|
85
|
+
max_queries_per_hour: int | None | Unset
|
|
84
86
|
if isinstance(self.max_queries_per_hour, Unset):
|
|
85
87
|
max_queries_per_hour = UNSET
|
|
86
88
|
else:
|
|
@@ -88,7 +90,7 @@ class GraphSubscriptionTier:
|
|
|
88
90
|
|
|
89
91
|
max_subgraphs = self.max_subgraphs
|
|
90
92
|
|
|
91
|
-
instance_type:
|
|
93
|
+
instance_type: None | str | Unset
|
|
92
94
|
if isinstance(self.instance_type, Unset):
|
|
93
95
|
instance_type = UNSET
|
|
94
96
|
else:
|
|
@@ -151,12 +153,12 @@ class GraphSubscriptionTier:
|
|
|
151
153
|
|
|
152
154
|
backend = d.pop("backend")
|
|
153
155
|
|
|
154
|
-
def _parse_max_queries_per_hour(data: object) ->
|
|
156
|
+
def _parse_max_queries_per_hour(data: object) -> int | None | Unset:
|
|
155
157
|
if data is None:
|
|
156
158
|
return data
|
|
157
159
|
if isinstance(data, Unset):
|
|
158
160
|
return data
|
|
159
|
-
return cast(
|
|
161
|
+
return cast(int | None | Unset, data)
|
|
160
162
|
|
|
161
163
|
max_queries_per_hour = _parse_max_queries_per_hour(
|
|
162
164
|
d.pop("max_queries_per_hour", UNSET)
|
|
@@ -164,12 +166,12 @@ class GraphSubscriptionTier:
|
|
|
164
166
|
|
|
165
167
|
max_subgraphs = d.pop("max_subgraphs", UNSET)
|
|
166
168
|
|
|
167
|
-
def _parse_instance_type(data: object) ->
|
|
169
|
+
def _parse_instance_type(data: object) -> None | str | Unset:
|
|
168
170
|
if data is None:
|
|
169
171
|
return data
|
|
170
172
|
if isinstance(data, Unset):
|
|
171
173
|
return data
|
|
172
|
-
return cast(
|
|
174
|
+
return cast(None | str | Unset, data)
|
|
173
175
|
|
|
174
176
|
instance_type = _parse_instance_type(d.pop("instance_type", UNSET))
|
|
175
177
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
4
|
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
3
5
|
|
|
@@ -23,15 +25,15 @@ class GraphSubscriptions:
|
|
|
23
25
|
Attributes:
|
|
24
26
|
description (str): Description of graph subscriptions
|
|
25
27
|
pricing_model (str): Pricing model type (per_graph or per_organization)
|
|
26
|
-
tiers (list[
|
|
28
|
+
tiers (list[GraphSubscriptionTier]): Available infrastructure tiers
|
|
27
29
|
storage (StorageInfo): Storage pricing information.
|
|
28
30
|
notes (list[str]): Important notes
|
|
29
31
|
"""
|
|
30
32
|
|
|
31
33
|
description: str
|
|
32
34
|
pricing_model: str
|
|
33
|
-
tiers: list[
|
|
34
|
-
storage:
|
|
35
|
+
tiers: list[GraphSubscriptionTier]
|
|
36
|
+
storage: StorageInfo
|
|
35
37
|
notes: list[str]
|
|
36
38
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
37
39
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar,
|
|
4
|
+
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
3
5
|
|
|
4
6
|
from attrs import define as _attrs_define
|
|
5
7
|
from attrs import field as _attrs_field
|
|
@@ -25,14 +27,14 @@ class GraphTierInfo:
|
|
|
25
27
|
description (str): Tier description
|
|
26
28
|
backend (str): Database backend (kuzu or neo4j)
|
|
27
29
|
enabled (bool): Whether tier is available
|
|
28
|
-
max_subgraphs (
|
|
30
|
+
max_subgraphs (int | None): Maximum subgraphs allowed
|
|
29
31
|
storage_limit_gb (int): Storage limit in GB
|
|
30
32
|
monthly_credits (int): Monthly AI credits
|
|
31
33
|
api_rate_multiplier (float): API rate limit multiplier
|
|
32
34
|
features (list[str]): List of tier features
|
|
33
35
|
instance (GraphTierInstance): Instance specifications for a tier.
|
|
34
36
|
limits (GraphTierLimits): Resource limits for a tier.
|
|
35
|
-
monthly_price (
|
|
37
|
+
monthly_price (float | None | Unset): Monthly price in USD
|
|
36
38
|
"""
|
|
37
39
|
|
|
38
40
|
tier: str
|
|
@@ -41,14 +43,14 @@ class GraphTierInfo:
|
|
|
41
43
|
description: str
|
|
42
44
|
backend: str
|
|
43
45
|
enabled: bool
|
|
44
|
-
max_subgraphs:
|
|
46
|
+
max_subgraphs: int | None
|
|
45
47
|
storage_limit_gb: int
|
|
46
48
|
monthly_credits: int
|
|
47
49
|
api_rate_multiplier: float
|
|
48
50
|
features: list[str]
|
|
49
|
-
instance:
|
|
50
|
-
limits:
|
|
51
|
-
monthly_price:
|
|
51
|
+
instance: GraphTierInstance
|
|
52
|
+
limits: GraphTierLimits
|
|
53
|
+
monthly_price: float | None | Unset = UNSET
|
|
52
54
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
53
55
|
|
|
54
56
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -64,7 +66,7 @@ class GraphTierInfo:
|
|
|
64
66
|
|
|
65
67
|
enabled = self.enabled
|
|
66
68
|
|
|
67
|
-
max_subgraphs:
|
|
69
|
+
max_subgraphs: int | None
|
|
68
70
|
max_subgraphs = self.max_subgraphs
|
|
69
71
|
|
|
70
72
|
storage_limit_gb = self.storage_limit_gb
|
|
@@ -79,7 +81,7 @@ class GraphTierInfo:
|
|
|
79
81
|
|
|
80
82
|
limits = self.limits.to_dict()
|
|
81
83
|
|
|
82
|
-
monthly_price:
|
|
84
|
+
monthly_price: float | None | Unset
|
|
83
85
|
if isinstance(self.monthly_price, Unset):
|
|
84
86
|
monthly_price = UNSET
|
|
85
87
|
else:
|
|
@@ -127,10 +129,10 @@ class GraphTierInfo:
|
|
|
127
129
|
|
|
128
130
|
enabled = d.pop("enabled")
|
|
129
131
|
|
|
130
|
-
def _parse_max_subgraphs(data: object) ->
|
|
132
|
+
def _parse_max_subgraphs(data: object) -> int | None:
|
|
131
133
|
if data is None:
|
|
132
134
|
return data
|
|
133
|
-
return cast(
|
|
135
|
+
return cast(int | None, data)
|
|
134
136
|
|
|
135
137
|
max_subgraphs = _parse_max_subgraphs(d.pop("max_subgraphs"))
|
|
136
138
|
|
|
@@ -146,12 +148,12 @@ class GraphTierInfo:
|
|
|
146
148
|
|
|
147
149
|
limits = GraphTierLimits.from_dict(d.pop("limits"))
|
|
148
150
|
|
|
149
|
-
def _parse_monthly_price(data: object) ->
|
|
151
|
+
def _parse_monthly_price(data: object) -> float | None | Unset:
|
|
150
152
|
if data is None:
|
|
151
153
|
return data
|
|
152
154
|
if isinstance(data, Unset):
|
|
153
155
|
return data
|
|
154
|
-
return cast(
|
|
156
|
+
return cast(float | None | Unset, data)
|
|
155
157
|
|
|
156
158
|
monthly_price = _parse_monthly_price(d.pop("monthly_price", UNSET))
|
|
157
159
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar,
|
|
4
|
+
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
3
5
|
|
|
4
6
|
from attrs import define as _attrs_define
|
|
5
7
|
from attrs import field as _attrs_field
|
|
@@ -19,16 +21,16 @@ class GraphTierLimits:
|
|
|
19
21
|
Attributes:
|
|
20
22
|
storage_gb (int): Storage limit in GB
|
|
21
23
|
monthly_credits (int): Monthly credit allocation
|
|
22
|
-
max_subgraphs (
|
|
24
|
+
max_subgraphs (int | None): Maximum subgraphs (null for unlimited)
|
|
23
25
|
copy_operations (GraphTierCopyOperations): Copy operation limits for a tier.
|
|
24
26
|
backup (GraphTierBackup): Backup configuration for a tier.
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
storage_gb: int
|
|
28
30
|
monthly_credits: int
|
|
29
|
-
max_subgraphs:
|
|
30
|
-
copy_operations:
|
|
31
|
-
backup:
|
|
31
|
+
max_subgraphs: int | None
|
|
32
|
+
copy_operations: GraphTierCopyOperations
|
|
33
|
+
backup: GraphTierBackup
|
|
32
34
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
35
|
|
|
34
36
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -36,7 +38,7 @@ class GraphTierLimits:
|
|
|
36
38
|
|
|
37
39
|
monthly_credits = self.monthly_credits
|
|
38
40
|
|
|
39
|
-
max_subgraphs:
|
|
41
|
+
max_subgraphs: int | None
|
|
40
42
|
max_subgraphs = self.max_subgraphs
|
|
41
43
|
|
|
42
44
|
copy_operations = self.copy_operations.to_dict()
|
|
@@ -67,10 +69,10 @@ class GraphTierLimits:
|
|
|
67
69
|
|
|
68
70
|
monthly_credits = d.pop("monthly_credits")
|
|
69
71
|
|
|
70
|
-
def _parse_max_subgraphs(data: object) ->
|
|
72
|
+
def _parse_max_subgraphs(data: object) -> int | None:
|
|
71
73
|
if data is None:
|
|
72
74
|
return data
|
|
73
|
-
return cast(
|
|
75
|
+
return cast(int | None, data)
|
|
74
76
|
|
|
75
77
|
max_subgraphs = _parse_max_subgraphs(d.pop("max_subgraphs"))
|
|
76
78
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar,
|
|
4
|
+
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
3
5
|
|
|
4
6
|
from attrs import define as _attrs_define
|
|
5
7
|
from attrs import field as _attrs_field
|
|
@@ -26,19 +28,19 @@ class GraphUsageResponse:
|
|
|
26
28
|
graph_id (str): Graph database identifier
|
|
27
29
|
time_range (str): Time range for usage data
|
|
28
30
|
timestamp (str): Usage collection timestamp
|
|
29
|
-
storage_summary (
|
|
30
|
-
credit_summary (
|
|
31
|
-
performance_insights (
|
|
32
|
-
recent_events (
|
|
31
|
+
storage_summary (None | StorageSummary | Unset): Storage usage summary
|
|
32
|
+
credit_summary (CreditSummary | None | Unset): Credit consumption summary
|
|
33
|
+
performance_insights (None | PerformanceInsights | Unset): Performance analytics
|
|
34
|
+
recent_events (list[GraphUsageResponseRecentEventsItem] | Unset): Recent usage events
|
|
33
35
|
"""
|
|
34
36
|
|
|
35
37
|
graph_id: str
|
|
36
38
|
time_range: str
|
|
37
39
|
timestamp: str
|
|
38
|
-
storage_summary:
|
|
39
|
-
credit_summary:
|
|
40
|
-
performance_insights:
|
|
41
|
-
recent_events:
|
|
40
|
+
storage_summary: None | StorageSummary | Unset = UNSET
|
|
41
|
+
credit_summary: CreditSummary | None | Unset = UNSET
|
|
42
|
+
performance_insights: None | PerformanceInsights | Unset = UNSET
|
|
43
|
+
recent_events: list[GraphUsageResponseRecentEventsItem] | Unset = UNSET
|
|
42
44
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
43
45
|
|
|
44
46
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -52,7 +54,7 @@ class GraphUsageResponse:
|
|
|
52
54
|
|
|
53
55
|
timestamp = self.timestamp
|
|
54
56
|
|
|
55
|
-
storage_summary:
|
|
57
|
+
storage_summary: dict[str, Any] | None | Unset
|
|
56
58
|
if isinstance(self.storage_summary, Unset):
|
|
57
59
|
storage_summary = UNSET
|
|
58
60
|
elif isinstance(self.storage_summary, StorageSummary):
|
|
@@ -60,7 +62,7 @@ class GraphUsageResponse:
|
|
|
60
62
|
else:
|
|
61
63
|
storage_summary = self.storage_summary
|
|
62
64
|
|
|
63
|
-
credit_summary:
|
|
65
|
+
credit_summary: dict[str, Any] | None | Unset
|
|
64
66
|
if isinstance(self.credit_summary, Unset):
|
|
65
67
|
credit_summary = UNSET
|
|
66
68
|
elif isinstance(self.credit_summary, CreditSummary):
|
|
@@ -68,7 +70,7 @@ class GraphUsageResponse:
|
|
|
68
70
|
else:
|
|
69
71
|
credit_summary = self.credit_summary
|
|
70
72
|
|
|
71
|
-
performance_insights:
|
|
73
|
+
performance_insights: dict[str, Any] | None | Unset
|
|
72
74
|
if isinstance(self.performance_insights, Unset):
|
|
73
75
|
performance_insights = UNSET
|
|
74
76
|
elif isinstance(self.performance_insights, PerformanceInsights):
|
|
@@ -76,7 +78,7 @@ class GraphUsageResponse:
|
|
|
76
78
|
else:
|
|
77
79
|
performance_insights = self.performance_insights
|
|
78
80
|
|
|
79
|
-
recent_events:
|
|
81
|
+
recent_events: list[dict[str, Any]] | Unset = UNSET
|
|
80
82
|
if not isinstance(self.recent_events, Unset):
|
|
81
83
|
recent_events = []
|
|
82
84
|
for recent_events_item_data in self.recent_events:
|
|
@@ -119,7 +121,7 @@ class GraphUsageResponse:
|
|
|
119
121
|
|
|
120
122
|
timestamp = d.pop("timestamp")
|
|
121
123
|
|
|
122
|
-
def _parse_storage_summary(data: object) ->
|
|
124
|
+
def _parse_storage_summary(data: object) -> None | StorageSummary | Unset:
|
|
123
125
|
if data is None:
|
|
124
126
|
return data
|
|
125
127
|
if isinstance(data, Unset):
|
|
@@ -130,13 +132,13 @@ class GraphUsageResponse:
|
|
|
130
132
|
storage_summary_type_0 = StorageSummary.from_dict(data)
|
|
131
133
|
|
|
132
134
|
return storage_summary_type_0
|
|
133
|
-
except
|
|
135
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
134
136
|
pass
|
|
135
|
-
return cast(
|
|
137
|
+
return cast(None | StorageSummary | Unset, data)
|
|
136
138
|
|
|
137
139
|
storage_summary = _parse_storage_summary(d.pop("storage_summary", UNSET))
|
|
138
140
|
|
|
139
|
-
def _parse_credit_summary(data: object) ->
|
|
141
|
+
def _parse_credit_summary(data: object) -> CreditSummary | None | Unset:
|
|
140
142
|
if data is None:
|
|
141
143
|
return data
|
|
142
144
|
if isinstance(data, Unset):
|
|
@@ -147,15 +149,13 @@ class GraphUsageResponse:
|
|
|
147
149
|
credit_summary_type_0 = CreditSummary.from_dict(data)
|
|
148
150
|
|
|
149
151
|
return credit_summary_type_0
|
|
150
|
-
except
|
|
152
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
151
153
|
pass
|
|
152
|
-
return cast(
|
|
154
|
+
return cast(CreditSummary | None | Unset, data)
|
|
153
155
|
|
|
154
156
|
credit_summary = _parse_credit_summary(d.pop("credit_summary", UNSET))
|
|
155
157
|
|
|
156
|
-
def _parse_performance_insights(
|
|
157
|
-
data: object,
|
|
158
|
-
) -> Union["PerformanceInsights", None, Unset]:
|
|
158
|
+
def _parse_performance_insights(data: object) -> None | PerformanceInsights | Unset:
|
|
159
159
|
if data is None:
|
|
160
160
|
return data
|
|
161
161
|
if isinstance(data, Unset):
|
|
@@ -166,22 +166,24 @@ class GraphUsageResponse:
|
|
|
166
166
|
performance_insights_type_0 = PerformanceInsights.from_dict(data)
|
|
167
167
|
|
|
168
168
|
return performance_insights_type_0
|
|
169
|
-
except
|
|
169
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
170
170
|
pass
|
|
171
|
-
return cast(
|
|
171
|
+
return cast(None | PerformanceInsights | Unset, data)
|
|
172
172
|
|
|
173
173
|
performance_insights = _parse_performance_insights(
|
|
174
174
|
d.pop("performance_insights", UNSET)
|
|
175
175
|
)
|
|
176
176
|
|
|
177
|
-
recent_events = []
|
|
178
177
|
_recent_events = d.pop("recent_events", UNSET)
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
178
|
+
recent_events: list[GraphUsageResponseRecentEventsItem] | Unset = UNSET
|
|
179
|
+
if _recent_events is not UNSET:
|
|
180
|
+
recent_events = []
|
|
181
|
+
for recent_events_item_data in _recent_events:
|
|
182
|
+
recent_events_item = GraphUsageResponseRecentEventsItem.from_dict(
|
|
183
|
+
recent_events_item_data
|
|
184
|
+
)
|
|
183
185
|
|
|
184
|
-
|
|
186
|
+
recent_events.append(recent_events_item)
|
|
185
187
|
|
|
186
188
|
graph_usage_response = cls(
|
|
187
189
|
graph_id=graph_id,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import datetime
|
|
2
4
|
from collections.abc import Mapping
|
|
3
|
-
from typing import TYPE_CHECKING, Any, TypeVar,
|
|
5
|
+
from typing import TYPE_CHECKING, Any, TypeVar, cast
|
|
4
6
|
|
|
5
7
|
from attrs import define as _attrs_define
|
|
6
8
|
from attrs import field as _attrs_field
|
|
@@ -22,12 +24,12 @@ class HealthStatus:
|
|
|
22
24
|
Attributes:
|
|
23
25
|
status (str): Current health status
|
|
24
26
|
timestamp (datetime.datetime): Time of health check
|
|
25
|
-
details (
|
|
27
|
+
details (HealthStatusDetailsType0 | None | Unset): Additional health check details
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
30
|
status: str
|
|
29
31
|
timestamp: datetime.datetime
|
|
30
|
-
details:
|
|
32
|
+
details: HealthStatusDetailsType0 | None | Unset = UNSET
|
|
31
33
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
34
|
|
|
33
35
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -37,7 +39,7 @@ class HealthStatus:
|
|
|
37
39
|
|
|
38
40
|
timestamp = self.timestamp.isoformat()
|
|
39
41
|
|
|
40
|
-
details:
|
|
42
|
+
details: dict[str, Any] | None | Unset
|
|
41
43
|
if isinstance(self.details, Unset):
|
|
42
44
|
details = UNSET
|
|
43
45
|
elif isinstance(self.details, HealthStatusDetailsType0):
|
|
@@ -67,7 +69,7 @@ class HealthStatus:
|
|
|
67
69
|
|
|
68
70
|
timestamp = isoparse(d.pop("timestamp"))
|
|
69
71
|
|
|
70
|
-
def _parse_details(data: object) ->
|
|
72
|
+
def _parse_details(data: object) -> HealthStatusDetailsType0 | None | Unset:
|
|
71
73
|
if data is None:
|
|
72
74
|
return data
|
|
73
75
|
if isinstance(data, Unset):
|
|
@@ -78,9 +80,9 @@ class HealthStatus:
|
|
|
78
80
|
details_type_0 = HealthStatusDetailsType0.from_dict(data)
|
|
79
81
|
|
|
80
82
|
return details_type_0
|
|
81
|
-
except
|
|
83
|
+
except (TypeError, ValueError, AttributeError, KeyError):
|
|
82
84
|
pass
|
|
83
|
-
return cast(
|
|
85
|
+
return cast(HealthStatusDetailsType0 | None | Unset, data)
|
|
84
86
|
|
|
85
87
|
details = _parse_details(d.pop("details", UNSET))
|
|
86
88
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar
|
|
4
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
5
|
|
|
4
6
|
from attrs import define as _attrs_define
|
|
5
7
|
from attrs import field as _attrs_field
|
|
@@ -17,14 +19,14 @@ T = TypeVar("T", bound="HTTPValidationError")
|
|
|
17
19
|
class HTTPValidationError:
|
|
18
20
|
"""
|
|
19
21
|
Attributes:
|
|
20
|
-
detail (
|
|
22
|
+
detail (list[ValidationError] | Unset):
|
|
21
23
|
"""
|
|
22
24
|
|
|
23
|
-
detail:
|
|
25
|
+
detail: list[ValidationError] | Unset = UNSET
|
|
24
26
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
27
|
|
|
26
28
|
def to_dict(self) -> dict[str, Any]:
|
|
27
|
-
detail:
|
|
29
|
+
detail: list[dict[str, Any]] | Unset = UNSET
|
|
28
30
|
if not isinstance(self.detail, Unset):
|
|
29
31
|
detail = []
|
|
30
32
|
for detail_item_data in self.detail:
|
|
@@ -44,12 +46,14 @@ class HTTPValidationError:
|
|
|
44
46
|
from ..models.validation_error import ValidationError
|
|
45
47
|
|
|
46
48
|
d = dict(src_dict)
|
|
47
|
-
detail = []
|
|
48
49
|
_detail = d.pop("detail", UNSET)
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
detail: list[ValidationError] | Unset = UNSET
|
|
51
|
+
if _detail is not UNSET:
|
|
52
|
+
detail = []
|
|
53
|
+
for detail_item_data in _detail:
|
|
54
|
+
detail_item = ValidationError.from_dict(detail_item_data)
|
|
51
55
|
|
|
52
|
-
|
|
56
|
+
detail.append(detail_item)
|
|
53
57
|
|
|
54
58
|
http_validation_error = cls(
|
|
55
59
|
detail=detail,
|