truefoundry 0.5.10rc1__py3-none-any.whl → 0.5.10rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of truefoundry might be problematic. Click here for more details.
- truefoundry/cli/display_util.py +1 -1
- truefoundry/deploy/auto_gen/models.py +1 -1
- truefoundry/deploy/io/output_callback.py +13 -6
- truefoundry/deploy/io/rich_output_callback.py +8 -4
- truefoundry/deploy/lib/clients/servicefoundry_client.py +78 -105
- truefoundry/deploy/lib/dao/apply.py +2 -2
- truefoundry/deploy/lib/dao/delete.py +2 -2
- truefoundry/deploy/lib/model/entity.py +37 -24
- truefoundry/ml/autogen/client/__init__.py +22 -14
- truefoundry/ml/autogen/client/api/auth_api.py +2 -2
- truefoundry/ml/autogen/client/api/deprecated_api.py +5 -338
- truefoundry/ml/autogen/client/api/experiments_api.py +77 -32
- truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +2 -2
- truefoundry/ml/autogen/client/api/health_api.py +2 -2
- truefoundry/ml/autogen/client/api/metrics_api.py +4 -4
- truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +530 -140
- truefoundry/ml/autogen/client/api/run_artifacts_api.py +10 -5
- truefoundry/ml/autogen/client/api/runs_api.py +20 -20
- truefoundry/ml/autogen/client/api_client.py +2 -2
- truefoundry/ml/autogen/client/configuration.py +29 -57
- truefoundry/ml/autogen/client/exceptions.py +2 -2
- truefoundry/ml/autogen/client/models/__init__.py +22 -14
- truefoundry/ml/autogen/client/models/agent_app.py +13 -5
- truefoundry/ml/autogen/client/models/{agent.py → agent_manifest.py} +39 -30
- truefoundry/ml/autogen/client/models/{agent_open_api_tool.py → agent_open_api_tool_manifest.py} +50 -31
- truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +47 -26
- truefoundry/ml/autogen/client/models/agent_with_fqn.py +36 -25
- truefoundry/ml/autogen/client/models/{add_custom_metrics_to_model_version_request_dto.py → apply_request_dto.py} +23 -17
- truefoundry/ml/autogen/client/models/apply_response_dto.py +79 -0
- truefoundry/ml/autogen/client/models/artifact_dto.py +2 -2
- truefoundry/ml/autogen/client/models/{add_features_to_model_version_request_dto.py → artifact_path.py} +20 -17
- truefoundry/ml/autogen/client/models/artifact_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/artifact_type.py +3 -3
- truefoundry/ml/autogen/client/models/artifact_version_dto.py +7 -15
- truefoundry/ml/autogen/client/models/artifact_version_manifest.py +32 -19
- truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +2 -2
- truefoundry/ml/autogen/client/models/artifact_version_status.py +2 -2
- truefoundry/ml/autogen/client/models/assistant_message.py +9 -5
- truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/blob_storage_reference.py +4 -4
- truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +2 -2
- truefoundry/ml/autogen/client/models/{chat_prompt.py → chat_prompt_manifest.py} +39 -32
- truefoundry/ml/autogen/client/models/{chat_prompt_messages_inner.py → chat_prompt_manifest_messages_inner.py} +12 -12
- truefoundry/ml/autogen/client/models/columns_dto.py +2 -2
- truefoundry/ml/autogen/client/models/command.py +2 -2
- truefoundry/ml/autogen/client/models/content.py +3 -3
- truefoundry/ml/autogen/client/models/content1.py +3 -3
- truefoundry/ml/autogen/client/models/content2.py +3 -3
- truefoundry/ml/autogen/client/models/content2_any_of_inner.py +2 -2
- truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +21 -5
- truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +4 -12
- truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_run_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_run_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/data_directory_manifest.py +126 -0
- truefoundry/ml/autogen/client/models/dataset_dto.py +13 -2
- truefoundry/ml/autogen/client/models/dataset_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/delete_run_request.py +2 -2
- truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/experiment_dto.py +3 -3
- truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/experiment_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/experiment_tag_dto.py +2 -2
- truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/external_blob_storage_source.py +5 -4
- truefoundry/ml/autogen/client/models/fast_ai_framework.py +3 -3
- truefoundry/ml/autogen/client/models/file_info_dto.py +2 -2
- truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +7 -15
- truefoundry/ml/autogen/client/models/framework.py +3 -3
- truefoundry/ml/autogen/client/models/get_artifact_version_aliases_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_metric_history_response.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/gluon_framework.py +3 -3
- truefoundry/ml/autogen/client/models/h2_o_framework.py +3 -3
- truefoundry/ml/autogen/client/models/http_validation_error.py +2 -2
- truefoundry/ml/autogen/client/models/image_content_part.py +7 -5
- truefoundry/ml/autogen/client/models/image_url.py +3 -3
- truefoundry/ml/autogen/client/models/infer_method_name.py +2 -2
- truefoundry/ml/autogen/client/models/keras_framework.py +3 -3
- truefoundry/ml/autogen/client/models/latest_run_log_dto.py +2 -2
- truefoundry/ml/autogen/client/models/library_name.py +2 -2
- truefoundry/ml/autogen/client/models/light_gbm_framework.py +3 -3
- truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_colums_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_models_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_models_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/local_artifact_source.py +93 -0
- truefoundry/ml/autogen/client/models/local_model_source.py +80 -0
- truefoundry/ml/autogen/client/models/log_batch_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/log_metric_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/log_param_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/manifest.py +100 -23
- truefoundry/ml/autogen/client/models/manifest1.py +219 -0
- truefoundry/ml/autogen/client/models/manifest2.py +198 -0
- truefoundry/ml/autogen/client/models/method.py +3 -3
- truefoundry/ml/autogen/client/models/metric_collection_dto.py +2 -2
- truefoundry/ml/autogen/client/models/metric_dto.py +2 -2
- truefoundry/ml/autogen/client/models/mime_type.py +2 -2
- truefoundry/ml/autogen/client/models/model_configuration.py +7 -7
- truefoundry/ml/autogen/client/models/model_dto.py +2 -2
- truefoundry/ml/autogen/client/models/model_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/model_server.py +2 -2
- truefoundry/ml/autogen/client/models/model_version_dto.py +2 -2
- truefoundry/ml/autogen/client/models/model_version_environment.py +5 -5
- truefoundry/ml/autogen/client/models/model_version_manifest.py +35 -22
- truefoundry/ml/autogen/client/models/model_version_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +2 -2
- truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +2 -2
- truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +2 -2
- truefoundry/ml/autogen/client/models/onnx_framework.py +3 -3
- truefoundry/ml/autogen/client/models/openapi_spec.py +3 -3
- truefoundry/ml/autogen/client/models/paddle_framework.py +3 -3
- truefoundry/ml/autogen/client/models/param_dto.py +2 -2
- truefoundry/ml/autogen/client/models/parameters.py +3 -3
- truefoundry/ml/autogen/client/models/py_torch_framework.py +3 -3
- truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/restore_run_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_data_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_info_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_log_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_log_input_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/run_tag_dto.py +2 -2
- truefoundry/ml/autogen/client/models/search_runs_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/search_runs_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/set_tag_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/signed_url_dto.py +2 -2
- truefoundry/ml/autogen/client/models/sklearn_framework.py +4 -4
- truefoundry/ml/autogen/client/models/sklearn_model_schema.py +7 -5
- truefoundry/ml/autogen/client/models/sklearn_serialization_format.py +3 -3
- truefoundry/ml/autogen/client/models/source.py +32 -7
- truefoundry/ml/autogen/client/models/source1.py +3 -3
- truefoundry/ml/autogen/client/models/{internal_metadata.py → source2.py} +52 -55
- truefoundry/ml/autogen/client/models/spa_cy_framework.py +3 -3
- truefoundry/ml/autogen/client/models/stats_models_framework.py +3 -3
- truefoundry/ml/autogen/client/models/stop.py +2 -2
- truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/subject.py +2 -2
- truefoundry/ml/autogen/client/models/subject_type.py +2 -2
- truefoundry/ml/autogen/client/models/system_message.py +7 -4
- truefoundry/ml/autogen/client/models/tensor_flow_framework.py +3 -3
- truefoundry/ml/autogen/client/models/text.py +3 -3
- truefoundry/ml/autogen/client/models/text_content_part.py +6 -4
- truefoundry/ml/autogen/client/models/transformers_framework.py +5 -5
- truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/true_foundry_managed_source.py +3 -3
- truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +5 -7
- truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +13 -3
- truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/update_run_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/update_run_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/url.py +3 -3
- truefoundry/ml/autogen/client/models/user_message.py +8 -5
- truefoundry/ml/autogen/client/models/validate_external_storage_root_request_dto.py +2 -2
- truefoundry/ml/autogen/client/models/validate_external_storage_root_response_dto.py +2 -2
- truefoundry/ml/autogen/client/models/validation_error.py +2 -2
- truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +2 -2
- truefoundry/ml/autogen/client/models/xg_boost_framework.py +4 -4
- truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +7 -5
- truefoundry/ml/autogen/client/models/xg_boost_serialization_format.py +3 -3
- truefoundry/ml/autogen/client/rest.py +2 -2
- truefoundry/ml/autogen/client_README.md +17 -19
- truefoundry/ml/autogen/entities/artifacts.py +264 -139
- truefoundry/ml/clients/servicefoundry_client.py +3 -2
- truefoundry/ml/log_types/artifacts/artifact.py +15 -78
- truefoundry/ml/log_types/artifacts/model.py +4 -5
- truefoundry/ml/log_types/artifacts/utils.py +18 -2
- truefoundry/ml/mlfoundry_api.py +0 -40
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.10rc2.dist-info}/METADATA +1 -1
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.10rc2.dist-info}/RECORD +221 -215
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.10rc2.dist-info}/WHEEL +0 -0
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.10rc2.dist-info}/entry_points.txt +0 -0
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import re # noqa: F401
|
|
15
|
+
import warnings
|
|
15
16
|
from typing import Optional
|
|
16
17
|
|
|
17
18
|
from truefoundry.ml.autogen.client.api_client import ApiClient
|
|
@@ -52,7 +53,7 @@ class RunArtifactsApi:
|
|
|
52
53
|
max_results: Optional[StrictInt] = None,
|
|
53
54
|
**kwargs,
|
|
54
55
|
) -> ListRunArtifactsResponseDto: # noqa: E501
|
|
55
|
-
"""List Run Artifacts # noqa: E501
|
|
56
|
+
"""(Deprecated) List Run Artifacts # noqa: E501
|
|
56
57
|
|
|
57
58
|
List legacy run level artifacts (files and directories) # noqa: E501
|
|
58
59
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -100,7 +101,7 @@ class RunArtifactsApi:
|
|
|
100
101
|
max_results: Optional[StrictInt] = None,
|
|
101
102
|
**kwargs,
|
|
102
103
|
) -> ApiResponse: # noqa: E501
|
|
103
|
-
"""List Run Artifacts # noqa: E501
|
|
104
|
+
"""(Deprecated) List Run Artifacts # noqa: E501
|
|
104
105
|
|
|
105
106
|
List legacy run level artifacts (files and directories) # noqa: E501
|
|
106
107
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -144,6 +145,10 @@ class RunArtifactsApi:
|
|
|
144
145
|
:rtype: tuple(ListRunArtifactsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
145
146
|
"""
|
|
146
147
|
|
|
148
|
+
warnings.warn(
|
|
149
|
+
"GET /api/2.0/mlflow/artifacts/list is deprecated.", DeprecationWarning
|
|
150
|
+
)
|
|
151
|
+
|
|
147
152
|
_params = locals()
|
|
148
153
|
|
|
149
154
|
_all_params = ["run_id", "run_uuid", "path", "page_token", "max_results"]
|
|
@@ -204,7 +209,7 @@ class RunArtifactsApi:
|
|
|
204
209
|
) # noqa: E501
|
|
205
210
|
|
|
206
211
|
# authentication setting
|
|
207
|
-
_auth_settings = ["
|
|
212
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
208
213
|
|
|
209
214
|
_response_types_map = {
|
|
210
215
|
"200": "ListRunArtifactsResponseDto",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -216,7 +216,7 @@ class RunsApi:
|
|
|
216
216
|
_header_params["Content-Type"] = _content_types_list
|
|
217
217
|
|
|
218
218
|
# authentication setting
|
|
219
|
-
_auth_settings = ["
|
|
219
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
220
220
|
|
|
221
221
|
_response_types_map = {
|
|
222
222
|
"200": "CreateRunResponseDto",
|
|
@@ -368,7 +368,7 @@ class RunsApi:
|
|
|
368
368
|
_header_params["Content-Type"] = _content_types_list
|
|
369
369
|
|
|
370
370
|
# authentication setting
|
|
371
|
-
_auth_settings = ["
|
|
371
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
372
372
|
|
|
373
373
|
_response_types_map = {
|
|
374
374
|
"200": "object",
|
|
@@ -522,7 +522,7 @@ class RunsApi:
|
|
|
522
522
|
_header_params["Content-Type"] = _content_types_list
|
|
523
523
|
|
|
524
524
|
# authentication setting
|
|
525
|
-
_auth_settings = ["
|
|
525
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
526
526
|
|
|
527
527
|
_response_types_map = {
|
|
528
528
|
"200": "object",
|
|
@@ -666,7 +666,7 @@ class RunsApi:
|
|
|
666
666
|
) # noqa: E501
|
|
667
667
|
|
|
668
668
|
# authentication setting
|
|
669
|
-
_auth_settings = ["
|
|
669
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
670
670
|
|
|
671
671
|
_response_types_map = {
|
|
672
672
|
"200": "RunResponseDto",
|
|
@@ -836,7 +836,7 @@ class RunsApi:
|
|
|
836
836
|
) # noqa: E501
|
|
837
837
|
|
|
838
838
|
# authentication setting
|
|
839
|
-
_auth_settings = ["
|
|
839
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
840
840
|
|
|
841
841
|
_response_types_map = {
|
|
842
842
|
"200": "RunResponseDto",
|
|
@@ -995,7 +995,7 @@ class RunsApi:
|
|
|
995
995
|
) # noqa: E501
|
|
996
996
|
|
|
997
997
|
# authentication setting
|
|
998
|
-
_auth_settings = ["
|
|
998
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
999
999
|
|
|
1000
1000
|
_response_types_map = {
|
|
1001
1001
|
"200": "RunResponseDto",
|
|
@@ -1149,7 +1149,7 @@ class RunsApi:
|
|
|
1149
1149
|
_header_params["Content-Type"] = _content_types_list
|
|
1150
1150
|
|
|
1151
1151
|
# authentication setting
|
|
1152
|
-
_auth_settings = ["
|
|
1152
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1153
1153
|
|
|
1154
1154
|
_response_types_map = {
|
|
1155
1155
|
"200": "object",
|
|
@@ -1309,7 +1309,7 @@ class RunsApi:
|
|
|
1309
1309
|
) # noqa: E501
|
|
1310
1310
|
|
|
1311
1311
|
# authentication setting
|
|
1312
|
-
_auth_settings = ["
|
|
1312
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1313
1313
|
|
|
1314
1314
|
_response_types_map = {
|
|
1315
1315
|
"200": "GetLatestRunLogResponseDto",
|
|
@@ -1477,7 +1477,7 @@ class RunsApi:
|
|
|
1477
1477
|
) # noqa: E501
|
|
1478
1478
|
|
|
1479
1479
|
# authentication setting
|
|
1480
|
-
_auth_settings = ["
|
|
1480
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1481
1481
|
|
|
1482
1482
|
_response_types_map = {
|
|
1483
1483
|
"200": "ListLatestRunLogsResponseDto",
|
|
@@ -1664,7 +1664,7 @@ class RunsApi:
|
|
|
1664
1664
|
_header_params["Content-Type"] = _content_types_list
|
|
1665
1665
|
|
|
1666
1666
|
# authentication setting
|
|
1667
|
-
_auth_settings = ["
|
|
1667
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1668
1668
|
|
|
1669
1669
|
_response_types_map = {
|
|
1670
1670
|
"200": "ListRunLogsResponseDto",
|
|
@@ -1818,7 +1818,7 @@ class RunsApi:
|
|
|
1818
1818
|
_header_params["Content-Type"] = _content_types_list
|
|
1819
1819
|
|
|
1820
1820
|
# authentication setting
|
|
1821
|
-
_auth_settings = ["
|
|
1821
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1822
1822
|
|
|
1823
1823
|
_response_types_map = {
|
|
1824
1824
|
"200": "object",
|
|
@@ -1972,7 +1972,7 @@ class RunsApi:
|
|
|
1972
1972
|
_header_params["Content-Type"] = _content_types_list
|
|
1973
1973
|
|
|
1974
1974
|
# authentication setting
|
|
1975
|
-
_auth_settings = ["
|
|
1975
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1976
1976
|
|
|
1977
1977
|
_response_types_map = {
|
|
1978
1978
|
"200": "object",
|
|
@@ -2126,7 +2126,7 @@ class RunsApi:
|
|
|
2126
2126
|
_header_params["Content-Type"] = _content_types_list
|
|
2127
2127
|
|
|
2128
2128
|
# authentication setting
|
|
2129
|
-
_auth_settings = ["
|
|
2129
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2130
2130
|
|
|
2131
2131
|
_response_types_map = {
|
|
2132
2132
|
"200": "object",
|
|
@@ -2278,7 +2278,7 @@ class RunsApi:
|
|
|
2278
2278
|
_header_params["Content-Type"] = _content_types_list
|
|
2279
2279
|
|
|
2280
2280
|
# authentication setting
|
|
2281
|
-
_auth_settings = ["
|
|
2281
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2282
2282
|
|
|
2283
2283
|
_response_types_map = {
|
|
2284
2284
|
"200": "object",
|
|
@@ -2432,7 +2432,7 @@ class RunsApi:
|
|
|
2432
2432
|
_header_params["Content-Type"] = _content_types_list
|
|
2433
2433
|
|
|
2434
2434
|
# authentication setting
|
|
2435
|
-
_auth_settings = ["
|
|
2435
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2436
2436
|
|
|
2437
2437
|
_response_types_map = {
|
|
2438
2438
|
"200": "object",
|
|
@@ -2584,7 +2584,7 @@ class RunsApi:
|
|
|
2584
2584
|
_header_params["Content-Type"] = _content_types_list
|
|
2585
2585
|
|
|
2586
2586
|
# authentication setting
|
|
2587
|
-
_auth_settings = ["
|
|
2587
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2588
2588
|
|
|
2589
2589
|
_response_types_map = {
|
|
2590
2590
|
"200": "SearchRunsResponseDto",
|
|
@@ -2738,7 +2738,7 @@ class RunsApi:
|
|
|
2738
2738
|
_header_params["Content-Type"] = _content_types_list
|
|
2739
2739
|
|
|
2740
2740
|
# authentication setting
|
|
2741
|
-
_auth_settings = ["
|
|
2741
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2742
2742
|
|
|
2743
2743
|
_response_types_map = {
|
|
2744
2744
|
"200": "object",
|
|
@@ -2892,7 +2892,7 @@ class RunsApi:
|
|
|
2892
2892
|
_header_params["Content-Type"] = _content_types_list
|
|
2893
2893
|
|
|
2894
2894
|
# authentication setting
|
|
2895
|
-
_auth_settings = ["
|
|
2895
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2896
2896
|
|
|
2897
2897
|
_response_types_map = {
|
|
2898
2898
|
"200": "UpdateRunResponseDto",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -36,50 +36,31 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|
|
36
36
|
class Configuration:
|
|
37
37
|
"""This class contains various settings of the API client.
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
API Key Authentication Example.
|
|
66
|
-
Given the following security scheme in the OpenAPI specification:
|
|
67
|
-
components:
|
|
68
|
-
securitySchemes:
|
|
69
|
-
cookieAuth: # name for the security scheme
|
|
70
|
-
type: apiKey
|
|
71
|
-
in: cookie
|
|
72
|
-
name: JSESSIONID # cookie name
|
|
73
|
-
|
|
74
|
-
You can programmatically set the cookie:
|
|
75
|
-
|
|
76
|
-
conf = truefoundry.ml.autogen.client.Configuration(
|
|
77
|
-
api_key={'cookieAuth': 'abc123'}
|
|
78
|
-
api_key_prefix={'cookieAuth': 'JSESSIONID'}
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
The following cookie will be added to the HTTP request:
|
|
82
|
-
Cookie: JSESSIONID abc123
|
|
39
|
+
:param host: Base url.
|
|
40
|
+
:param api_key: Dict to store API key(s).
|
|
41
|
+
Each entry in the dict specifies an API key.
|
|
42
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
43
|
+
The dict value is the API key secret.
|
|
44
|
+
:param api_key_prefix: Dict to store API prefix (e.g. Bearer).
|
|
45
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
46
|
+
The dict value is an API key prefix when generating the auth data.
|
|
47
|
+
:param username: Username for HTTP basic authentication.
|
|
48
|
+
:param password: Password for HTTP basic authentication.
|
|
49
|
+
:param access_token: Access token.
|
|
50
|
+
:param server_index: Index to servers configuration.
|
|
51
|
+
:param server_variables: Mapping with string values to replace variables in
|
|
52
|
+
templated server configuration. The validation of enums is performed for
|
|
53
|
+
variables with defined enum values before.
|
|
54
|
+
:param server_operation_index: Mapping from operation ID to an index to server
|
|
55
|
+
configuration.
|
|
56
|
+
:param server_operation_variables: Mapping from operation ID to a mapping with
|
|
57
|
+
string values to replace variables in templated server configuration.
|
|
58
|
+
The validation of enums is performed for variables with defined enum
|
|
59
|
+
values before.
|
|
60
|
+
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
|
61
|
+
in PEM format.
|
|
62
|
+
|
|
63
|
+
:Example:
|
|
83
64
|
"""
|
|
84
65
|
|
|
85
66
|
_default = None
|
|
@@ -394,21 +375,12 @@ class Configuration:
|
|
|
394
375
|
"""
|
|
395
376
|
auth = {}
|
|
396
377
|
if self.access_token is not None:
|
|
397
|
-
auth["
|
|
378
|
+
auth["APIKey"] = {
|
|
398
379
|
"type": "bearer",
|
|
399
380
|
"in": "header",
|
|
400
381
|
"key": "Authorization",
|
|
401
382
|
"value": "Bearer " + self.access_token,
|
|
402
383
|
}
|
|
403
|
-
if "APIKeyCookie" in self.api_key:
|
|
404
|
-
auth["APIKeyCookie"] = {
|
|
405
|
-
"type": "api_key",
|
|
406
|
-
"in": "cookie",
|
|
407
|
-
"key": "accessToken",
|
|
408
|
-
"value": self.get_api_key_with_prefix(
|
|
409
|
-
"APIKeyCookie",
|
|
410
|
-
),
|
|
411
|
-
}
|
|
412
384
|
return auth
|
|
413
385
|
|
|
414
386
|
def to_debug_report(self):
|
|
@@ -420,7 +392,7 @@ class Configuration:
|
|
|
420
392
|
"Python SDK Debug Report:\n"
|
|
421
393
|
"OS: {env}\n"
|
|
422
394
|
"Python Version: {pyversion}\n"
|
|
423
|
-
"Version of the API:
|
|
395
|
+
"Version of the API: 1.0.0\n"
|
|
424
396
|
"SDK Package Version: 0.1.0".format(env=sys.platform, pyversion=sys.version)
|
|
425
397
|
)
|
|
426
398
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -2,31 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
"""
|
|
5
|
-
|
|
5
|
+
TrueFoundry ML API
|
|
6
6
|
|
|
7
7
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document:
|
|
9
|
+
The version of the OpenAPI document: 1.0.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
# import models into model package
|
|
16
|
-
from truefoundry.ml.autogen.client.models.add_custom_metrics_to_model_version_request_dto import (
|
|
17
|
-
AddCustomMetricsToModelVersionRequestDto,
|
|
18
|
-
)
|
|
19
|
-
from truefoundry.ml.autogen.client.models.add_features_to_model_version_request_dto import (
|
|
20
|
-
AddFeaturesToModelVersionRequestDto,
|
|
21
|
-
)
|
|
22
|
-
from truefoundry.ml.autogen.client.models.agent import Agent
|
|
23
16
|
from truefoundry.ml.autogen.client.models.agent_app import AgentApp
|
|
24
|
-
from truefoundry.ml.autogen.client.models.
|
|
17
|
+
from truefoundry.ml.autogen.client.models.agent_manifest import AgentManifest
|
|
18
|
+
from truefoundry.ml.autogen.client.models.agent_open_api_tool_manifest import (
|
|
19
|
+
AgentOpenAPIToolManifest,
|
|
20
|
+
)
|
|
25
21
|
from truefoundry.ml.autogen.client.models.agent_open_api_tool_with_fqn import (
|
|
26
22
|
AgentOpenAPIToolWithFQN,
|
|
27
23
|
)
|
|
28
24
|
from truefoundry.ml.autogen.client.models.agent_with_fqn import AgentWithFQN
|
|
25
|
+
from truefoundry.ml.autogen.client.models.apply_request_dto import ApplyRequestDto
|
|
26
|
+
from truefoundry.ml.autogen.client.models.apply_response_dto import ApplyResponseDto
|
|
29
27
|
from truefoundry.ml.autogen.client.models.artifact_dto import ArtifactDto
|
|
28
|
+
from truefoundry.ml.autogen.client.models.artifact_path import ArtifactPath
|
|
30
29
|
from truefoundry.ml.autogen.client.models.artifact_response_dto import (
|
|
31
30
|
ArtifactResponseDto,
|
|
32
31
|
)
|
|
@@ -57,9 +56,9 @@ from truefoundry.ml.autogen.client.models.blob_storage_reference import (
|
|
|
57
56
|
from truefoundry.ml.autogen.client.models.body_get_search_runs_get import (
|
|
58
57
|
BodyGetSearchRunsGet,
|
|
59
58
|
)
|
|
60
|
-
from truefoundry.ml.autogen.client.models.
|
|
61
|
-
from truefoundry.ml.autogen.client.models.
|
|
62
|
-
|
|
59
|
+
from truefoundry.ml.autogen.client.models.chat_prompt_manifest import ChatPromptManifest
|
|
60
|
+
from truefoundry.ml.autogen.client.models.chat_prompt_manifest_messages_inner import (
|
|
61
|
+
ChatPromptManifestMessagesInner,
|
|
63
62
|
)
|
|
64
63
|
from truefoundry.ml.autogen.client.models.columns_dto import ColumnsDto
|
|
65
64
|
from truefoundry.ml.autogen.client.models.command import Command
|
|
@@ -117,6 +116,9 @@ from truefoundry.ml.autogen.client.models.create_run_response_dto import (
|
|
|
117
116
|
from truefoundry.ml.autogen.client.models.create_workflow_task_config_request_dto import (
|
|
118
117
|
CreateWorkflowTaskConfigRequestDto,
|
|
119
118
|
)
|
|
119
|
+
from truefoundry.ml.autogen.client.models.data_directory_manifest import (
|
|
120
|
+
DataDirectoryManifest,
|
|
121
|
+
)
|
|
120
122
|
from truefoundry.ml.autogen.client.models.dataset_dto import DatasetDto
|
|
121
123
|
from truefoundry.ml.autogen.client.models.dataset_response_dto import DatasetResponseDto
|
|
122
124
|
from truefoundry.ml.autogen.client.models.delete_artifact_versions_request_dto import (
|
|
@@ -202,7 +204,6 @@ from truefoundry.ml.autogen.client.models.http_validation_error import (
|
|
|
202
204
|
from truefoundry.ml.autogen.client.models.image_content_part import ImageContentPart
|
|
203
205
|
from truefoundry.ml.autogen.client.models.image_url import ImageUrl
|
|
204
206
|
from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
|
|
205
|
-
from truefoundry.ml.autogen.client.models.internal_metadata import InternalMetadata
|
|
206
207
|
from truefoundry.ml.autogen.client.models.keras_framework import KerasFramework
|
|
207
208
|
from truefoundry.ml.autogen.client.models.latest_run_log_dto import LatestRunLogDto
|
|
208
209
|
from truefoundry.ml.autogen.client.models.library_name import LibraryName
|
|
@@ -270,6 +271,10 @@ from truefoundry.ml.autogen.client.models.list_run_artifacts_response_dto import
|
|
|
270
271
|
from truefoundry.ml.autogen.client.models.list_run_logs_response_dto import (
|
|
271
272
|
ListRunLogsResponseDto,
|
|
272
273
|
)
|
|
274
|
+
from truefoundry.ml.autogen.client.models.local_artifact_source import (
|
|
275
|
+
LocalArtifactSource,
|
|
276
|
+
)
|
|
277
|
+
from truefoundry.ml.autogen.client.models.local_model_source import LocalModelSource
|
|
273
278
|
from truefoundry.ml.autogen.client.models.log_batch_request_dto import (
|
|
274
279
|
LogBatchRequestDto,
|
|
275
280
|
)
|
|
@@ -280,6 +285,8 @@ from truefoundry.ml.autogen.client.models.log_param_request_dto import (
|
|
|
280
285
|
LogParamRequestDto,
|
|
281
286
|
)
|
|
282
287
|
from truefoundry.ml.autogen.client.models.manifest import Manifest
|
|
288
|
+
from truefoundry.ml.autogen.client.models.manifest1 import Manifest1
|
|
289
|
+
from truefoundry.ml.autogen.client.models.manifest2 import Manifest2
|
|
283
290
|
from truefoundry.ml.autogen.client.models.method import Method
|
|
284
291
|
from truefoundry.ml.autogen.client.models.metric_collection_dto import (
|
|
285
292
|
MetricCollectionDto,
|
|
@@ -349,6 +356,7 @@ from truefoundry.ml.autogen.client.models.sklearn_serialization_format import (
|
|
|
349
356
|
)
|
|
350
357
|
from truefoundry.ml.autogen.client.models.source import Source
|
|
351
358
|
from truefoundry.ml.autogen.client.models.source1 import Source1
|
|
359
|
+
from truefoundry.ml.autogen.client.models.source2 import Source2
|
|
352
360
|
from truefoundry.ml.autogen.client.models.spa_cy_framework import SpaCyFramework
|
|
353
361
|
from truefoundry.ml.autogen.client.models.stats_models_framework import (
|
|
354
362
|
StatsModelsFramework,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -38,9 +38,17 @@ class AgentApp(BaseModel):
|
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
type: Optional[StrictStr] = "agent-app"
|
|
41
|
-
tools: conlist(AgentOpenAPIToolWithFQN) = Field(
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
tools: conlist(AgentOpenAPIToolWithFQN) = Field(
|
|
42
|
+
default=..., description="+label=Tools +usage=Tools available to the Agent app"
|
|
43
|
+
)
|
|
44
|
+
agents: conlist(AgentWithFQN) = Field(
|
|
45
|
+
default=...,
|
|
46
|
+
description="+label=Agents +usage=Agents available to the Agent app",
|
|
47
|
+
)
|
|
48
|
+
root_agent: constr(strict=True, min_length=1) = Field(
|
|
49
|
+
default=...,
|
|
50
|
+
description="+label=Root Agent +usage=Root Agent for the app. This will be the first agent invoked",
|
|
51
|
+
)
|
|
44
52
|
__properties = ["type", "tools", "agents", "root_agent"]
|
|
45
53
|
|
|
46
54
|
@validator("type")
|