truefoundry 0.5.9__py3-none-any.whl → 0.5.10__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/common/utils.py +9 -0
- 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 +115 -136
- 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 +3 -4
- 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 +266 -141
- truefoundry/ml/clients/servicefoundry_client.py +9 -8
- 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/ml/session.py +6 -3
- {truefoundry-0.5.9.dist-info → truefoundry-0.5.10.dist-info}/METADATA +3 -6
- {truefoundry-0.5.9.dist-info → truefoundry-0.5.10.dist-info}/RECORD +223 -217
- {truefoundry-0.5.9.dist-info → truefoundry-0.5.10.dist-info}/WHEEL +0 -0
- {truefoundry-0.5.9.dist-info → truefoundry-0.5.10.dist-info}/entry_points.txt +0 -0
|
@@ -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.
|
|
@@ -19,7 +19,7 @@ from aenum import Enum
|
|
|
19
19
|
|
|
20
20
|
class SklearnSerializationFormat(str, Enum):
|
|
21
21
|
"""
|
|
22
|
-
+label=Serialization
|
|
22
|
+
+label=Scikit Learn Serialization Format +usage=Serialization format used to save the sklearn model
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
"""
|
|
@@ -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.
|
|
@@ -21,6 +21,9 @@ from typing import TYPE_CHECKING, Any, List, Optional, Union
|
|
|
21
21
|
from truefoundry.ml.autogen.client.models.external_blob_storage_source import (
|
|
22
22
|
ExternalBlobStorageSource,
|
|
23
23
|
)
|
|
24
|
+
from truefoundry.ml.autogen.client.models.local_artifact_source import (
|
|
25
|
+
LocalArtifactSource,
|
|
26
|
+
)
|
|
24
27
|
from truefoundry.ml.autogen.client.models.true_foundry_managed_source import (
|
|
25
28
|
TrueFoundryManagedSource,
|
|
26
29
|
)
|
|
@@ -31,20 +34,28 @@ from truefoundry.pydantic_v1 import (
|
|
|
31
34
|
validator,
|
|
32
35
|
)
|
|
33
36
|
|
|
34
|
-
SOURCE_ANY_OF_SCHEMAS = [
|
|
37
|
+
SOURCE_ANY_OF_SCHEMAS = [
|
|
38
|
+
"ExternalBlobStorageSource",
|
|
39
|
+
"LocalArtifactSource",
|
|
40
|
+
"TrueFoundryManagedSource",
|
|
41
|
+
]
|
|
35
42
|
|
|
36
43
|
|
|
37
44
|
class Source(BaseModel):
|
|
38
45
|
"""
|
|
39
|
-
+label=Artifact Source +
|
|
46
|
+
+label=Artifact Source +uiType=Group
|
|
40
47
|
"""
|
|
41
48
|
|
|
42
49
|
# data type: TrueFoundryManagedSource
|
|
43
50
|
anyof_schema_1_validator: Optional[TrueFoundryManagedSource] = None
|
|
44
51
|
# data type: ExternalBlobStorageSource
|
|
45
52
|
anyof_schema_2_validator: Optional[ExternalBlobStorageSource] = None
|
|
53
|
+
# data type: LocalArtifactSource
|
|
54
|
+
anyof_schema_3_validator: Optional[LocalArtifactSource] = None
|
|
46
55
|
if TYPE_CHECKING:
|
|
47
|
-
actual_instance: Union[
|
|
56
|
+
actual_instance: Union[
|
|
57
|
+
ExternalBlobStorageSource, LocalArtifactSource, TrueFoundryManagedSource
|
|
58
|
+
]
|
|
48
59
|
else:
|
|
49
60
|
actual_instance: Any
|
|
50
61
|
any_of_schemas: List[str] = Field(SOURCE_ANY_OF_SCHEMAS, const=True)
|
|
@@ -86,10 +97,18 @@ class Source(BaseModel):
|
|
|
86
97
|
else:
|
|
87
98
|
return v
|
|
88
99
|
|
|
100
|
+
# validate data type: LocalArtifactSource
|
|
101
|
+
if not isinstance(v, LocalArtifactSource):
|
|
102
|
+
error_messages.append(
|
|
103
|
+
f"Error! Input type `{type(v)}` is not `LocalArtifactSource`"
|
|
104
|
+
)
|
|
105
|
+
else:
|
|
106
|
+
return v
|
|
107
|
+
|
|
89
108
|
if error_messages:
|
|
90
109
|
# no match
|
|
91
110
|
raise ValueError(
|
|
92
|
-
"No match found when setting the actual_instance in Source with anyOf schemas: ExternalBlobStorageSource, TrueFoundryManagedSource. Details: "
|
|
111
|
+
"No match found when setting the actual_instance in Source with anyOf schemas: ExternalBlobStorageSource, LocalArtifactSource, TrueFoundryManagedSource. Details: "
|
|
93
112
|
+ ", ".join(error_messages)
|
|
94
113
|
)
|
|
95
114
|
else:
|
|
@@ -116,11 +135,17 @@ class Source(BaseModel):
|
|
|
116
135
|
return instance
|
|
117
136
|
except (ValidationError, ValueError) as e:
|
|
118
137
|
error_messages.append(str(e))
|
|
138
|
+
# anyof_schema_3_validator: Optional[LocalArtifactSource] = None
|
|
139
|
+
try:
|
|
140
|
+
instance.actual_instance = LocalArtifactSource.from_json(json_str)
|
|
141
|
+
return instance
|
|
142
|
+
except (ValidationError, ValueError) as e:
|
|
143
|
+
error_messages.append(str(e))
|
|
119
144
|
|
|
120
145
|
if error_messages:
|
|
121
146
|
# no match
|
|
122
147
|
raise ValueError(
|
|
123
|
-
"No match found when deserializing the JSON string into Source with anyOf schemas: ExternalBlobStorageSource, TrueFoundryManagedSource. Details: "
|
|
148
|
+
"No match found when deserializing the JSON string into Source with anyOf schemas: ExternalBlobStorageSource, LocalArtifactSource, TrueFoundryManagedSource. Details: "
|
|
124
149
|
+ ", ".join(error_messages)
|
|
125
150
|
)
|
|
126
151
|
else:
|
|
@@ -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,7 +36,7 @@ SOURCE1_ANY_OF_SCHEMAS = ["ExternalBlobStorageSource", "TrueFoundryManagedSource
|
|
|
36
36
|
|
|
37
37
|
class Source1(BaseModel):
|
|
38
38
|
"""
|
|
39
|
-
+label=
|
|
39
|
+
+label=Data Directory Source +uiType=Group
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
# data type: TrueFoundryManagedSource
|
|
@@ -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.
|
|
@@ -16,11 +16,15 @@ from __future__ import annotations
|
|
|
16
16
|
import json
|
|
17
17
|
import pprint
|
|
18
18
|
import re # noqa: F401
|
|
19
|
-
from typing import TYPE_CHECKING, Any,
|
|
19
|
+
from typing import TYPE_CHECKING, Any, List, Optional, Union
|
|
20
20
|
|
|
21
|
-
from truefoundry.ml.autogen.client.models.
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
from truefoundry.ml.autogen.client.models.external_blob_storage_source import (
|
|
22
|
+
ExternalBlobStorageSource,
|
|
23
|
+
)
|
|
24
|
+
from truefoundry.ml.autogen.client.models.local_model_source import LocalModelSource
|
|
25
|
+
from truefoundry.ml.autogen.client.models.true_foundry_managed_source import (
|
|
26
|
+
TrueFoundryManagedSource,
|
|
27
|
+
)
|
|
24
28
|
from truefoundry.pydantic_v1 import (
|
|
25
29
|
BaseModel,
|
|
26
30
|
Field,
|
|
@@ -28,27 +32,31 @@ from truefoundry.pydantic_v1 import (
|
|
|
28
32
|
validator,
|
|
29
33
|
)
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
SOURCE2_ANY_OF_SCHEMAS = [
|
|
36
|
+
"ExternalBlobStorageSource",
|
|
37
|
+
"LocalModelSource",
|
|
38
|
+
"TrueFoundryManagedSource",
|
|
39
|
+
]
|
|
32
40
|
|
|
33
41
|
|
|
34
|
-
class
|
|
42
|
+
class Source2(BaseModel):
|
|
35
43
|
"""
|
|
36
|
-
|
|
44
|
+
+label=Model Source +uiType=Group
|
|
37
45
|
"""
|
|
38
46
|
|
|
39
|
-
# data type:
|
|
40
|
-
anyof_schema_1_validator: Optional[
|
|
41
|
-
# data type:
|
|
42
|
-
anyof_schema_2_validator: Optional[
|
|
43
|
-
# data type:
|
|
44
|
-
anyof_schema_3_validator: Optional[
|
|
45
|
-
# data type: object
|
|
46
|
-
anyof_schema_4_validator: Optional[Dict[str, Any]] = None
|
|
47
|
+
# data type: TrueFoundryManagedSource
|
|
48
|
+
anyof_schema_1_validator: Optional[TrueFoundryManagedSource] = None
|
|
49
|
+
# data type: ExternalBlobStorageSource
|
|
50
|
+
anyof_schema_2_validator: Optional[ExternalBlobStorageSource] = None
|
|
51
|
+
# data type: LocalModelSource
|
|
52
|
+
anyof_schema_3_validator: Optional[LocalModelSource] = None
|
|
47
53
|
if TYPE_CHECKING:
|
|
48
|
-
actual_instance: Union[
|
|
54
|
+
actual_instance: Union[
|
|
55
|
+
ExternalBlobStorageSource, LocalModelSource, TrueFoundryManagedSource
|
|
56
|
+
]
|
|
49
57
|
else:
|
|
50
58
|
actual_instance: Any
|
|
51
|
-
any_of_schemas: List[str] = Field(
|
|
59
|
+
any_of_schemas: List[str] = Field(SOURCE2_ANY_OF_SCHEMAS, const=True)
|
|
52
60
|
|
|
53
61
|
class Config:
|
|
54
62
|
validate_assignment = True
|
|
@@ -69,76 +77,65 @@ class InternalMetadata(BaseModel):
|
|
|
69
77
|
|
|
70
78
|
@validator("actual_instance")
|
|
71
79
|
def actual_instance_must_validate_anyof(cls, v):
|
|
72
|
-
instance =
|
|
80
|
+
instance = Source2.construct()
|
|
73
81
|
error_messages = []
|
|
74
|
-
# validate data type:
|
|
75
|
-
if not isinstance(v,
|
|
76
|
-
error_messages.append(
|
|
82
|
+
# validate data type: TrueFoundryManagedSource
|
|
83
|
+
if not isinstance(v, TrueFoundryManagedSource):
|
|
84
|
+
error_messages.append(
|
|
85
|
+
f"Error! Input type `{type(v)}` is not `TrueFoundryManagedSource`"
|
|
86
|
+
)
|
|
77
87
|
else:
|
|
78
88
|
return v
|
|
79
89
|
|
|
80
|
-
# validate data type:
|
|
81
|
-
if not isinstance(v,
|
|
90
|
+
# validate data type: ExternalBlobStorageSource
|
|
91
|
+
if not isinstance(v, ExternalBlobStorageSource):
|
|
82
92
|
error_messages.append(
|
|
83
|
-
f"Error! Input type `{type(v)}` is not `
|
|
93
|
+
f"Error! Input type `{type(v)}` is not `ExternalBlobStorageSource`"
|
|
84
94
|
)
|
|
85
95
|
else:
|
|
86
96
|
return v
|
|
87
97
|
|
|
88
|
-
# validate data type:
|
|
89
|
-
if not isinstance(v,
|
|
90
|
-
error_messages.append(
|
|
98
|
+
# validate data type: LocalModelSource
|
|
99
|
+
if not isinstance(v, LocalModelSource):
|
|
100
|
+
error_messages.append(
|
|
101
|
+
f"Error! Input type `{type(v)}` is not `LocalModelSource`"
|
|
102
|
+
)
|
|
91
103
|
else:
|
|
92
104
|
return v
|
|
93
105
|
|
|
94
|
-
# validate data type: object
|
|
95
|
-
try:
|
|
96
|
-
instance.anyof_schema_4_validator = v
|
|
97
|
-
return v
|
|
98
|
-
except (ValidationError, ValueError) as e:
|
|
99
|
-
error_messages.append(str(e))
|
|
100
106
|
if error_messages:
|
|
101
107
|
# no match
|
|
102
108
|
raise ValueError(
|
|
103
|
-
"No match found when setting the actual_instance in
|
|
109
|
+
"No match found when setting the actual_instance in Source2 with anyOf schemas: ExternalBlobStorageSource, LocalModelSource, TrueFoundryManagedSource. Details: "
|
|
104
110
|
+ ", ".join(error_messages)
|
|
105
111
|
)
|
|
106
112
|
else:
|
|
107
113
|
return v
|
|
108
114
|
|
|
109
115
|
@classmethod
|
|
110
|
-
def from_dict(cls, obj: dict) ->
|
|
116
|
+
def from_dict(cls, obj: dict) -> Source2:
|
|
111
117
|
return cls.from_json(json.dumps(obj))
|
|
112
118
|
|
|
113
119
|
@classmethod
|
|
114
|
-
def from_json(cls, json_str: str) ->
|
|
120
|
+
def from_json(cls, json_str: str) -> Source2:
|
|
115
121
|
"""Returns the object represented by the json string"""
|
|
116
|
-
instance =
|
|
122
|
+
instance = Source2.construct()
|
|
117
123
|
error_messages = []
|
|
118
|
-
# anyof_schema_1_validator: Optional[
|
|
119
|
-
try:
|
|
120
|
-
instance.actual_instance = ChatPrompt.from_json(json_str)
|
|
121
|
-
return instance
|
|
122
|
-
except (ValidationError, ValueError) as e:
|
|
123
|
-
error_messages.append(str(e))
|
|
124
|
-
# anyof_schema_2_validator: Optional[AgentOpenAPITool] = None
|
|
124
|
+
# anyof_schema_1_validator: Optional[TrueFoundryManagedSource] = None
|
|
125
125
|
try:
|
|
126
|
-
instance.actual_instance =
|
|
126
|
+
instance.actual_instance = TrueFoundryManagedSource.from_json(json_str)
|
|
127
127
|
return instance
|
|
128
128
|
except (ValidationError, ValueError) as e:
|
|
129
129
|
error_messages.append(str(e))
|
|
130
|
-
#
|
|
130
|
+
# anyof_schema_2_validator: Optional[ExternalBlobStorageSource] = None
|
|
131
131
|
try:
|
|
132
|
-
instance.actual_instance =
|
|
132
|
+
instance.actual_instance = ExternalBlobStorageSource.from_json(json_str)
|
|
133
133
|
return instance
|
|
134
134
|
except (ValidationError, ValueError) as e:
|
|
135
135
|
error_messages.append(str(e))
|
|
136
|
-
#
|
|
136
|
+
# anyof_schema_3_validator: Optional[LocalModelSource] = None
|
|
137
137
|
try:
|
|
138
|
-
|
|
139
|
-
instance.anyof_schema_4_validator = json.loads(json_str)
|
|
140
|
-
# assign value to actual_instance
|
|
141
|
-
instance.actual_instance = instance.anyof_schema_4_validator
|
|
138
|
+
instance.actual_instance = LocalModelSource.from_json(json_str)
|
|
142
139
|
return instance
|
|
143
140
|
except (ValidationError, ValueError) as e:
|
|
144
141
|
error_messages.append(str(e))
|
|
@@ -146,7 +143,7 @@ class InternalMetadata(BaseModel):
|
|
|
146
143
|
if error_messages:
|
|
147
144
|
# no match
|
|
148
145
|
raise ValueError(
|
|
149
|
-
"No match found when deserializing the JSON string into
|
|
146
|
+
"No match found when deserializing the JSON string into Source2 with anyOf schemas: ExternalBlobStorageSource, LocalModelSource, TrueFoundryManagedSource. Details: "
|
|
150
147
|
+ ", ".join(error_messages)
|
|
151
148
|
)
|
|
152
149
|
else:
|
|
@@ -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.
|
|
@@ -22,7 +22,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
22
22
|
|
|
23
23
|
class SpaCyFramework(BaseModel):
|
|
24
24
|
"""
|
|
25
|
-
+
|
|
25
|
+
+label=SpaCy +icon=spacy # noqa: E501
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
type: StrictStr = Field(
|
|
@@ -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.
|
|
@@ -22,7 +22,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
22
22
|
|
|
23
23
|
class StatsModelsFramework(BaseModel):
|
|
24
24
|
"""
|
|
25
|
-
+
|
|
25
|
+
+label=StatsModels +icon=statsmodel # noqa: E501
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
type: StrictStr = Field(
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -24,10 +24,13 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
24
24
|
|
|
25
25
|
class SystemMessage(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
+
|
|
27
|
+
+label=System Message +usage=System message for the chat # noqa: E501
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
|
-
role: StrictStr = Field(
|
|
30
|
+
role: StrictStr = Field(
|
|
31
|
+
default=...,
|
|
32
|
+
description="+value=system +label=Role +usage=Role of the message +uiType=Ignore",
|
|
33
|
+
)
|
|
31
34
|
content: Content1 = Field(...)
|
|
32
35
|
name: Optional[StrictStr] = Field(
|
|
33
36
|
default=None, description="+label=Name +usage=Name of the system"
|
|
@@ -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.
|
|
@@ -22,7 +22,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
22
22
|
|
|
23
23
|
class TensorFlowFramework(BaseModel):
|
|
24
24
|
"""
|
|
25
|
-
+
|
|
25
|
+
+label=Tensorflow +icon=tensorflow # noqa: E501
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
type: StrictStr = Field(
|
|
@@ -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.
|
|
@@ -34,7 +34,7 @@ TEXT_ANY_OF_SCHEMAS = ["BlobStorageReference", "str"]
|
|
|
34
34
|
|
|
35
35
|
class Text(BaseModel):
|
|
36
36
|
"""
|
|
37
|
-
Text
|
|
37
|
+
+label=Text +usage=Text content for the message
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
# data type: str
|
|
@@ -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.
|
|
@@ -23,10 +23,12 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
23
23
|
|
|
24
24
|
class TextContentPart(BaseModel):
|
|
25
25
|
"""
|
|
26
|
-
+
|
|
26
|
+
+label=Text Content +usage=Text content for the message # noqa: E501
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
|
-
type: StrictStr = Field(
|
|
29
|
+
type: StrictStr = Field(
|
|
30
|
+
default=..., description="+value=text +usage=Type of the content part"
|
|
31
|
+
)
|
|
30
32
|
text: Text = Field(...)
|
|
31
33
|
__properties = ["type", "text"]
|
|
32
34
|
|
|
@@ -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.
|
|
@@ -24,7 +24,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
24
24
|
|
|
25
25
|
class TransformersFramework(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
+
|
|
27
|
+
+label=Transformers +icon=transformers # noqa: E501
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
type: StrictStr = Field(
|
|
@@ -37,11 +37,11 @@ class TransformersFramework(BaseModel):
|
|
|
37
37
|
)
|
|
38
38
|
pipeline_tag: Optional[StrictStr] = Field(
|
|
39
39
|
default=None,
|
|
40
|
-
description=
|
|
40
|
+
description='+label=Pipeline Tag +usage=The `pipeline()` task this model can be used with e.g. `text-generation`. See [huggingface docs](https://huggingface.co/docs/transformers/main/en/main_classes/pipelines#transformers.pipeline.task) for all possible values +uiProps={"descriptionInline":true}',
|
|
41
41
|
)
|
|
42
42
|
base_model: Optional[StrictStr] = Field(
|
|
43
43
|
default=None,
|
|
44
|
-
description=
|
|
44
|
+
description='+label=Base Model +usage=Base model Id from HuggingFace Hub. If this is a finetuned model, this points to the base model id used for finetuning. +uiProps={"descriptionInline":true}',
|
|
45
45
|
)
|
|
46
46
|
__properties = ["type", "library_name", "pipeline_tag", "base_model"]
|
|
47
47
|
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -23,7 +23,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
|
23
23
|
|
|
24
24
|
class TrueFoundryManagedSource(BaseModel):
|
|
25
25
|
"""
|
|
26
|
-
+
|
|
26
|
+
+label=TrueFoundry Managed Source # noqa: E501
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
type: StrictStr = Field(
|