vellum-ai 1.1.3__py3-none-any.whl → 1.1.5__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.
- vellum/__init__.py +2 -0
- vellum/client/README.md +22 -0
- vellum/client/__init__.py +89 -99
- vellum/client/core/__init__.py +2 -0
- vellum/client/core/api_error.py +13 -5
- vellum/client/core/client_wrapper.py +16 -4
- vellum/client/core/force_multipart.py +16 -0
- vellum/client/core/http_client.py +70 -24
- vellum/client/core/http_response.py +19 -11
- vellum/client/core/pydantic_utilities.py +71 -114
- vellum/client/core/serialization.py +6 -1
- vellum/client/errors/__init__.py +2 -0
- vellum/client/errors/bad_request_error.py +4 -3
- vellum/client/errors/forbidden_error.py +4 -3
- vellum/client/errors/internal_server_error.py +4 -3
- vellum/client/errors/not_found_error.py +4 -3
- vellum/client/raw_client.py +270 -201
- vellum/client/resources/__init__.py +2 -0
- vellum/client/resources/ad_hoc/__init__.py +2 -0
- vellum/client/resources/ad_hoc/client.py +16 -17
- vellum/client/resources/ad_hoc/raw_client.py +68 -53
- vellum/client/resources/container_images/__init__.py +2 -0
- vellum/client/resources/container_images/client.py +24 -21
- vellum/client/resources/container_images/raw_client.py +23 -24
- vellum/client/resources/deployments/__init__.py +2 -0
- vellum/client/resources/deployments/client.py +43 -44
- vellum/client/resources/deployments/raw_client.py +73 -66
- vellum/client/resources/deployments/types/__init__.py +2 -0
- vellum/client/resources/document_indexes/__init__.py +2 -0
- vellum/client/resources/document_indexes/client.py +38 -39
- vellum/client/resources/document_indexes/raw_client.py +42 -43
- vellum/client/resources/document_indexes/types/__init__.py +2 -0
- vellum/client/resources/documents/__init__.py +2 -0
- vellum/client/resources/documents/client.py +25 -26
- vellum/client/resources/documents/raw_client.py +51 -44
- vellum/client/resources/folder_entities/__init__.py +2 -0
- vellum/client/resources/folder_entities/client.py +12 -13
- vellum/client/resources/folder_entities/raw_client.py +15 -16
- vellum/client/resources/folder_entities/types/__init__.py +2 -0
- vellum/client/resources/metric_definitions/__init__.py +2 -0
- vellum/client/resources/metric_definitions/client.py +12 -13
- vellum/client/resources/metric_definitions/raw_client.py +17 -18
- vellum/client/resources/ml_models/__init__.py +2 -0
- vellum/client/resources/ml_models/client.py +7 -8
- vellum/client/resources/ml_models/raw_client.py +11 -12
- vellum/client/resources/organizations/__init__.py +2 -0
- vellum/client/resources/organizations/client.py +7 -8
- vellum/client/resources/organizations/raw_client.py +10 -11
- vellum/client/resources/prompts/__init__.py +2 -0
- vellum/client/resources/prompts/client.py +13 -12
- vellum/client/resources/prompts/raw_client.py +40 -33
- vellum/client/resources/sandboxes/__init__.py +2 -0
- vellum/client/resources/sandboxes/client.py +15 -16
- vellum/client/resources/sandboxes/raw_client.py +20 -21
- vellum/client/resources/test_suite_runs/__init__.py +2 -0
- vellum/client/resources/test_suite_runs/client.py +17 -18
- vellum/client/resources/test_suite_runs/raw_client.py +20 -21
- vellum/client/resources/test_suites/__init__.py +2 -0
- vellum/client/resources/test_suites/client.py +20 -19
- vellum/client/resources/test_suites/raw_client.py +46 -31
- vellum/client/resources/workflow_deployments/__init__.py +2 -0
- vellum/client/resources/workflow_deployments/client.py +45 -46
- vellum/client/resources/workflow_deployments/raw_client.py +48 -49
- vellum/client/resources/workflow_deployments/types/__init__.py +2 -0
- vellum/client/resources/workflow_executions/__init__.py +2 -0
- vellum/client/resources/workflow_executions/client.py +7 -8
- vellum/client/resources/workflow_executions/raw_client.py +11 -12
- vellum/client/resources/workflow_sandboxes/__init__.py +2 -0
- vellum/client/resources/workflow_sandboxes/client.py +12 -13
- vellum/client/resources/workflow_sandboxes/raw_client.py +16 -17
- vellum/client/resources/workflow_sandboxes/types/__init__.py +2 -0
- vellum/client/resources/workflows/__init__.py +2 -0
- vellum/client/resources/workflows/client.py +11 -12
- vellum/client/resources/workflows/raw_client.py +34 -27
- vellum/client/resources/workspace_secrets/__init__.py +2 -0
- vellum/client/resources/workspace_secrets/client.py +11 -12
- vellum/client/resources/workspace_secrets/raw_client.py +15 -16
- vellum/client/resources/workspaces/__init__.py +2 -0
- vellum/client/resources/workspaces/client.py +7 -8
- vellum/client/resources/workspaces/raw_client.py +10 -11
- vellum/client/types/__init__.py +2 -0
- vellum/client/types/ad_hoc_execute_prompt_event.py +3 -2
- vellum/client/types/ad_hoc_expand_meta.py +2 -2
- vellum/client/types/ad_hoc_fulfilled_prompt_execution_meta.py +3 -3
- vellum/client/types/ad_hoc_initiated_prompt_execution_meta.py +2 -2
- vellum/client/types/ad_hoc_rejected_prompt_execution_meta.py +3 -3
- vellum/client/types/ad_hoc_streaming_prompt_execution_meta.py +2 -2
- vellum/client/types/api_node_result.py +3 -3
- vellum/client/types/api_node_result_data.py +4 -4
- vellum/client/types/api_request_parent_context.py +11 -11
- vellum/client/types/array_chat_message_content.py +3 -3
- vellum/client/types/array_chat_message_content_item.py +5 -4
- vellum/client/types/array_chat_message_content_item_request.py +5 -4
- vellum/client/types/array_chat_message_content_request.py +3 -3
- vellum/client/types/array_input.py +12 -6
- vellum/client/types/array_vellum_value.py +4 -4
- vellum/client/types/array_vellum_value_request.py +4 -4
- vellum/client/types/audio_chat_message_content.py +3 -3
- vellum/client/types/audio_chat_message_content_request.py +3 -3
- vellum/client/types/audio_prompt_block.py +4 -4
- vellum/client/types/audio_vellum_value.py +3 -3
- vellum/client/types/audio_vellum_value_request.py +3 -3
- vellum/client/types/base_output.py +2 -2
- vellum/client/types/basic_vectorizer_intfloat_multilingual_e_5_large.py +2 -2
- vellum/client/types/basic_vectorizer_intfloat_multilingual_e_5_large_request.py +2 -2
- vellum/client/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1.py +2 -2
- vellum/client/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1_request.py +2 -2
- vellum/client/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1.py +2 -2
- vellum/client/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1_request.py +2 -2
- vellum/client/types/chat_history_input.py +3 -3
- vellum/client/types/chat_history_input_request.py +3 -3
- vellum/client/types/chat_history_vellum_value.py +3 -3
- vellum/client/types/chat_history_vellum_value_request.py +3 -3
- vellum/client/types/chat_message.py +4 -4
- vellum/client/types/chat_message_content.py +5 -4
- vellum/client/types/chat_message_content_request.py +5 -4
- vellum/client/types/chat_message_prompt_block.py +7 -7
- vellum/client/types/chat_message_request.py +4 -4
- vellum/client/types/code_execution_node_array_result.py +11 -5
- vellum/client/types/code_execution_node_chat_history_result.py +3 -3
- vellum/client/types/code_execution_node_error_result.py +3 -3
- vellum/client/types/code_execution_node_function_call_result.py +3 -3
- vellum/client/types/code_execution_node_json_result.py +2 -2
- vellum/client/types/code_execution_node_number_result.py +2 -2
- vellum/client/types/code_execution_node_result.py +10 -4
- vellum/client/types/code_execution_node_result_data.py +10 -4
- vellum/client/types/code_execution_node_result_output.py +6 -5
- vellum/client/types/code_execution_node_search_results_result.py +3 -3
- vellum/client/types/code_execution_node_string_result.py +2 -2
- vellum/client/types/code_execution_package.py +2 -2
- vellum/client/types/code_executor_input.py +7 -6
- vellum/client/types/code_executor_response.py +11 -5
- vellum/client/types/code_executor_secret_input.py +3 -3
- vellum/client/types/code_resource_definition.py +3 -3
- vellum/client/types/compile_prompt_deployment_expand_meta_request.py +2 -2
- vellum/client/types/compile_prompt_meta.py +2 -2
- vellum/client/types/conditional_node_result.py +3 -3
- vellum/client/types/conditional_node_result_data.py +2 -2
- vellum/client/types/container_image_build_config.py +3 -3
- vellum/client/types/container_image_container_image_tag.py +2 -2
- vellum/client/types/container_image_read.py +5 -5
- vellum/client/types/create_test_suite_test_case_request.py +9 -3
- vellum/client/types/deployment_history_item.py +10 -4
- vellum/client/types/deployment_provider_payload_response.py +4 -4
- vellum/client/types/deployment_read.py +10 -4
- vellum/client/types/deployment_release_tag_deployment_history_item.py +2 -2
- vellum/client/types/deployment_release_tag_read.py +4 -4
- vellum/client/types/docker_service_token.py +2 -2
- vellum/client/types/document_chat_message_content.py +3 -3
- vellum/client/types/document_chat_message_content_request.py +3 -3
- vellum/client/types/document_document_to_document_index.py +3 -3
- vellum/client/types/document_index_chunking.py +1 -0
- vellum/client/types/document_index_chunking_request.py +1 -0
- vellum/client/types/document_index_indexing_config.py +4 -4
- vellum/client/types/document_index_indexing_config_request.py +4 -4
- vellum/client/types/document_index_read.py +4 -4
- vellum/client/types/document_prompt_block.py +4 -4
- vellum/client/types/document_read.py +4 -4
- vellum/client/types/document_vellum_value.py +3 -3
- vellum/client/types/document_vellum_value_request.py +3 -3
- vellum/client/types/enriched_normalized_completion.py +3 -3
- vellum/client/types/ephemeral_prompt_cache_config.py +3 -3
- vellum/client/types/error_input.py +3 -3
- vellum/client/types/error_vellum_value.py +3 -3
- vellum/client/types/error_vellum_value_request.py +3 -3
- vellum/client/types/execute_api_request_bearer_token.py +1 -0
- vellum/client/types/execute_api_request_headers_value.py +1 -0
- vellum/client/types/execute_api_response.py +5 -5
- vellum/client/types/execute_prompt_event.py +3 -2
- vellum/client/types/execute_prompt_response.py +1 -0
- vellum/client/types/execute_workflow_response.py +10 -4
- vellum/client/types/execute_workflow_workflow_result_event.py +1 -0
- vellum/client/types/execution_array_vellum_value.py +12 -6
- vellum/client/types/execution_chat_history_vellum_value.py +3 -3
- vellum/client/types/execution_error_vellum_value.py +3 -3
- vellum/client/types/execution_function_call_vellum_value.py +3 -3
- vellum/client/types/execution_json_vellum_value.py +3 -3
- vellum/client/types/execution_number_vellum_value.py +3 -3
- vellum/client/types/execution_search_results_vellum_value.py +3 -3
- vellum/client/types/execution_string_vellum_value.py +3 -3
- vellum/client/types/execution_thinking_vellum_value.py +3 -3
- vellum/client/types/execution_vellum_value.py +6 -5
- vellum/client/types/external_input_descriptor.py +3 -3
- vellum/client/types/external_parent_context.py +11 -11
- vellum/client/types/external_test_case_execution.py +10 -4
- vellum/client/types/external_test_case_execution_request.py +10 -4
- vellum/client/types/fast_embed_vectorizer_baai_bge_small_en_v_15.py +2 -2
- vellum/client/types/fast_embed_vectorizer_baai_bge_small_en_v_15_request.py +2 -2
- vellum/client/types/folder_entity.py +4 -3
- vellum/client/types/folder_entity_dataset.py +3 -3
- vellum/client/types/folder_entity_dataset_data.py +3 -3
- vellum/client/types/folder_entity_document_index.py +3 -3
- vellum/client/types/folder_entity_document_index_data.py +4 -4
- vellum/client/types/folder_entity_folder.py +3 -3
- vellum/client/types/folder_entity_folder_data.py +2 -2
- vellum/client/types/folder_entity_prompt_sandbox.py +3 -3
- vellum/client/types/folder_entity_prompt_sandbox_data.py +3 -3
- vellum/client/types/folder_entity_test_suite.py +3 -3
- vellum/client/types/folder_entity_test_suite_data.py +3 -3
- vellum/client/types/folder_entity_workflow_sandbox.py +3 -3
- vellum/client/types/folder_entity_workflow_sandbox_data.py +3 -3
- vellum/client/types/fulfilled_ad_hoc_execute_prompt_event.py +4 -4
- vellum/client/types/fulfilled_execute_prompt_event.py +4 -4
- vellum/client/types/fulfilled_execute_prompt_response.py +3 -3
- vellum/client/types/fulfilled_execute_workflow_workflow_result_event.py +11 -5
- vellum/client/types/fulfilled_prompt_execution_meta.py +3 -3
- vellum/client/types/fulfilled_workflow_node_result_event.py +12 -6
- vellum/client/types/function_call.py +2 -2
- vellum/client/types/function_call_chat_message_content.py +3 -3
- vellum/client/types/function_call_chat_message_content_request.py +3 -3
- vellum/client/types/function_call_chat_message_content_value.py +2 -2
- vellum/client/types/function_call_chat_message_content_value_request.py +2 -2
- vellum/client/types/function_call_input.py +3 -3
- vellum/client/types/function_call_prompt_block.py +4 -4
- vellum/client/types/function_call_request.py +2 -2
- vellum/client/types/function_call_vellum_value.py +3 -3
- vellum/client/types/function_call_vellum_value_request.py +3 -3
- vellum/client/types/function_definition.py +4 -4
- vellum/client/types/generate_options_request.py +3 -3
- vellum/client/types/generate_request.py +2 -2
- vellum/client/types/generate_response.py +3 -3
- vellum/client/types/generate_result.py +3 -3
- vellum/client/types/generate_result_data.py +3 -3
- vellum/client/types/generate_result_error.py +3 -3
- vellum/client/types/generate_stream_response.py +3 -3
- vellum/client/types/generate_stream_result.py +4 -4
- vellum/client/types/generate_stream_result_data.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_config.py +2 -2
- vellum/client/types/google_vertex_ai_vectorizer_config_request.py +2 -2
- vellum/client/types/google_vertex_ai_vectorizer_gemini_embedding_001.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_gemini_embedding_001_request.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_text_embedding_004.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_text_embedding_004_request.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_text_multilingual_embedding_002.py +3 -3
- vellum/client/types/google_vertex_ai_vectorizer_text_multilingual_embedding_002_request.py +3 -3
- vellum/client/types/hkunlp_instructor_xl_vectorizer.py +3 -3
- vellum/client/types/hkunlp_instructor_xl_vectorizer_request.py +3 -3
- vellum/client/types/image_chat_message_content.py +3 -3
- vellum/client/types/image_chat_message_content_request.py +3 -3
- vellum/client/types/image_prompt_block.py +4 -4
- vellum/client/types/image_vellum_value.py +3 -3
- vellum/client/types/image_vellum_value_request.py +3 -3
- vellum/client/types/indexing_config_vectorizer.py +7 -6
- vellum/client/types/indexing_config_vectorizer_request.py +7 -6
- vellum/client/types/initiated_ad_hoc_execute_prompt_event.py +3 -3
- vellum/client/types/initiated_execute_prompt_event.py +3 -3
- vellum/client/types/initiated_prompt_execution_meta.py +2 -2
- vellum/client/types/initiated_workflow_node_result_event.py +12 -6
- vellum/client/types/instructor_vectorizer_config.py +2 -2
- vellum/client/types/instructor_vectorizer_config_request.py +2 -2
- vellum/client/types/invoked_port.py +2 -2
- vellum/client/types/jinja_prompt_block.py +4 -4
- vellum/client/types/json_input.py +3 -3
- vellum/client/types/json_input_request.py +3 -3
- vellum/client/types/json_vellum_value.py +2 -2
- vellum/client/types/json_vellum_value_request.py +2 -2
- vellum/client/types/map_node_result.py +3 -3
- vellum/client/types/map_node_result_data.py +3 -3
- vellum/client/types/merge_node_result.py +3 -3
- vellum/client/types/merge_node_result_data.py +2 -2
- vellum/client/types/metadata_filter_config_request.py +12 -6
- vellum/client/types/metadata_filter_rule_request.py +5 -5
- vellum/client/types/metadata_filters_request.py +1 -0
- vellum/client/types/metric_definition_execution.py +10 -4
- vellum/client/types/metric_definition_history_item.py +10 -4
- vellum/client/types/metric_definition_input.py +3 -2
- vellum/client/types/metric_node_result.py +2 -2
- vellum/client/types/ml_model_read.py +6 -3
- vellum/client/types/ml_model_usage.py +2 -2
- vellum/client/types/ml_model_usage_wrapper.py +3 -3
- vellum/client/types/named_scenario_input_chat_history_variable_value_request.py +3 -3
- vellum/client/types/named_scenario_input_json_variable_value_request.py +2 -2
- vellum/client/types/named_scenario_input_request.py +3 -2
- vellum/client/types/named_scenario_input_string_variable_value_request.py +2 -2
- vellum/client/types/named_test_case_array_variable_value.py +11 -5
- vellum/client/types/named_test_case_array_variable_value_request.py +11 -5
- vellum/client/types/named_test_case_chat_history_variable_value.py +3 -3
- vellum/client/types/named_test_case_chat_history_variable_value_request.py +3 -3
- vellum/client/types/named_test_case_error_variable_value.py +3 -3
- vellum/client/types/named_test_case_error_variable_value_request.py +3 -3
- vellum/client/types/named_test_case_function_call_variable_value.py +3 -3
- vellum/client/types/named_test_case_function_call_variable_value_request.py +3 -3
- vellum/client/types/named_test_case_json_variable_value.py +2 -2
- vellum/client/types/named_test_case_json_variable_value_request.py +2 -2
- vellum/client/types/named_test_case_number_variable_value.py +2 -2
- vellum/client/types/named_test_case_number_variable_value_request.py +2 -2
- vellum/client/types/named_test_case_search_results_variable_value.py +3 -3
- vellum/client/types/named_test_case_search_results_variable_value_request.py +3 -3
- vellum/client/types/named_test_case_string_variable_value.py +2 -2
- vellum/client/types/named_test_case_string_variable_value_request.py +2 -2
- vellum/client/types/named_test_case_variable_value.py +6 -5
- vellum/client/types/named_test_case_variable_value_request.py +6 -5
- vellum/client/types/node_execution_fulfilled_body.py +4 -4
- vellum/client/types/node_execution_fulfilled_event.py +22 -16
- vellum/client/types/node_execution_initiated_body.py +3 -3
- vellum/client/types/node_execution_initiated_event.py +22 -16
- vellum/client/types/node_execution_paused_body.py +3 -3
- vellum/client/types/node_execution_paused_event.py +22 -16
- vellum/client/types/node_execution_rejected_body.py +4 -4
- vellum/client/types/node_execution_rejected_event.py +22 -16
- vellum/client/types/node_execution_resumed_body.py +3 -3
- vellum/client/types/node_execution_resumed_event.py +22 -16
- vellum/client/types/node_execution_span.py +19 -13
- vellum/client/types/node_execution_span_attributes.py +2 -2
- vellum/client/types/node_execution_streaming_body.py +4 -4
- vellum/client/types/node_execution_streaming_event.py +22 -16
- vellum/client/types/node_input_compiled_array_value.py +11 -5
- vellum/client/types/node_input_compiled_chat_history_value.py +3 -3
- vellum/client/types/node_input_compiled_error_value.py +3 -3
- vellum/client/types/node_input_compiled_function_call_value.py +3 -3
- vellum/client/types/node_input_compiled_json_value.py +2 -2
- vellum/client/types/node_input_compiled_number_value.py +2 -2
- vellum/client/types/node_input_compiled_search_results_value.py +3 -3
- vellum/client/types/node_input_compiled_secret_value.py +3 -3
- vellum/client/types/node_input_compiled_string_value.py +2 -2
- vellum/client/types/node_input_variable_compiled_value.py +6 -5
- vellum/client/types/node_output_compiled_array_value.py +12 -6
- vellum/client/types/node_output_compiled_chat_history_value.py +3 -3
- vellum/client/types/node_output_compiled_error_value.py +3 -3
- vellum/client/types/node_output_compiled_function_call_value.py +3 -3
- vellum/client/types/node_output_compiled_json_value.py +3 -3
- vellum/client/types/node_output_compiled_number_value.py +3 -3
- vellum/client/types/node_output_compiled_search_results_value.py +3 -3
- vellum/client/types/node_output_compiled_string_value.py +3 -3
- vellum/client/types/node_output_compiled_thinking_value.py +3 -3
- vellum/client/types/node_output_compiled_value.py +6 -5
- vellum/client/types/node_parent_context.py +12 -12
- vellum/client/types/normalized_log_probs.py +3 -3
- vellum/client/types/normalized_token_log_probs.py +2 -2
- vellum/client/types/number_input.py +3 -3
- vellum/client/types/number_vellum_value.py +2 -2
- vellum/client/types/number_vellum_value_request.py +2 -2
- vellum/client/types/open_ai_vectorizer_config.py +3 -3
- vellum/client/types/open_ai_vectorizer_config_request.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_3_large.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_3_large_request.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_3_small.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_3_small_request.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_ada_002.py +3 -3
- vellum/client/types/open_ai_vectorizer_text_embedding_ada_002_request.py +3 -3
- vellum/client/types/organization_read.py +4 -4
- vellum/client/types/paginated_container_image_read_list.py +3 -3
- vellum/client/types/paginated_deployment_release_tag_read_list.py +3 -3
- vellum/client/types/paginated_document_index_read_list.py +3 -3
- vellum/client/types/paginated_folder_entity_list.py +3 -3
- vellum/client/types/paginated_slim_deployment_read_list.py +10 -4
- vellum/client/types/paginated_slim_document_list.py +3 -3
- vellum/client/types/paginated_slim_workflow_deployment_list.py +10 -4
- vellum/client/types/paginated_test_suite_run_execution_list.py +10 -4
- vellum/client/types/paginated_test_suite_test_case_list.py +10 -4
- vellum/client/types/paginated_workflow_release_tag_read_list.py +3 -3
- vellum/client/types/paginated_workflow_sandbox_example_list.py +3 -3
- vellum/client/types/parent_context.py +5 -5
- vellum/client/types/pdf_search_result_meta_source.py +2 -2
- vellum/client/types/pdf_search_result_meta_source_request.py +2 -2
- vellum/client/types/plain_text_prompt_block.py +4 -4
- vellum/client/types/price.py +3 -3
- vellum/client/types/prompt_block.py +7 -6
- vellum/client/types/prompt_deployment_expand_meta_request.py +2 -2
- vellum/client/types/prompt_deployment_input_request.py +3 -2
- vellum/client/types/prompt_deployment_parent_context.py +11 -11
- vellum/client/types/prompt_deployment_release.py +6 -6
- vellum/client/types/prompt_deployment_release_prompt_deployment.py +2 -2
- vellum/client/types/prompt_deployment_release_prompt_version.py +4 -4
- vellum/client/types/prompt_exec_config.py +15 -9
- vellum/client/types/prompt_execution_meta.py +3 -3
- vellum/client/types/prompt_node_execution_meta.py +3 -3
- vellum/client/types/prompt_node_result.py +3 -3
- vellum/client/types/prompt_node_result_data.py +3 -3
- vellum/client/types/prompt_output.py +3 -2
- vellum/client/types/prompt_parameters.py +2 -2
- vellum/client/types/prompt_push_response.py +2 -2
- vellum/client/types/prompt_request_chat_history_input.py +3 -3
- vellum/client/types/prompt_request_input.py +3 -2
- vellum/client/types/prompt_request_json_input.py +3 -3
- vellum/client/types/prompt_request_string_input.py +3 -3
- vellum/client/types/prompt_settings.py +2 -2
- vellum/client/types/prompt_version_build_config_sandbox.py +2 -2
- vellum/client/types/raw_prompt_execution_overrides_request.py +2 -2
- vellum/client/types/reducto_chunker_config.py +2 -2
- vellum/client/types/reducto_chunker_config_request.py +2 -2
- vellum/client/types/reducto_chunking.py +3 -3
- vellum/client/types/reducto_chunking_request.py +3 -3
- vellum/client/types/rejected_ad_hoc_execute_prompt_event.py +4 -4
- vellum/client/types/rejected_execute_prompt_event.py +4 -4
- vellum/client/types/rejected_execute_prompt_response.py +3 -3
- vellum/client/types/rejected_execute_workflow_workflow_result_event.py +4 -4
- vellum/client/types/rejected_prompt_execution_meta.py +3 -3
- vellum/client/types/rejected_workflow_node_result_event.py +12 -6
- vellum/client/types/release_created_by.py +2 -2
- vellum/client/types/release_environment.py +2 -2
- vellum/client/types/release_release_tag.py +3 -3
- vellum/client/types/release_review_reviewer.py +2 -2
- vellum/client/types/release_tag_release.py +2 -2
- vellum/client/types/replace_test_suite_test_case_request.py +9 -3
- vellum/client/types/rich_text_child_block.py +2 -1
- vellum/client/types/rich_text_prompt_block.py +4 -4
- vellum/client/types/sandbox_scenario.py +3 -3
- vellum/client/types/scenario_input.py +3 -2
- vellum/client/types/scenario_input_chat_history_variable_value.py +3 -3
- vellum/client/types/scenario_input_json_variable_value.py +2 -2
- vellum/client/types/scenario_input_string_variable_value.py +2 -2
- vellum/client/types/search_filters_request.py +11 -5
- vellum/client/types/search_node_result.py +3 -3
- vellum/client/types/search_node_result_data.py +3 -3
- vellum/client/types/search_request_options_request.py +13 -7
- vellum/client/types/search_response.py +3 -3
- vellum/client/types/search_result.py +3 -3
- vellum/client/types/search_result_document.py +2 -2
- vellum/client/types/search_result_document_request.py +2 -2
- vellum/client/types/search_result_merging_request.py +2 -2
- vellum/client/types/search_result_meta.py +3 -3
- vellum/client/types/search_result_meta_request.py +3 -3
- vellum/client/types/search_result_request.py +3 -3
- vellum/client/types/search_results_input.py +3 -3
- vellum/client/types/search_results_vellum_value.py +3 -3
- vellum/client/types/search_results_vellum_value_request.py +3 -3
- vellum/client/types/search_weights_request.py +2 -2
- vellum/client/types/sentence_chunker_config.py +2 -2
- vellum/client/types/sentence_chunker_config_request.py +2 -2
- vellum/client/types/sentence_chunking.py +3 -3
- vellum/client/types/sentence_chunking_request.py +3 -3
- vellum/client/types/slim_deployment_read.py +10 -4
- vellum/client/types/slim_document.py +5 -5
- vellum/client/types/slim_document_document_to_document_index.py +3 -3
- vellum/client/types/slim_release_review.py +4 -4
- vellum/client/types/slim_workflow_deployment.py +11 -5
- vellum/client/types/slim_workflow_execution_read.py +21 -15
- vellum/client/types/span_link.py +12 -12
- vellum/client/types/streaming_ad_hoc_execute_prompt_event.py +4 -4
- vellum/client/types/streaming_execute_prompt_event.py +3 -3
- vellum/client/types/streaming_prompt_execution_meta.py +2 -2
- vellum/client/types/streaming_workflow_node_result_event.py +12 -6
- vellum/client/types/string_chat_message_content.py +2 -2
- vellum/client/types/string_chat_message_content_request.py +2 -2
- vellum/client/types/string_input.py +3 -3
- vellum/client/types/string_input_request.py +3 -3
- vellum/client/types/string_vellum_value.py +2 -2
- vellum/client/types/string_vellum_value_request.py +2 -2
- vellum/client/types/submit_completion_actual_request.py +3 -3
- vellum/client/types/submit_workflow_execution_actual_request.py +3 -2
- vellum/client/types/subworkflow_node_result.py +3 -3
- vellum/client/types/subworkflow_node_result_data.py +2 -2
- vellum/client/types/templating_node_array_result.py +11 -5
- vellum/client/types/templating_node_chat_history_result.py +3 -3
- vellum/client/types/templating_node_error_result.py +3 -3
- vellum/client/types/templating_node_function_call_result.py +3 -3
- vellum/client/types/templating_node_json_result.py +2 -2
- vellum/client/types/templating_node_number_result.py +2 -2
- vellum/client/types/templating_node_result.py +10 -4
- vellum/client/types/templating_node_result_data.py +10 -4
- vellum/client/types/templating_node_result_output.py +6 -5
- vellum/client/types/templating_node_search_results_result.py +3 -3
- vellum/client/types/templating_node_string_result.py +2 -2
- vellum/client/types/terminal_node_array_result.py +11 -5
- vellum/client/types/terminal_node_chat_history_result.py +2 -2
- vellum/client/types/terminal_node_error_result.py +2 -2
- vellum/client/types/terminal_node_function_call_result.py +2 -2
- vellum/client/types/terminal_node_json_result.py +2 -2
- vellum/client/types/terminal_node_number_result.py +2 -2
- vellum/client/types/terminal_node_result.py +10 -4
- vellum/client/types/terminal_node_result_data.py +10 -4
- vellum/client/types/terminal_node_result_output.py +6 -5
- vellum/client/types/terminal_node_search_results_result.py +2 -2
- vellum/client/types/terminal_node_string_result.py +2 -2
- vellum/client/types/test_case_array_variable_value.py +11 -5
- vellum/client/types/test_case_chat_history_variable_value.py +3 -3
- vellum/client/types/test_case_error_variable_value.py +3 -3
- vellum/client/types/test_case_function_call_variable_value.py +3 -3
- vellum/client/types/test_case_json_variable_value.py +2 -2
- vellum/client/types/test_case_number_variable_value.py +2 -2
- vellum/client/types/test_case_search_results_variable_value.py +3 -3
- vellum/client/types/test_case_string_variable_value.py +2 -2
- vellum/client/types/test_case_variable_value.py +6 -5
- vellum/client/types/test_suite_run_deployment_release_tag_exec_config.py +3 -3
- vellum/client/types/test_suite_run_deployment_release_tag_exec_config_data.py +3 -3
- vellum/client/types/test_suite_run_deployment_release_tag_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_deployment_release_tag_exec_config_request.py +3 -3
- vellum/client/types/test_suite_run_exec_config.py +2 -1
- vellum/client/types/test_suite_run_exec_config_request.py +2 -1
- vellum/client/types/test_suite_run_execution.py +11 -5
- vellum/client/types/test_suite_run_execution_array_output.py +11 -5
- vellum/client/types/test_suite_run_execution_chat_history_output.py +3 -3
- vellum/client/types/test_suite_run_execution_error_output.py +3 -3
- vellum/client/types/test_suite_run_execution_function_call_output.py +3 -3
- vellum/client/types/test_suite_run_execution_json_output.py +2 -2
- vellum/client/types/test_suite_run_execution_metric_definition.py +2 -2
- vellum/client/types/test_suite_run_execution_metric_result.py +11 -5
- vellum/client/types/test_suite_run_execution_number_output.py +2 -2
- vellum/client/types/test_suite_run_execution_output.py +6 -5
- vellum/client/types/test_suite_run_execution_search_results_output.py +3 -3
- vellum/client/types/test_suite_run_execution_string_output.py +2 -2
- vellum/client/types/test_suite_run_external_exec_config.py +10 -4
- vellum/client/types/test_suite_run_external_exec_config_data.py +10 -4
- vellum/client/types/test_suite_run_external_exec_config_data_request.py +10 -4
- vellum/client/types/test_suite_run_external_exec_config_request.py +10 -4
- vellum/client/types/test_suite_run_metric_array_output.py +11 -5
- vellum/client/types/test_suite_run_metric_error_output.py +3 -3
- vellum/client/types/test_suite_run_metric_json_output.py +2 -2
- vellum/client/types/test_suite_run_metric_number_output.py +2 -2
- vellum/client/types/test_suite_run_metric_output.py +5 -4
- vellum/client/types/test_suite_run_metric_string_output.py +2 -2
- vellum/client/types/test_suite_run_progress.py +2 -2
- vellum/client/types/test_suite_run_prompt_sandbox_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_prompt_sandbox_exec_config_request.py +3 -3
- vellum/client/types/test_suite_run_prompt_sandbox_history_item_exec_config.py +3 -3
- vellum/client/types/test_suite_run_prompt_sandbox_history_item_exec_config_data.py +3 -3
- vellum/client/types/test_suite_run_prompt_sandbox_history_item_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_prompt_sandbox_history_item_exec_config_request.py +3 -3
- vellum/client/types/test_suite_run_read.py +12 -6
- vellum/client/types/test_suite_run_test_suite.py +2 -2
- vellum/client/types/test_suite_run_workflow_release_tag_exec_config.py +3 -3
- vellum/client/types/test_suite_run_workflow_release_tag_exec_config_data.py +3 -3
- vellum/client/types/test_suite_run_workflow_release_tag_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_workflow_release_tag_exec_config_request.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_exec_config_request.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_history_item_exec_config.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_history_item_exec_config_data.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_history_item_exec_config_data_request.py +3 -3
- vellum/client/types/test_suite_run_workflow_sandbox_history_item_exec_config_request.py +3 -3
- vellum/client/types/test_suite_test_case.py +10 -4
- vellum/client/types/test_suite_test_case_bulk_operation_request.py +2 -1
- vellum/client/types/test_suite_test_case_bulk_result.py +2 -1
- vellum/client/types/test_suite_test_case_create_bulk_operation_request.py +10 -4
- vellum/client/types/test_suite_test_case_created_bulk_result.py +3 -3
- vellum/client/types/test_suite_test_case_created_bulk_result_data.py +2 -2
- vellum/client/types/test_suite_test_case_delete_bulk_operation_data_request.py +2 -2
- vellum/client/types/test_suite_test_case_delete_bulk_operation_request.py +3 -3
- vellum/client/types/test_suite_test_case_deleted_bulk_result.py +3 -3
- vellum/client/types/test_suite_test_case_deleted_bulk_result_data.py +2 -2
- vellum/client/types/test_suite_test_case_rejected_bulk_result.py +2 -2
- vellum/client/types/test_suite_test_case_replace_bulk_operation_request.py +10 -4
- vellum/client/types/test_suite_test_case_replaced_bulk_result.py +3 -3
- vellum/client/types/test_suite_test_case_replaced_bulk_result_data.py +2 -2
- vellum/client/types/test_suite_test_case_upsert_bulk_operation_request.py +10 -4
- vellum/client/types/thinking_vellum_value.py +3 -3
- vellum/client/types/thinking_vellum_value_request.py +3 -3
- vellum/client/types/token_overlapping_window_chunker_config.py +2 -2
- vellum/client/types/token_overlapping_window_chunker_config_request.py +2 -2
- vellum/client/types/token_overlapping_window_chunking.py +3 -3
- vellum/client/types/token_overlapping_window_chunking_request.py +3 -3
- vellum/client/types/upload_document_response.py +3 -3
- vellum/client/types/upsert_test_suite_test_case_request.py +9 -3
- vellum/client/types/variable_prompt_block.py +4 -4
- vellum/client/types/vellum_audio.py +3 -3
- vellum/client/types/vellum_audio_request.py +3 -3
- vellum/client/types/vellum_code_resource_definition.py +2 -2
- vellum/client/types/vellum_document.py +2 -2
- vellum/client/types/vellum_document_request.py +2 -2
- vellum/client/types/vellum_error.py +3 -3
- vellum/client/types/vellum_error_request.py +3 -3
- vellum/client/types/vellum_image.py +2 -2
- vellum/client/types/vellum_image_request.py +2 -2
- vellum/client/types/vellum_node_execution_event.py +4 -3
- vellum/client/types/vellum_sdk_error.py +3 -3
- vellum/client/types/vellum_secret.py +2 -2
- vellum/client/types/vellum_span.py +2 -1
- vellum/client/types/vellum_value.py +9 -8
- vellum/client/types/vellum_value_logical_condition_group_request.py +6 -6
- vellum/client/types/vellum_value_logical_condition_request.py +13 -7
- vellum/client/types/vellum_value_logical_expression_request.py +2 -1
- vellum/client/types/vellum_value_request.py +9 -8
- vellum/client/types/vellum_variable.py +13 -7
- vellum/client/types/vellum_variable_extensions.py +2 -2
- vellum/client/types/vellum_video.py +3 -3
- vellum/client/types/vellum_video_request.py +3 -3
- vellum/client/types/vellum_workflow_execution_event.py +4 -3
- vellum/client/types/video_chat_message_content.py +3 -3
- vellum/client/types/video_chat_message_content_request.py +3 -3
- vellum/client/types/video_prompt_block.py +4 -4
- vellum/client/types/video_vellum_value.py +3 -3
- vellum/client/types/video_vellum_value_request.py +3 -3
- vellum/client/types/workflow_deployment_event_executions_response.py +18 -12
- vellum/client/types/workflow_deployment_history_item.py +10 -4
- vellum/client/types/workflow_deployment_parent_context.py +11 -11
- vellum/client/types/workflow_deployment_read.py +11 -5
- vellum/client/types/workflow_deployment_release.py +13 -7
- vellum/client/types/workflow_deployment_release_workflow_deployment.py +2 -2
- vellum/client/types/workflow_deployment_release_workflow_version.py +10 -4
- vellum/client/types/workflow_error.py +1 -0
- vellum/client/types/workflow_event_error.py +3 -3
- vellum/client/types/workflow_event_execution_read.py +22 -16
- vellum/client/types/workflow_execution_actual.py +10 -4
- vellum/client/types/workflow_execution_actual_chat_history_request.py +2 -2
- vellum/client/types/workflow_execution_actual_json_request.py +2 -2
- vellum/client/types/workflow_execution_actual_string_request.py +2 -2
- vellum/client/types/workflow_execution_detail.py +22 -16
- vellum/client/types/workflow_execution_fulfilled_body.py +3 -3
- vellum/client/types/workflow_execution_fulfilled_event.py +22 -16
- vellum/client/types/workflow_execution_initiated_body.py +3 -3
- vellum/client/types/workflow_execution_initiated_event.py +22 -16
- vellum/client/types/workflow_execution_node_result_event.py +10 -4
- vellum/client/types/workflow_execution_paused_body.py +4 -4
- vellum/client/types/workflow_execution_paused_event.py +22 -16
- vellum/client/types/workflow_execution_rejected_body.py +4 -4
- vellum/client/types/workflow_execution_rejected_event.py +22 -16
- vellum/client/types/workflow_execution_resumed_body.py +3 -3
- vellum/client/types/workflow_execution_resumed_event.py +22 -16
- vellum/client/types/workflow_execution_snapshotted_body.py +3 -3
- vellum/client/types/workflow_execution_snapshotted_event.py +22 -16
- vellum/client/types/workflow_execution_span.py +18 -12
- vellum/client/types/workflow_execution_span_attributes.py +2 -2
- vellum/client/types/workflow_execution_streaming_body.py +4 -4
- vellum/client/types/workflow_execution_streaming_event.py +22 -16
- vellum/client/types/workflow_execution_usage_calculation_error.py +3 -3
- vellum/client/types/workflow_execution_usage_calculation_fulfilled_body.py +3 -3
- vellum/client/types/workflow_execution_usage_result.py +3 -3
- vellum/client/types/workflow_execution_view_online_eval_metric_result.py +10 -4
- vellum/client/types/workflow_execution_workflow_result_event.py +10 -4
- vellum/client/types/workflow_expand_meta_request.py +2 -2
- vellum/client/types/workflow_initialization_error.py +2 -2
- vellum/client/types/workflow_node_result_data.py +8 -7
- vellum/client/types/workflow_node_result_event.py +3 -2
- vellum/client/types/workflow_output.py +6 -5
- vellum/client/types/workflow_output_array.py +12 -6
- vellum/client/types/workflow_output_chat_history.py +3 -3
- vellum/client/types/workflow_output_error.py +3 -3
- vellum/client/types/workflow_output_function_call.py +3 -3
- vellum/client/types/workflow_output_image.py +3 -3
- vellum/client/types/workflow_output_json.py +3 -3
- vellum/client/types/workflow_output_number.py +3 -3
- vellum/client/types/workflow_output_search_results.py +3 -3
- vellum/client/types/workflow_output_string.py +3 -3
- vellum/client/types/workflow_parent_context.py +12 -12
- vellum/client/types/workflow_push_deployment_config_request.py +2 -2
- vellum/client/types/workflow_push_response.py +2 -2
- vellum/client/types/workflow_release_tag_read.py +4 -4
- vellum/client/types/workflow_release_tag_workflow_deployment_history_item.py +2 -2
- vellum/client/types/workflow_request_chat_history_input_request.py +3 -3
- vellum/client/types/workflow_request_input_request.py +3 -2
- vellum/client/types/workflow_request_json_input_request.py +3 -3
- vellum/client/types/workflow_request_number_input_request.py +3 -3
- vellum/client/types/workflow_request_string_input_request.py +3 -3
- vellum/client/types/workflow_result_event.py +13 -7
- vellum/client/types/workflow_result_event_output_data.py +7 -6
- vellum/client/types/workflow_result_event_output_data_array.py +12 -6
- vellum/client/types/workflow_result_event_output_data_chat_history.py +3 -3
- vellum/client/types/workflow_result_event_output_data_error.py +3 -3
- vellum/client/types/workflow_result_event_output_data_function_call.py +3 -3
- vellum/client/types/workflow_result_event_output_data_json.py +3 -3
- vellum/client/types/workflow_result_event_output_data_number.py +3 -3
- vellum/client/types/workflow_result_event_output_data_search_results.py +3 -3
- vellum/client/types/workflow_result_event_output_data_string.py +3 -3
- vellum/client/types/workflow_sandbox_example.py +2 -2
- vellum/client/types/workflow_sandbox_parent_context.py +11 -11
- vellum/client/types/workflow_stream_event.py +2 -1
- vellum/client/types/workspace_read.py +3 -3
- vellum/client/types/workspace_secret_read.py +3 -3
- vellum/core/force_multipart.py +3 -0
- vellum/workflows/emitters/vellum_emitter.py +5 -0
- vellum/workflows/events/node.py +25 -10
- vellum/workflows/events/tests/test_event.py +19 -19
- vellum/workflows/state/context.py +8 -52
- vellum/workflows/state/encoder.py +2 -4
- vellum/workflows/utils/functions.py +1 -1
- vellum/workflows/workflows/base.py +1 -1
- {vellum_ai-1.1.3.dist-info → vellum_ai-1.1.5.dist-info}/METADATA +2 -2
- {vellum_ai-1.1.3.dist-info → vellum_ai-1.1.5.dist-info}/RECORD +671 -669
- vellum_ee/workflows/display/nodes/base_node_display.py +3 -3
- vellum_ee/workflows/display/nodes/tests/test_base_node_display.py +1 -1
- vellum_ee/workflows/display/nodes/vellum/tests/test_tool_calling_node.py +154 -0
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_attributes_serialization.py +50 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_inline_workflow_serialization.py +4 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_serialization.py +4 -1
- vellum_ee/workflows/display/types.py +13 -2
- vellum_ee/workflows/display/workflows/base_workflow_display.py +15 -0
- vellum_ee/workflows/display/workflows/tests/test_workflow_display.py +44 -2
- {vellum_ai-1.1.3.dist-info → vellum_ai-1.1.5.dist-info}/LICENSE +0 -0
- {vellum_ai-1.1.3.dist-info → vellum_ai-1.1.5.dist-info}/WHEEL +0 -0
- {vellum_ai-1.1.3.dist-info → vellum_ai-1.1.5.dist-info}/entry_points.txt +0 -0
@@ -1,19 +1,18 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
3
|
import typing
|
4
|
-
from ...core.client_wrapper import SyncClientWrapper
|
5
|
-
from ...types.test_suite_run_exec_config_request import TestSuiteRunExecConfigRequest
|
6
|
-
from ...core.request_options import RequestOptions
|
7
|
-
from ...core.http_response import HttpResponse
|
8
|
-
from ...types.test_suite_run_read import TestSuiteRunRead
|
9
|
-
from ...core.serialization import convert_and_respect_annotation_metadata
|
10
|
-
from ...core.pydantic_utilities import parse_obj_as
|
11
4
|
from json.decoder import JSONDecodeError
|
5
|
+
|
12
6
|
from ...core.api_error import ApiError
|
7
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
8
|
+
from ...core.http_response import AsyncHttpResponse, HttpResponse
|
13
9
|
from ...core.jsonable_encoder import jsonable_encoder
|
10
|
+
from ...core.pydantic_utilities import parse_obj_as
|
11
|
+
from ...core.request_options import RequestOptions
|
12
|
+
from ...core.serialization import convert_and_respect_annotation_metadata
|
14
13
|
from ...types.paginated_test_suite_run_execution_list import PaginatedTestSuiteRunExecutionList
|
15
|
-
from ...
|
16
|
-
from ...
|
14
|
+
from ...types.test_suite_run_exec_config_request import TestSuiteRunExecConfigRequest
|
15
|
+
from ...types.test_suite_run_read import TestSuiteRunRead
|
17
16
|
|
18
17
|
# this is used as the default value for optional parameters
|
19
18
|
OMIT = typing.cast(typing.Any, ...)
|
@@ -82,8 +81,8 @@ class RawTestSuiteRunsClient:
|
|
82
81
|
return HttpResponse(response=_response, data=_data)
|
83
82
|
_response_json = _response.json()
|
84
83
|
except JSONDecodeError:
|
85
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
86
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
84
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
85
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
87
86
|
|
88
87
|
def retrieve(
|
89
88
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -122,8 +121,8 @@ class RawTestSuiteRunsClient:
|
|
122
121
|
return HttpResponse(response=_response, data=_data)
|
123
122
|
_response_json = _response.json()
|
124
123
|
except JSONDecodeError:
|
125
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
126
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
124
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
125
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
127
126
|
|
128
127
|
def list_executions(
|
129
128
|
self,
|
@@ -183,8 +182,8 @@ class RawTestSuiteRunsClient:
|
|
183
182
|
return HttpResponse(response=_response, data=_data)
|
184
183
|
_response_json = _response.json()
|
185
184
|
except JSONDecodeError:
|
186
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
187
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
185
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
186
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
188
187
|
|
189
188
|
|
190
189
|
class AsyncRawTestSuiteRunsClient:
|
@@ -250,8 +249,8 @@ class AsyncRawTestSuiteRunsClient:
|
|
250
249
|
return AsyncHttpResponse(response=_response, data=_data)
|
251
250
|
_response_json = _response.json()
|
252
251
|
except JSONDecodeError:
|
253
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
254
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
252
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
253
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
255
254
|
|
256
255
|
async def retrieve(
|
257
256
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -290,8 +289,8 @@ class AsyncRawTestSuiteRunsClient:
|
|
290
289
|
return AsyncHttpResponse(response=_response, data=_data)
|
291
290
|
_response_json = _response.json()
|
292
291
|
except JSONDecodeError:
|
293
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
294
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
292
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
293
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
295
294
|
|
296
295
|
async def list_executions(
|
297
296
|
self,
|
@@ -351,5 +350,5 @@ class AsyncRawTestSuiteRunsClient:
|
|
351
350
|
return AsyncHttpResponse(response=_response, data=_data)
|
352
351
|
_response_json = _response.json()
|
353
352
|
except JSONDecodeError:
|
354
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
355
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
353
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
354
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
@@ -1,16 +1,15 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
3
|
import typing
|
4
|
-
|
5
|
-
from .
|
4
|
+
|
5
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
6
6
|
from ...core.request_options import RequestOptions
|
7
|
-
from ...types.paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
8
7
|
from ...types.named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
|
8
|
+
from ...types.paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
9
9
|
from ...types.test_suite_test_case import TestSuiteTestCase
|
10
10
|
from ...types.test_suite_test_case_bulk_operation_request import TestSuiteTestCaseBulkOperationRequest
|
11
11
|
from ...types.test_suite_test_case_bulk_result import TestSuiteTestCaseBulkResult
|
12
|
-
from
|
13
|
-
from .raw_client import AsyncRawTestSuitesClient
|
12
|
+
from .raw_client import AsyncRawTestSuitesClient, RawTestSuitesClient
|
14
13
|
|
15
14
|
# this is used as the default value for optional parameters
|
16
15
|
OMIT = typing.cast(typing.Any, ...)
|
@@ -77,10 +76,10 @@ class TestSuitesClient:
|
|
77
76
|
id="id",
|
78
77
|
)
|
79
78
|
"""
|
80
|
-
|
79
|
+
_response = self._raw_client.list_test_suite_test_cases(
|
81
80
|
id, limit=limit, offset=offset, request_options=request_options
|
82
81
|
)
|
83
|
-
return
|
82
|
+
return _response.data
|
84
83
|
|
85
84
|
def upsert_test_suite_test_case(
|
86
85
|
self,
|
@@ -158,7 +157,7 @@ class TestSuitesClient:
|
|
158
157
|
],
|
159
158
|
)
|
160
159
|
"""
|
161
|
-
|
160
|
+
_response = self._raw_client.upsert_test_suite_test_case(
|
162
161
|
id_,
|
163
162
|
input_values=input_values,
|
164
163
|
evaluation_values=evaluation_values,
|
@@ -167,7 +166,7 @@ class TestSuitesClient:
|
|
167
166
|
label=label,
|
168
167
|
request_options=request_options,
|
169
168
|
)
|
170
|
-
return
|
169
|
+
return _response.data
|
171
170
|
|
172
171
|
def test_suite_test_cases_bulk(
|
173
172
|
self,
|
@@ -294,8 +293,8 @@ class TestSuitesClient:
|
|
294
293
|
test_case_id="test_case_id",
|
295
294
|
)
|
296
295
|
"""
|
297
|
-
|
298
|
-
return
|
296
|
+
_response = self._raw_client.delete_test_suite_test_case(id, test_case_id, request_options=request_options)
|
297
|
+
return _response.data
|
299
298
|
|
300
299
|
|
301
300
|
class AsyncTestSuitesClient:
|
@@ -363,10 +362,10 @@ class AsyncTestSuitesClient:
|
|
363
362
|
|
364
363
|
asyncio.run(main())
|
365
364
|
"""
|
366
|
-
|
365
|
+
_response = await self._raw_client.list_test_suite_test_cases(
|
367
366
|
id, limit=limit, offset=offset, request_options=request_options
|
368
367
|
)
|
369
|
-
return
|
368
|
+
return _response.data
|
370
369
|
|
371
370
|
async def upsert_test_suite_test_case(
|
372
371
|
self,
|
@@ -452,7 +451,7 @@ class AsyncTestSuitesClient:
|
|
452
451
|
|
453
452
|
asyncio.run(main())
|
454
453
|
"""
|
455
|
-
|
454
|
+
_response = await self._raw_client.upsert_test_suite_test_case(
|
456
455
|
id_,
|
457
456
|
input_values=input_values,
|
458
457
|
evaluation_values=evaluation_values,
|
@@ -461,7 +460,7 @@ class AsyncTestSuitesClient:
|
|
461
460
|
label=label,
|
462
461
|
request_options=request_options,
|
463
462
|
)
|
464
|
-
return
|
463
|
+
return _response.data
|
465
464
|
|
466
465
|
async def test_suite_test_cases_bulk(
|
467
466
|
self,
|
@@ -562,8 +561,8 @@ class AsyncTestSuitesClient:
|
|
562
561
|
async with self._raw_client.test_suite_test_cases_bulk(
|
563
562
|
id, request=request, request_options=request_options
|
564
563
|
) as r:
|
565
|
-
async for
|
566
|
-
yield
|
564
|
+
async for _chunk in r.data:
|
565
|
+
yield _chunk
|
567
566
|
|
568
567
|
async def delete_test_suite_test_case(
|
569
568
|
self, id: str, test_case_id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -607,5 +606,7 @@ class AsyncTestSuitesClient:
|
|
607
606
|
|
608
607
|
asyncio.run(main())
|
609
608
|
"""
|
610
|
-
|
611
|
-
|
609
|
+
_response = await self._raw_client.delete_test_suite_test_case(
|
610
|
+
id, test_case_id, request_options=request_options
|
611
|
+
)
|
612
|
+
return _response.data
|
@@ -1,23 +1,22 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
import contextlib
|
4
|
+
import json
|
3
5
|
import typing
|
4
|
-
from ...core.client_wrapper import SyncClientWrapper
|
5
|
-
from ...core.request_options import RequestOptions
|
6
|
-
from ...core.http_response import HttpResponse
|
7
|
-
from ...types.paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
8
|
-
from ...core.jsonable_encoder import jsonable_encoder
|
9
|
-
from ...core.pydantic_utilities import parse_obj_as
|
10
6
|
from json.decoder import JSONDecodeError
|
7
|
+
|
11
8
|
from ...core.api_error import ApiError
|
9
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
10
|
+
from ...core.http_response import AsyncHttpResponse, HttpResponse
|
11
|
+
from ...core.jsonable_encoder import jsonable_encoder
|
12
|
+
from ...core.pydantic_utilities import parse_obj_as
|
13
|
+
from ...core.request_options import RequestOptions
|
14
|
+
from ...core.serialization import convert_and_respect_annotation_metadata
|
12
15
|
from ...types.named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
|
16
|
+
from ...types.paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
13
17
|
from ...types.test_suite_test_case import TestSuiteTestCase
|
14
|
-
from ...core.serialization import convert_and_respect_annotation_metadata
|
15
18
|
from ...types.test_suite_test_case_bulk_operation_request import TestSuiteTestCaseBulkOperationRequest
|
16
19
|
from ...types.test_suite_test_case_bulk_result import TestSuiteTestCaseBulkResult
|
17
|
-
import json
|
18
|
-
import contextlib
|
19
|
-
from ...core.client_wrapper import AsyncClientWrapper
|
20
|
-
from ...core.http_response import AsyncHttpResponse
|
21
20
|
|
22
21
|
# this is used as the default value for optional parameters
|
23
22
|
OMIT = typing.cast(typing.Any, ...)
|
@@ -79,8 +78,8 @@ class RawTestSuitesClient:
|
|
79
78
|
return HttpResponse(response=_response, data=_data)
|
80
79
|
_response_json = _response.json()
|
81
80
|
except JSONDecodeError:
|
82
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
83
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
81
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
82
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
84
83
|
|
85
84
|
def upsert_test_suite_test_case(
|
86
85
|
self,
|
@@ -149,6 +148,9 @@ class RawTestSuitesClient:
|
|
149
148
|
direction="write",
|
150
149
|
),
|
151
150
|
},
|
151
|
+
headers={
|
152
|
+
"content-type": "application/json",
|
153
|
+
},
|
152
154
|
request_options=request_options,
|
153
155
|
omit=OMIT,
|
154
156
|
)
|
@@ -164,8 +166,8 @@ class RawTestSuitesClient:
|
|
164
166
|
return HttpResponse(response=_response, data=_data)
|
165
167
|
_response_json = _response.json()
|
166
168
|
except JSONDecodeError:
|
167
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
168
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
169
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
170
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
169
171
|
|
170
172
|
@contextlib.contextmanager
|
171
173
|
def test_suite_test_cases_bulk(
|
@@ -200,11 +202,14 @@ class RawTestSuitesClient:
|
|
200
202
|
json=convert_and_respect_annotation_metadata(
|
201
203
|
object_=request, annotation=typing.Sequence[TestSuiteTestCaseBulkOperationRequest], direction="write"
|
202
204
|
),
|
205
|
+
headers={
|
206
|
+
"content-type": "application/x-ndjson",
|
207
|
+
},
|
203
208
|
request_options=request_options,
|
204
209
|
omit=OMIT,
|
205
210
|
) as _response:
|
206
211
|
|
207
|
-
def
|
212
|
+
def _stream() -> HttpResponse[typing.Iterator[typing.List[TestSuiteTestCaseBulkResult]]]:
|
208
213
|
try:
|
209
214
|
if 200 <= _response.status_code < 300:
|
210
215
|
|
@@ -228,10 +233,12 @@ class RawTestSuitesClient:
|
|
228
233
|
_response.read()
|
229
234
|
_response_json = _response.json()
|
230
235
|
except JSONDecodeError:
|
231
|
-
raise ApiError(
|
232
|
-
|
236
|
+
raise ApiError(
|
237
|
+
status_code=_response.status_code, headers=dict(_response.headers), body=_response.text
|
238
|
+
)
|
239
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
233
240
|
|
234
|
-
yield
|
241
|
+
yield _stream()
|
235
242
|
|
236
243
|
def delete_test_suite_test_case(
|
237
244
|
self, id: str, test_case_id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -265,8 +272,8 @@ class RawTestSuitesClient:
|
|
265
272
|
return HttpResponse(response=_response, data=None)
|
266
273
|
_response_json = _response.json()
|
267
274
|
except JSONDecodeError:
|
268
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
269
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
275
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
276
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
270
277
|
|
271
278
|
|
272
279
|
class AsyncRawTestSuitesClient:
|
@@ -325,8 +332,8 @@ class AsyncRawTestSuitesClient:
|
|
325
332
|
return AsyncHttpResponse(response=_response, data=_data)
|
326
333
|
_response_json = _response.json()
|
327
334
|
except JSONDecodeError:
|
328
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
329
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
335
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
336
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
330
337
|
|
331
338
|
async def upsert_test_suite_test_case(
|
332
339
|
self,
|
@@ -395,6 +402,9 @@ class AsyncRawTestSuitesClient:
|
|
395
402
|
direction="write",
|
396
403
|
),
|
397
404
|
},
|
405
|
+
headers={
|
406
|
+
"content-type": "application/json",
|
407
|
+
},
|
398
408
|
request_options=request_options,
|
399
409
|
omit=OMIT,
|
400
410
|
)
|
@@ -410,8 +420,8 @@ class AsyncRawTestSuitesClient:
|
|
410
420
|
return AsyncHttpResponse(response=_response, data=_data)
|
411
421
|
_response_json = _response.json()
|
412
422
|
except JSONDecodeError:
|
413
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
414
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
423
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
424
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
415
425
|
|
416
426
|
@contextlib.asynccontextmanager
|
417
427
|
async def test_suite_test_cases_bulk(
|
@@ -446,11 +456,14 @@ class AsyncRawTestSuitesClient:
|
|
446
456
|
json=convert_and_respect_annotation_metadata(
|
447
457
|
object_=request, annotation=typing.Sequence[TestSuiteTestCaseBulkOperationRequest], direction="write"
|
448
458
|
),
|
459
|
+
headers={
|
460
|
+
"content-type": "application/x-ndjson",
|
461
|
+
},
|
449
462
|
request_options=request_options,
|
450
463
|
omit=OMIT,
|
451
464
|
) as _response:
|
452
465
|
|
453
|
-
async def
|
466
|
+
async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[typing.List[TestSuiteTestCaseBulkResult]]]:
|
454
467
|
try:
|
455
468
|
if 200 <= _response.status_code < 300:
|
456
469
|
|
@@ -474,10 +487,12 @@ class AsyncRawTestSuitesClient:
|
|
474
487
|
await _response.aread()
|
475
488
|
_response_json = _response.json()
|
476
489
|
except JSONDecodeError:
|
477
|
-
raise ApiError(
|
478
|
-
|
490
|
+
raise ApiError(
|
491
|
+
status_code=_response.status_code, headers=dict(_response.headers), body=_response.text
|
492
|
+
)
|
493
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
479
494
|
|
480
|
-
yield await
|
495
|
+
yield await _stream()
|
481
496
|
|
482
497
|
async def delete_test_suite_test_case(
|
483
498
|
self, id: str, test_case_id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -511,5 +526,5 @@ class AsyncRawTestSuitesClient:
|
|
511
526
|
return AsyncHttpResponse(response=_response, data=None)
|
512
527
|
_response_json = _response.json()
|
513
528
|
except JSONDecodeError:
|
514
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
515
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
529
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
530
|
+
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
# isort: skip_file
|
4
|
+
|
3
5
|
from .types import ListWorkflowReleaseTagsRequestSource, WorkflowDeploymentsListRequestStatus
|
4
6
|
|
5
7
|
__all__ = ["ListWorkflowReleaseTagsRequestSource", "WorkflowDeploymentsListRequestStatus"]
|
@@ -1,21 +1,20 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
3
|
import typing
|
4
|
-
|
5
|
-
from .
|
6
|
-
from .types.workflow_deployments_list_request_status import WorkflowDeploymentsListRequestStatus
|
4
|
+
|
5
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
7
6
|
from ...core.request_options import RequestOptions
|
8
7
|
from ...types.paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
|
9
|
-
from ...types.
|
8
|
+
from ...types.paginated_workflow_release_tag_read_list import PaginatedWorkflowReleaseTagReadList
|
10
9
|
from ...types.workflow_deployment_event_executions_response import WorkflowDeploymentEventExecutionsResponse
|
11
|
-
from ...types.workflow_event_execution_read import WorkflowEventExecutionRead
|
12
10
|
from ...types.workflow_deployment_history_item import WorkflowDeploymentHistoryItem
|
13
|
-
from
|
14
|
-
from ...types.paginated_workflow_release_tag_read_list import PaginatedWorkflowReleaseTagReadList
|
15
|
-
from ...types.workflow_release_tag_read import WorkflowReleaseTagRead
|
11
|
+
from ...types.workflow_deployment_read import WorkflowDeploymentRead
|
16
12
|
from ...types.workflow_deployment_release import WorkflowDeploymentRelease
|
17
|
-
from ...
|
18
|
-
from .
|
13
|
+
from ...types.workflow_event_execution_read import WorkflowEventExecutionRead
|
14
|
+
from ...types.workflow_release_tag_read import WorkflowReleaseTagRead
|
15
|
+
from .raw_client import AsyncRawWorkflowDeploymentsClient, RawWorkflowDeploymentsClient
|
16
|
+
from .types.list_workflow_release_tags_request_source import ListWorkflowReleaseTagsRequestSource
|
17
|
+
from .types.workflow_deployments_list_request_status import WorkflowDeploymentsListRequestStatus
|
19
18
|
|
20
19
|
# this is used as the default value for optional parameters
|
21
20
|
OMIT = typing.cast(typing.Any, ...)
|
@@ -84,10 +83,10 @@ class WorkflowDeploymentsClient:
|
|
84
83
|
)
|
85
84
|
client.workflow_deployments.list()
|
86
85
|
"""
|
87
|
-
|
86
|
+
_response = self._raw_client.list(
|
88
87
|
limit=limit, offset=offset, ordering=ordering, status=status, request_options=request_options
|
89
88
|
)
|
90
|
-
return
|
89
|
+
return _response.data
|
91
90
|
|
92
91
|
def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowDeploymentRead:
|
93
92
|
"""
|
@@ -118,8 +117,8 @@ class WorkflowDeploymentsClient:
|
|
118
117
|
id="id",
|
119
118
|
)
|
120
119
|
"""
|
121
|
-
|
122
|
-
return
|
120
|
+
_response = self._raw_client.retrieve(id, request_options=request_options)
|
121
|
+
return _response.data
|
123
122
|
|
124
123
|
def list_workflow_deployment_event_executions(
|
125
124
|
self,
|
@@ -163,10 +162,10 @@ class WorkflowDeploymentsClient:
|
|
163
162
|
id="id",
|
164
163
|
)
|
165
164
|
"""
|
166
|
-
|
165
|
+
_response = self._raw_client.list_workflow_deployment_event_executions(
|
167
166
|
id, filters=filters, limit=limit, offset=offset, request_options=request_options
|
168
167
|
)
|
169
|
-
return
|
168
|
+
return _response.data
|
170
169
|
|
171
170
|
def workflow_deployment_event_execution(
|
172
171
|
self, execution_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -199,10 +198,10 @@ class WorkflowDeploymentsClient:
|
|
199
198
|
id="id",
|
200
199
|
)
|
201
200
|
"""
|
202
|
-
|
201
|
+
_response = self._raw_client.workflow_deployment_event_execution(
|
203
202
|
execution_id, id, request_options=request_options
|
204
203
|
)
|
205
|
-
return
|
204
|
+
return _response.data
|
206
205
|
|
207
206
|
def workflow_deployment_history_item_retrieve(
|
208
207
|
self, history_id_or_release_tag: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -240,10 +239,10 @@ class WorkflowDeploymentsClient:
|
|
240
239
|
id="id",
|
241
240
|
)
|
242
241
|
"""
|
243
|
-
|
242
|
+
_response = self._raw_client.workflow_deployment_history_item_retrieve(
|
244
243
|
history_id_or_release_tag, id, request_options=request_options
|
245
244
|
)
|
246
|
-
return
|
245
|
+
return _response.data
|
247
246
|
|
248
247
|
def list_workflow_release_tags(
|
249
248
|
self,
|
@@ -294,10 +293,10 @@ class WorkflowDeploymentsClient:
|
|
294
293
|
id="id",
|
295
294
|
)
|
296
295
|
"""
|
297
|
-
|
296
|
+
_response = self._raw_client.list_workflow_release_tags(
|
298
297
|
id, limit=limit, offset=offset, ordering=ordering, source=source, request_options=request_options
|
299
298
|
)
|
300
|
-
return
|
299
|
+
return _response.data
|
301
300
|
|
302
301
|
def retrieve_workflow_release_tag(
|
303
302
|
self, id: str, name: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -334,8 +333,8 @@ class WorkflowDeploymentsClient:
|
|
334
333
|
name="name",
|
335
334
|
)
|
336
335
|
"""
|
337
|
-
|
338
|
-
return
|
336
|
+
_response = self._raw_client.retrieve_workflow_release_tag(id, name, request_options=request_options)
|
337
|
+
return _response.data
|
339
338
|
|
340
339
|
def update_workflow_release_tag(
|
341
340
|
self,
|
@@ -380,10 +379,10 @@ class WorkflowDeploymentsClient:
|
|
380
379
|
name="name",
|
381
380
|
)
|
382
381
|
"""
|
383
|
-
|
382
|
+
_response = self._raw_client.update_workflow_release_tag(
|
384
383
|
id, name, history_item_id=history_item_id, request_options=request_options
|
385
384
|
)
|
386
|
-
return
|
385
|
+
return _response.data
|
387
386
|
|
388
387
|
def retrieve_workflow_deployment_release(
|
389
388
|
self, id: str, release_id_or_release_tag: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -420,10 +419,10 @@ class WorkflowDeploymentsClient:
|
|
420
419
|
release_id_or_release_tag="release_id_or_release_tag",
|
421
420
|
)
|
422
421
|
"""
|
423
|
-
|
422
|
+
_response = self._raw_client.retrieve_workflow_deployment_release(
|
424
423
|
id, release_id_or_release_tag, request_options=request_options
|
425
424
|
)
|
426
|
-
return
|
425
|
+
return _response.data
|
427
426
|
|
428
427
|
|
429
428
|
class AsyncWorkflowDeploymentsClient:
|
@@ -493,10 +492,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
493
492
|
|
494
493
|
asyncio.run(main())
|
495
494
|
"""
|
496
|
-
|
495
|
+
_response = await self._raw_client.list(
|
497
496
|
limit=limit, offset=offset, ordering=ordering, status=status, request_options=request_options
|
498
497
|
)
|
499
|
-
return
|
498
|
+
return _response.data
|
500
499
|
|
501
500
|
async def retrieve(
|
502
501
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -537,8 +536,8 @@ class AsyncWorkflowDeploymentsClient:
|
|
537
536
|
|
538
537
|
asyncio.run(main())
|
539
538
|
"""
|
540
|
-
|
541
|
-
return
|
539
|
+
_response = await self._raw_client.retrieve(id, request_options=request_options)
|
540
|
+
return _response.data
|
542
541
|
|
543
542
|
async def list_workflow_deployment_event_executions(
|
544
543
|
self,
|
@@ -590,10 +589,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
590
589
|
|
591
590
|
asyncio.run(main())
|
592
591
|
"""
|
593
|
-
|
592
|
+
_response = await self._raw_client.list_workflow_deployment_event_executions(
|
594
593
|
id, filters=filters, limit=limit, offset=offset, request_options=request_options
|
595
594
|
)
|
596
|
-
return
|
595
|
+
return _response.data
|
597
596
|
|
598
597
|
async def workflow_deployment_event_execution(
|
599
598
|
self, execution_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -634,10 +633,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
634
633
|
|
635
634
|
asyncio.run(main())
|
636
635
|
"""
|
637
|
-
|
636
|
+
_response = await self._raw_client.workflow_deployment_event_execution(
|
638
637
|
execution_id, id, request_options=request_options
|
639
638
|
)
|
640
|
-
return
|
639
|
+
return _response.data
|
641
640
|
|
642
641
|
async def workflow_deployment_history_item_retrieve(
|
643
642
|
self, history_id_or_release_tag: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -683,10 +682,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
683
682
|
|
684
683
|
asyncio.run(main())
|
685
684
|
"""
|
686
|
-
|
685
|
+
_response = await self._raw_client.workflow_deployment_history_item_retrieve(
|
687
686
|
history_id_or_release_tag, id, request_options=request_options
|
688
687
|
)
|
689
|
-
return
|
688
|
+
return _response.data
|
690
689
|
|
691
690
|
async def list_workflow_release_tags(
|
692
691
|
self,
|
@@ -745,10 +744,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
745
744
|
|
746
745
|
asyncio.run(main())
|
747
746
|
"""
|
748
|
-
|
747
|
+
_response = await self._raw_client.list_workflow_release_tags(
|
749
748
|
id, limit=limit, offset=offset, ordering=ordering, source=source, request_options=request_options
|
750
749
|
)
|
751
|
-
return
|
750
|
+
return _response.data
|
752
751
|
|
753
752
|
async def retrieve_workflow_release_tag(
|
754
753
|
self, id: str, name: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -793,8 +792,8 @@ class AsyncWorkflowDeploymentsClient:
|
|
793
792
|
|
794
793
|
asyncio.run(main())
|
795
794
|
"""
|
796
|
-
|
797
|
-
return
|
795
|
+
_response = await self._raw_client.retrieve_workflow_release_tag(id, name, request_options=request_options)
|
796
|
+
return _response.data
|
798
797
|
|
799
798
|
async def update_workflow_release_tag(
|
800
799
|
self,
|
@@ -847,10 +846,10 @@ class AsyncWorkflowDeploymentsClient:
|
|
847
846
|
|
848
847
|
asyncio.run(main())
|
849
848
|
"""
|
850
|
-
|
849
|
+
_response = await self._raw_client.update_workflow_release_tag(
|
851
850
|
id, name, history_item_id=history_item_id, request_options=request_options
|
852
851
|
)
|
853
|
-
return
|
852
|
+
return _response.data
|
854
853
|
|
855
854
|
async def retrieve_workflow_deployment_release(
|
856
855
|
self, id: str, release_id_or_release_tag: str, *, request_options: typing.Optional[RequestOptions] = None
|
@@ -895,7 +894,7 @@ class AsyncWorkflowDeploymentsClient:
|
|
895
894
|
|
896
895
|
asyncio.run(main())
|
897
896
|
"""
|
898
|
-
|
897
|
+
_response = await self._raw_client.retrieve_workflow_deployment_release(
|
899
898
|
id, release_id_or_release_tag, request_options=request_options
|
900
899
|
)
|
901
|
-
return
|
900
|
+
return _response.data
|