agenta 0.59.0__tar.gz → 0.59.1__tar.gz
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 agenta might be problematic. Click here for more details.
- {agenta-0.59.0 → agenta-0.59.1}/PKG-INFO +1 -1
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/client.py +58 -54
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/organization/client.py +46 -34
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/organization/raw_client.py +32 -26
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/raw_client.py +26 -26
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/client.py +102 -88
- {agenta-0.59.0 → agenta-0.59.1}/pyproject.toml +1 -1
- {agenta-0.59.0 → agenta-0.59.1}/README.md +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/Readme.md +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/access_control/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/access_control/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/access_control/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/admin/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/admin/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/admin/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/api_keys/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/api_keys/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/api_keys/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/apps/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/apps/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/apps/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/bases/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/bases/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/bases/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/billing/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/billing/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/billing/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/configs/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/configs/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/configs/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/containers/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/containers/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/containers/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/api_error.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/client_wrapper.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/datetime_utils.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/file.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/force_multipart.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/http_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/http_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/jsonable_encoder.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/pydantic_utilities.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/query_encoder.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/remove_none_from_dict.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/request_options.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/core/serialization.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/environment.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/environments/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/environments/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/environments/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/errors/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/errors/unprocessable_entity_error.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evals/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evals/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evals/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluations/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluations/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluations/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluators/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluators/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/evaluators/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/human_evaluations/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/human_evaluations/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/human_evaluations/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/types/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/types/fetch_trace_by_id_request_trace_id.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/types/fetch_trace_by_id_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/types/query_analytics_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/observability/types/query_traces_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/organization/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/scopes/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/scopes/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/scopes/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/types/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/types/create_testset_from_file_request_file_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/types/fetch_testset_to_file_request_file_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/testsets/types/update_testset_from_file_request_file_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/types/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/types/fetch_trace_request_trace_id.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/tracing/types/remove_trace_request_trace_id.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/account_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/account_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_node_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_node_dto_nodes_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_nodes_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_root_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_roots_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_tree_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/agenta_trees_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/aggregated_result.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/aggregated_result_evaluator_config.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/analytics_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_create.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_edit.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_kind.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_link.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_link_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_query.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_query_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_reference.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_references.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotation_source.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/annotations_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/app.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/app_variant_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/app_variant_revision.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/artifact.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/base_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/body_fetch_workflow_revision.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/body_import_testset.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/bucket_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/collect_status_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/config_db.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/config_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/config_response_model.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/correct_answer.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/create_app_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/custom_model_settings_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/custom_provider_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/custom_provider_kind.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/custom_provider_settings_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/data.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/delete_evaluation.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/environment_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/environment_output_extended.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/environment_revision.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/error.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_scenario.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_scenario_input.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_scenario_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_scenario_result.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_status_enum.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluation_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_config.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_flags.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_mapping_output_interface.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_output_interface.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_query.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_query_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluator_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/evaluators_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/exception_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/extended_o_tel_tracing_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/focus.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/format.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/full_json_input.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/full_json_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/get_config_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/header.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/http_validation_error.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/human_evaluation.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/human_evaluation_scenario.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/human_evaluation_scenario_input.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/human_evaluation_scenario_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/invite_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_analytics_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_data_point.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_evaluator.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_scope_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_scopes_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_subscription_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_user_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/legacy_user_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/lifecycle_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/link_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/list_api_keys_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/llm_run_rate_limit.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/meta_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/metrics_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/new_testset.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/node_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/node_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_context_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_event.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_event_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_extra_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_flat_span.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_flat_span_input_end_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_flat_span_input_start_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_flat_span_output_end_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_flat_span_output_start_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_link.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_link_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_links_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_input_end_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_input_spans_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_input_start_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_kind.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_output_end_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_output_spans_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_span_output_start_time.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_spans_tree.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_spans_tree_input_spans_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_spans_tree_output_spans_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_status_code.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_tracing_data_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_tracing_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/o_tel_tracing_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/organization.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/organization_details.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/organization_membership_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/organization_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/organization_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/parent_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/permission.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/plan.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/project_membership_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/project_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/project_scope.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/projects_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/recursive_types.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/reference.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/reference_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/reference_request_model.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/result.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/role.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/root_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/scopes_response_model.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/score.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/secret_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/secret_kind.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/secret_response_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/simple_evaluation_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/span_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/span_dto_nodes_value.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/standard_provider_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/standard_provider_kind.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/standard_provider_settings_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/status_code.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/status_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/tags_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/test_set_output_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/test_set_simple_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/testcase_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/testset.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/testset_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/testset_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/testsets_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/time_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/timestamp.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/tree_dto.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/tree_type.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/update_app_output.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/user_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/validation_error.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/validation_error_loc_item.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_artifact.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_data.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_flags.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_revision.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_revision_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_revision_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_revisions_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_variant.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_variant_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_variant_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflow_variants_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workflows_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_member_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_membership_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_permission.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_request.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_role.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/types/workspace_role_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/variants/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/variants/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/variants/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/variants/types/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/variants/types/add_variant_from_base_and_config_response.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/vault/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/vault/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/vault/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workflows/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workflows/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workflows/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workspace/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workspace/client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/backend/workspace/raw_client.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/types/provider_key_dto.py~HEAD +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/types/provider_key_dto.py~feat_model-registry +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/types/provider_kind.py~HEAD +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/types/provider_kind.py~feat_model-registry +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/client/types.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/config.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/config.toml +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/agenta_init.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/assets.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/context/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/context/running.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/context/serving.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/context/tracing.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/decorators/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/decorators/running.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/decorators/serving.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/decorators/tracing.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/litellm/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/litellm/litellm.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/litellm/mockllm.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/litellm/mocks/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/apps.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/config.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/deployment.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/secrets.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/shared.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/variant.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/managers/vault.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/adapt.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/auth.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/base.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/config.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/cors.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/flags.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/inline.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/mock.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/otel.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/middleware/vault.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/router.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/attributes.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/conventions.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/exporters.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/inline.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/processors.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/propagation.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/spans.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/tracing/tracing.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/types.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/cache.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/constants.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/costs.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/exceptions.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/globals.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/helpers.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/logging.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/otel.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/preinit.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/singleton.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/utils/timing.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/workflows/__init__.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/workflows/registry.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/workflows/types.py +0 -0
- {agenta-0.59.0 → agenta-0.59.1}/agenta/sdk/workflows/utils.py +0 -0
|
@@ -91,20 +91,22 @@ class AgentaApi:
|
|
|
91
91
|
_defaulted_timeout = (
|
|
92
92
|
timeout
|
|
93
93
|
if timeout is not None
|
|
94
|
-
else 60
|
|
95
|
-
if httpx_client is None
|
|
96
|
-
else httpx_client.timeout.read
|
|
94
|
+
else 60 if httpx_client is None else httpx_client.timeout.read
|
|
97
95
|
)
|
|
98
96
|
self._client_wrapper = SyncClientWrapper(
|
|
99
97
|
base_url=_get_base_url(base_url=base_url, environment=environment),
|
|
100
98
|
api_key=api_key,
|
|
101
|
-
httpx_client=
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
99
|
+
httpx_client=(
|
|
100
|
+
httpx_client
|
|
101
|
+
if httpx_client is not None
|
|
102
|
+
else (
|
|
103
|
+
httpx.Client(
|
|
104
|
+
timeout=_defaulted_timeout, follow_redirects=follow_redirects
|
|
105
|
+
)
|
|
106
|
+
if follow_redirects is not None
|
|
107
|
+
else httpx.Client(timeout=_defaulted_timeout)
|
|
108
|
+
)
|
|
109
|
+
),
|
|
108
110
|
timeout=_defaulted_timeout,
|
|
109
111
|
)
|
|
110
112
|
self._raw_client = RawAgentaApi(client_wrapper=self._client_wrapper)
|
|
@@ -172,7 +174,7 @@ class AgentaApi:
|
|
|
172
174
|
|
|
173
175
|
def update_organization(
|
|
174
176
|
self,
|
|
175
|
-
|
|
177
|
+
organization_id: str,
|
|
176
178
|
*,
|
|
177
179
|
name: typing.Optional[str] = OMIT,
|
|
178
180
|
description: typing.Optional[str] = OMIT,
|
|
@@ -182,7 +184,7 @@ class AgentaApi:
|
|
|
182
184
|
"""
|
|
183
185
|
Parameters
|
|
184
186
|
----------
|
|
185
|
-
|
|
187
|
+
organization_id : str
|
|
186
188
|
|
|
187
189
|
name : typing.Optional[str]
|
|
188
190
|
|
|
@@ -206,11 +208,11 @@ class AgentaApi:
|
|
|
206
208
|
api_key="YOUR_API_KEY",
|
|
207
209
|
)
|
|
208
210
|
client.update_organization(
|
|
209
|
-
|
|
211
|
+
organization_id="organization_id",
|
|
210
212
|
)
|
|
211
213
|
"""
|
|
212
214
|
_response = self._raw_client.update_organization(
|
|
213
|
-
|
|
215
|
+
organization_id,
|
|
214
216
|
name=name,
|
|
215
217
|
description=description,
|
|
216
218
|
updated_at=updated_at,
|
|
@@ -220,7 +222,7 @@ class AgentaApi:
|
|
|
220
222
|
|
|
221
223
|
def create_workspace(
|
|
222
224
|
self,
|
|
223
|
-
|
|
225
|
+
organization_id: str,
|
|
224
226
|
*,
|
|
225
227
|
name: str,
|
|
226
228
|
description: typing.Optional[str] = OMIT,
|
|
@@ -230,7 +232,7 @@ class AgentaApi:
|
|
|
230
232
|
"""
|
|
231
233
|
Parameters
|
|
232
234
|
----------
|
|
233
|
-
|
|
235
|
+
organization_id : str
|
|
234
236
|
|
|
235
237
|
name : str
|
|
236
238
|
|
|
@@ -254,12 +256,12 @@ class AgentaApi:
|
|
|
254
256
|
api_key="YOUR_API_KEY",
|
|
255
257
|
)
|
|
256
258
|
client.create_workspace(
|
|
257
|
-
|
|
259
|
+
organization_id="organization_id",
|
|
258
260
|
name="name",
|
|
259
261
|
)
|
|
260
262
|
"""
|
|
261
263
|
_response = self._raw_client.create_workspace(
|
|
262
|
-
|
|
264
|
+
organization_id,
|
|
263
265
|
name=name,
|
|
264
266
|
description=description,
|
|
265
267
|
type=type,
|
|
@@ -269,7 +271,7 @@ class AgentaApi:
|
|
|
269
271
|
|
|
270
272
|
def update_workspace(
|
|
271
273
|
self,
|
|
272
|
-
|
|
274
|
+
organization_id: str,
|
|
273
275
|
workspace_id: str,
|
|
274
276
|
*,
|
|
275
277
|
name: typing.Optional[str] = OMIT,
|
|
@@ -280,7 +282,7 @@ class AgentaApi:
|
|
|
280
282
|
"""
|
|
281
283
|
Parameters
|
|
282
284
|
----------
|
|
283
|
-
|
|
285
|
+
organization_id : str
|
|
284
286
|
|
|
285
287
|
workspace_id : str
|
|
286
288
|
|
|
@@ -306,12 +308,12 @@ class AgentaApi:
|
|
|
306
308
|
api_key="YOUR_API_KEY",
|
|
307
309
|
)
|
|
308
310
|
client.update_workspace(
|
|
309
|
-
|
|
311
|
+
organization_id="organization_id",
|
|
310
312
|
workspace_id="workspace_id",
|
|
311
313
|
)
|
|
312
314
|
"""
|
|
313
315
|
_response = self._raw_client.update_workspace(
|
|
314
|
-
|
|
316
|
+
organization_id,
|
|
315
317
|
workspace_id,
|
|
316
318
|
name=name,
|
|
317
319
|
description=description,
|
|
@@ -427,7 +429,7 @@ class AgentaApi:
|
|
|
427
429
|
workspace_id: str,
|
|
428
430
|
*,
|
|
429
431
|
email: str,
|
|
430
|
-
|
|
432
|
+
organization_id: str,
|
|
431
433
|
role: str,
|
|
432
434
|
request_options: typing.Optional[RequestOptions] = None,
|
|
433
435
|
) -> typing.Optional[typing.Any]:
|
|
@@ -437,7 +439,7 @@ class AgentaApi:
|
|
|
437
439
|
Args:
|
|
438
440
|
workspace_id (str): The ID of the workspace.
|
|
439
441
|
email (str): The email of the user to remove the role from.
|
|
440
|
-
|
|
442
|
+
organization_id (str): The ID of the organization.
|
|
441
443
|
role (str): The role to remove from the user.
|
|
442
444
|
request (Request): The FastAPI request object.
|
|
443
445
|
|
|
@@ -454,7 +456,7 @@ class AgentaApi:
|
|
|
454
456
|
|
|
455
457
|
email : str
|
|
456
458
|
|
|
457
|
-
|
|
459
|
+
organization_id : str
|
|
458
460
|
|
|
459
461
|
role : str
|
|
460
462
|
|
|
@@ -476,14 +478,14 @@ class AgentaApi:
|
|
|
476
478
|
client.unassign_role_from_user(
|
|
477
479
|
workspace_id="workspace_id",
|
|
478
480
|
email="email",
|
|
479
|
-
|
|
481
|
+
organization_id="organization_id",
|
|
480
482
|
role="role",
|
|
481
483
|
)
|
|
482
484
|
"""
|
|
483
485
|
_response = self._raw_client.unassign_role_from_user(
|
|
484
486
|
workspace_id,
|
|
485
487
|
email=email,
|
|
486
|
-
|
|
488
|
+
organization_id=organization_id,
|
|
487
489
|
role=role,
|
|
488
490
|
request_options=request_options,
|
|
489
491
|
)
|
|
@@ -650,20 +652,22 @@ class AsyncAgentaApi:
|
|
|
650
652
|
_defaulted_timeout = (
|
|
651
653
|
timeout
|
|
652
654
|
if timeout is not None
|
|
653
|
-
else 60
|
|
654
|
-
if httpx_client is None
|
|
655
|
-
else httpx_client.timeout.read
|
|
655
|
+
else 60 if httpx_client is None else httpx_client.timeout.read
|
|
656
656
|
)
|
|
657
657
|
self._client_wrapper = AsyncClientWrapper(
|
|
658
658
|
base_url=_get_base_url(base_url=base_url, environment=environment),
|
|
659
659
|
api_key=api_key,
|
|
660
|
-
httpx_client=
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
660
|
+
httpx_client=(
|
|
661
|
+
httpx_client
|
|
662
|
+
if httpx_client is not None
|
|
663
|
+
else (
|
|
664
|
+
httpx.AsyncClient(
|
|
665
|
+
timeout=_defaulted_timeout, follow_redirects=follow_redirects
|
|
666
|
+
)
|
|
667
|
+
if follow_redirects is not None
|
|
668
|
+
else httpx.AsyncClient(timeout=_defaulted_timeout)
|
|
669
|
+
)
|
|
670
|
+
),
|
|
667
671
|
timeout=_defaulted_timeout,
|
|
668
672
|
)
|
|
669
673
|
self._raw_client = AsyncRawAgentaApi(client_wrapper=self._client_wrapper)
|
|
@@ -743,7 +747,7 @@ class AsyncAgentaApi:
|
|
|
743
747
|
|
|
744
748
|
async def update_organization(
|
|
745
749
|
self,
|
|
746
|
-
|
|
750
|
+
organization_id: str,
|
|
747
751
|
*,
|
|
748
752
|
name: typing.Optional[str] = OMIT,
|
|
749
753
|
description: typing.Optional[str] = OMIT,
|
|
@@ -753,7 +757,7 @@ class AsyncAgentaApi:
|
|
|
753
757
|
"""
|
|
754
758
|
Parameters
|
|
755
759
|
----------
|
|
756
|
-
|
|
760
|
+
organization_id : str
|
|
757
761
|
|
|
758
762
|
name : typing.Optional[str]
|
|
759
763
|
|
|
@@ -782,14 +786,14 @@ class AsyncAgentaApi:
|
|
|
782
786
|
|
|
783
787
|
async def main() -> None:
|
|
784
788
|
await client.update_organization(
|
|
785
|
-
|
|
789
|
+
organization_id="organization_id",
|
|
786
790
|
)
|
|
787
791
|
|
|
788
792
|
|
|
789
793
|
asyncio.run(main())
|
|
790
794
|
"""
|
|
791
795
|
_response = await self._raw_client.update_organization(
|
|
792
|
-
|
|
796
|
+
organization_id,
|
|
793
797
|
name=name,
|
|
794
798
|
description=description,
|
|
795
799
|
updated_at=updated_at,
|
|
@@ -799,7 +803,7 @@ class AsyncAgentaApi:
|
|
|
799
803
|
|
|
800
804
|
async def create_workspace(
|
|
801
805
|
self,
|
|
802
|
-
|
|
806
|
+
organization_id: str,
|
|
803
807
|
*,
|
|
804
808
|
name: str,
|
|
805
809
|
description: typing.Optional[str] = OMIT,
|
|
@@ -809,7 +813,7 @@ class AsyncAgentaApi:
|
|
|
809
813
|
"""
|
|
810
814
|
Parameters
|
|
811
815
|
----------
|
|
812
|
-
|
|
816
|
+
organization_id : str
|
|
813
817
|
|
|
814
818
|
name : str
|
|
815
819
|
|
|
@@ -838,7 +842,7 @@ class AsyncAgentaApi:
|
|
|
838
842
|
|
|
839
843
|
async def main() -> None:
|
|
840
844
|
await client.create_workspace(
|
|
841
|
-
|
|
845
|
+
organization_id="organization_id",
|
|
842
846
|
name="name",
|
|
843
847
|
)
|
|
844
848
|
|
|
@@ -846,7 +850,7 @@ class AsyncAgentaApi:
|
|
|
846
850
|
asyncio.run(main())
|
|
847
851
|
"""
|
|
848
852
|
_response = await self._raw_client.create_workspace(
|
|
849
|
-
|
|
853
|
+
organization_id,
|
|
850
854
|
name=name,
|
|
851
855
|
description=description,
|
|
852
856
|
type=type,
|
|
@@ -856,7 +860,7 @@ class AsyncAgentaApi:
|
|
|
856
860
|
|
|
857
861
|
async def update_workspace(
|
|
858
862
|
self,
|
|
859
|
-
|
|
863
|
+
organization_id: str,
|
|
860
864
|
workspace_id: str,
|
|
861
865
|
*,
|
|
862
866
|
name: typing.Optional[str] = OMIT,
|
|
@@ -867,7 +871,7 @@ class AsyncAgentaApi:
|
|
|
867
871
|
"""
|
|
868
872
|
Parameters
|
|
869
873
|
----------
|
|
870
|
-
|
|
874
|
+
organization_id : str
|
|
871
875
|
|
|
872
876
|
workspace_id : str
|
|
873
877
|
|
|
@@ -898,7 +902,7 @@ class AsyncAgentaApi:
|
|
|
898
902
|
|
|
899
903
|
async def main() -> None:
|
|
900
904
|
await client.update_workspace(
|
|
901
|
-
|
|
905
|
+
organization_id="organization_id",
|
|
902
906
|
workspace_id="workspace_id",
|
|
903
907
|
)
|
|
904
908
|
|
|
@@ -906,7 +910,7 @@ class AsyncAgentaApi:
|
|
|
906
910
|
asyncio.run(main())
|
|
907
911
|
"""
|
|
908
912
|
_response = await self._raw_client.update_workspace(
|
|
909
|
-
|
|
913
|
+
organization_id,
|
|
910
914
|
workspace_id,
|
|
911
915
|
name=name,
|
|
912
916
|
description=description,
|
|
@@ -1038,7 +1042,7 @@ class AsyncAgentaApi:
|
|
|
1038
1042
|
workspace_id: str,
|
|
1039
1043
|
*,
|
|
1040
1044
|
email: str,
|
|
1041
|
-
|
|
1045
|
+
organization_id: str,
|
|
1042
1046
|
role: str,
|
|
1043
1047
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1044
1048
|
) -> typing.Optional[typing.Any]:
|
|
@@ -1048,7 +1052,7 @@ class AsyncAgentaApi:
|
|
|
1048
1052
|
Args:
|
|
1049
1053
|
workspace_id (str): The ID of the workspace.
|
|
1050
1054
|
email (str): The email of the user to remove the role from.
|
|
1051
|
-
|
|
1055
|
+
organization_id (str): The ID of the organization.
|
|
1052
1056
|
role (str): The role to remove from the user.
|
|
1053
1057
|
request (Request): The FastAPI request object.
|
|
1054
1058
|
|
|
@@ -1065,7 +1069,7 @@ class AsyncAgentaApi:
|
|
|
1065
1069
|
|
|
1066
1070
|
email : str
|
|
1067
1071
|
|
|
1068
|
-
|
|
1072
|
+
organization_id : str
|
|
1069
1073
|
|
|
1070
1074
|
role : str
|
|
1071
1075
|
|
|
@@ -1092,7 +1096,7 @@ class AsyncAgentaApi:
|
|
|
1092
1096
|
await client.unassign_role_from_user(
|
|
1093
1097
|
workspace_id="workspace_id",
|
|
1094
1098
|
email="email",
|
|
1095
|
-
|
|
1099
|
+
organization_id="organization_id",
|
|
1096
1100
|
role="role",
|
|
1097
1101
|
)
|
|
1098
1102
|
|
|
@@ -1102,7 +1106,7 @@ class AsyncAgentaApi:
|
|
|
1102
1106
|
_response = await self._raw_client.unassign_role_from_user(
|
|
1103
1107
|
workspace_id,
|
|
1104
1108
|
email=email,
|
|
1105
|
-
|
|
1109
|
+
organization_id=organization_id,
|
|
1106
1110
|
role=role,
|
|
1107
1111
|
request_options=request_options,
|
|
1108
1112
|
)
|
|
@@ -29,14 +29,17 @@ class OrganizationClient:
|
|
|
29
29
|
return self._raw_client
|
|
30
30
|
|
|
31
31
|
def fetch_organization_details(
|
|
32
|
-
self,
|
|
32
|
+
self,
|
|
33
|
+
organization_id: str,
|
|
34
|
+
*,
|
|
35
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
33
36
|
) -> OrganizationDetails:
|
|
34
37
|
"""
|
|
35
38
|
Return the details of the organization.
|
|
36
39
|
|
|
37
40
|
Parameters
|
|
38
41
|
----------
|
|
39
|
-
|
|
42
|
+
organization_id : str
|
|
40
43
|
|
|
41
44
|
request_options : typing.Optional[RequestOptions]
|
|
42
45
|
Request-specific configuration.
|
|
@@ -54,11 +57,11 @@ class OrganizationClient:
|
|
|
54
57
|
api_key="YOUR_API_KEY",
|
|
55
58
|
)
|
|
56
59
|
client.organization.fetch_organization_details(
|
|
57
|
-
|
|
60
|
+
organization_id="organization_id",
|
|
58
61
|
)
|
|
59
62
|
"""
|
|
60
63
|
_response = self._raw_client.fetch_organization_details(
|
|
61
|
-
|
|
64
|
+
organization_id, request_options=request_options
|
|
62
65
|
)
|
|
63
66
|
return _response.data
|
|
64
67
|
|
|
@@ -98,7 +101,7 @@ class OrganizationClient:
|
|
|
98
101
|
|
|
99
102
|
def invite_user_to_workspace(
|
|
100
103
|
self,
|
|
101
|
-
|
|
104
|
+
organization_id: str,
|
|
102
105
|
workspace_id: str,
|
|
103
106
|
*,
|
|
104
107
|
request: typing.Sequence[InviteRequest],
|
|
@@ -108,7 +111,7 @@ class OrganizationClient:
|
|
|
108
111
|
Assigns a role to a user in an organization.
|
|
109
112
|
|
|
110
113
|
Args:
|
|
111
|
-
|
|
114
|
+
organization_id (str): The ID of the organization.
|
|
112
115
|
payload (InviteRequest): The payload containing the organization id, user email, and role to assign.
|
|
113
116
|
workspace_id (str): The ID of the workspace.
|
|
114
117
|
|
|
@@ -121,7 +124,7 @@ class OrganizationClient:
|
|
|
121
124
|
|
|
122
125
|
Parameters
|
|
123
126
|
----------
|
|
124
|
-
|
|
127
|
+
organization_id : str
|
|
125
128
|
|
|
126
129
|
workspace_id : str
|
|
127
130
|
|
|
@@ -143,7 +146,7 @@ class OrganizationClient:
|
|
|
143
146
|
api_key="YOUR_API_KEY",
|
|
144
147
|
)
|
|
145
148
|
client.organization.invite_user_to_workspace(
|
|
146
|
-
|
|
149
|
+
organization_id="organization_id",
|
|
147
150
|
workspace_id="workspace_id",
|
|
148
151
|
request=[
|
|
149
152
|
InviteRequest(
|
|
@@ -153,13 +156,16 @@ class OrganizationClient:
|
|
|
153
156
|
)
|
|
154
157
|
"""
|
|
155
158
|
_response = self._raw_client.invite_user_to_workspace(
|
|
156
|
-
|
|
159
|
+
organization_id,
|
|
160
|
+
workspace_id,
|
|
161
|
+
request=request,
|
|
162
|
+
request_options=request_options,
|
|
157
163
|
)
|
|
158
164
|
return _response.data
|
|
159
165
|
|
|
160
166
|
def resend_invitation(
|
|
161
167
|
self,
|
|
162
|
-
|
|
168
|
+
organization_id: str,
|
|
163
169
|
workspace_id: str,
|
|
164
170
|
*,
|
|
165
171
|
email: str,
|
|
@@ -178,7 +184,7 @@ class OrganizationClient:
|
|
|
178
184
|
|
|
179
185
|
Parameters
|
|
180
186
|
----------
|
|
181
|
-
|
|
187
|
+
organization_id : str
|
|
182
188
|
|
|
183
189
|
workspace_id : str
|
|
184
190
|
|
|
@@ -200,19 +206,19 @@ class OrganizationClient:
|
|
|
200
206
|
api_key="YOUR_API_KEY",
|
|
201
207
|
)
|
|
202
208
|
client.organization.resend_invitation(
|
|
203
|
-
|
|
209
|
+
organization_id="organization_id",
|
|
204
210
|
workspace_id="workspace_id",
|
|
205
211
|
email="email",
|
|
206
212
|
)
|
|
207
213
|
"""
|
|
208
214
|
_response = self._raw_client.resend_invitation(
|
|
209
|
-
|
|
215
|
+
organization_id, workspace_id, email=email, request_options=request_options
|
|
210
216
|
)
|
|
211
217
|
return _response.data
|
|
212
218
|
|
|
213
219
|
def accept_invitation(
|
|
214
220
|
self,
|
|
215
|
-
|
|
221
|
+
organization_id: str,
|
|
216
222
|
workspace_id: str,
|
|
217
223
|
*,
|
|
218
224
|
project_id: str,
|
|
@@ -233,7 +239,7 @@ class OrganizationClient:
|
|
|
233
239
|
|
|
234
240
|
Parameters
|
|
235
241
|
----------
|
|
236
|
-
|
|
242
|
+
organization_id : str
|
|
237
243
|
|
|
238
244
|
workspace_id : str
|
|
239
245
|
|
|
@@ -259,7 +265,7 @@ class OrganizationClient:
|
|
|
259
265
|
api_key="YOUR_API_KEY",
|
|
260
266
|
)
|
|
261
267
|
client.organization.accept_invitation(
|
|
262
|
-
|
|
268
|
+
organization_id="organization_id",
|
|
263
269
|
workspace_id="workspace_id",
|
|
264
270
|
project_id="project_id",
|
|
265
271
|
token="token",
|
|
@@ -267,7 +273,7 @@ class OrganizationClient:
|
|
|
267
273
|
)
|
|
268
274
|
"""
|
|
269
275
|
_response = self._raw_client.accept_invitation(
|
|
270
|
-
|
|
276
|
+
organization_id,
|
|
271
277
|
workspace_id,
|
|
272
278
|
project_id=project_id,
|
|
273
279
|
token=token,
|
|
@@ -293,14 +299,17 @@ class AsyncOrganizationClient:
|
|
|
293
299
|
return self._raw_client
|
|
294
300
|
|
|
295
301
|
async def fetch_organization_details(
|
|
296
|
-
self,
|
|
302
|
+
self,
|
|
303
|
+
organization_id: str,
|
|
304
|
+
*,
|
|
305
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
297
306
|
) -> OrganizationDetails:
|
|
298
307
|
"""
|
|
299
308
|
Return the details of the organization.
|
|
300
309
|
|
|
301
310
|
Parameters
|
|
302
311
|
----------
|
|
303
|
-
|
|
312
|
+
organization_id : str
|
|
304
313
|
|
|
305
314
|
request_options : typing.Optional[RequestOptions]
|
|
306
315
|
Request-specific configuration.
|
|
@@ -323,14 +332,14 @@ class AsyncOrganizationClient:
|
|
|
323
332
|
|
|
324
333
|
async def main() -> None:
|
|
325
334
|
await client.organization.fetch_organization_details(
|
|
326
|
-
|
|
335
|
+
organization_id="organization_id",
|
|
327
336
|
)
|
|
328
337
|
|
|
329
338
|
|
|
330
339
|
asyncio.run(main())
|
|
331
340
|
"""
|
|
332
341
|
_response = await self._raw_client.fetch_organization_details(
|
|
333
|
-
|
|
342
|
+
organization_id, request_options=request_options
|
|
334
343
|
)
|
|
335
344
|
return _response.data
|
|
336
345
|
|
|
@@ -380,7 +389,7 @@ class AsyncOrganizationClient:
|
|
|
380
389
|
|
|
381
390
|
async def invite_user_to_workspace(
|
|
382
391
|
self,
|
|
383
|
-
|
|
392
|
+
organization_id: str,
|
|
384
393
|
workspace_id: str,
|
|
385
394
|
*,
|
|
386
395
|
request: typing.Sequence[InviteRequest],
|
|
@@ -390,7 +399,7 @@ class AsyncOrganizationClient:
|
|
|
390
399
|
Assigns a role to a user in an organization.
|
|
391
400
|
|
|
392
401
|
Args:
|
|
393
|
-
|
|
402
|
+
organization_id (str): The ID of the organization.
|
|
394
403
|
payload (InviteRequest): The payload containing the organization id, user email, and role to assign.
|
|
395
404
|
workspace_id (str): The ID of the workspace.
|
|
396
405
|
|
|
@@ -403,7 +412,7 @@ class AsyncOrganizationClient:
|
|
|
403
412
|
|
|
404
413
|
Parameters
|
|
405
414
|
----------
|
|
406
|
-
|
|
415
|
+
organization_id : str
|
|
407
416
|
|
|
408
417
|
workspace_id : str
|
|
409
418
|
|
|
@@ -430,7 +439,7 @@ class AsyncOrganizationClient:
|
|
|
430
439
|
|
|
431
440
|
async def main() -> None:
|
|
432
441
|
await client.organization.invite_user_to_workspace(
|
|
433
|
-
|
|
442
|
+
organization_id="organization_id",
|
|
434
443
|
workspace_id="workspace_id",
|
|
435
444
|
request=[
|
|
436
445
|
InviteRequest(
|
|
@@ -443,13 +452,16 @@ class AsyncOrganizationClient:
|
|
|
443
452
|
asyncio.run(main())
|
|
444
453
|
"""
|
|
445
454
|
_response = await self._raw_client.invite_user_to_workspace(
|
|
446
|
-
|
|
455
|
+
organization_id,
|
|
456
|
+
workspace_id,
|
|
457
|
+
request=request,
|
|
458
|
+
request_options=request_options,
|
|
447
459
|
)
|
|
448
460
|
return _response.data
|
|
449
461
|
|
|
450
462
|
async def resend_invitation(
|
|
451
463
|
self,
|
|
452
|
-
|
|
464
|
+
organization_id: str,
|
|
453
465
|
workspace_id: str,
|
|
454
466
|
*,
|
|
455
467
|
email: str,
|
|
@@ -468,7 +480,7 @@ class AsyncOrganizationClient:
|
|
|
468
480
|
|
|
469
481
|
Parameters
|
|
470
482
|
----------
|
|
471
|
-
|
|
483
|
+
organization_id : str
|
|
472
484
|
|
|
473
485
|
workspace_id : str
|
|
474
486
|
|
|
@@ -495,7 +507,7 @@ class AsyncOrganizationClient:
|
|
|
495
507
|
|
|
496
508
|
async def main() -> None:
|
|
497
509
|
await client.organization.resend_invitation(
|
|
498
|
-
|
|
510
|
+
organization_id="organization_id",
|
|
499
511
|
workspace_id="workspace_id",
|
|
500
512
|
email="email",
|
|
501
513
|
)
|
|
@@ -504,13 +516,13 @@ class AsyncOrganizationClient:
|
|
|
504
516
|
asyncio.run(main())
|
|
505
517
|
"""
|
|
506
518
|
_response = await self._raw_client.resend_invitation(
|
|
507
|
-
|
|
519
|
+
organization_id, workspace_id, email=email, request_options=request_options
|
|
508
520
|
)
|
|
509
521
|
return _response.data
|
|
510
522
|
|
|
511
523
|
async def accept_invitation(
|
|
512
524
|
self,
|
|
513
|
-
|
|
525
|
+
organization_id: str,
|
|
514
526
|
workspace_id: str,
|
|
515
527
|
*,
|
|
516
528
|
project_id: str,
|
|
@@ -531,7 +543,7 @@ class AsyncOrganizationClient:
|
|
|
531
543
|
|
|
532
544
|
Parameters
|
|
533
545
|
----------
|
|
534
|
-
|
|
546
|
+
organization_id : str
|
|
535
547
|
|
|
536
548
|
workspace_id : str
|
|
537
549
|
|
|
@@ -562,7 +574,7 @@ class AsyncOrganizationClient:
|
|
|
562
574
|
|
|
563
575
|
async def main() -> None:
|
|
564
576
|
await client.organization.accept_invitation(
|
|
565
|
-
|
|
577
|
+
organization_id="organization_id",
|
|
566
578
|
workspace_id="workspace_id",
|
|
567
579
|
project_id="project_id",
|
|
568
580
|
token="token",
|
|
@@ -573,7 +585,7 @@ class AsyncOrganizationClient:
|
|
|
573
585
|
asyncio.run(main())
|
|
574
586
|
"""
|
|
575
587
|
_response = await self._raw_client.accept_invitation(
|
|
576
|
-
|
|
588
|
+
organization_id,
|
|
577
589
|
workspace_id,
|
|
578
590
|
project_id=project_id,
|
|
579
591
|
token=token,
|