truefoundry 0.5.10rc1__py3-none-any.whl → 0.5.11rc1__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/__init__.py +19 -0
- truefoundry/_client.py +36 -0
- truefoundry/cli/display_util.py +1 -1
- truefoundry/common/utils.py +9 -0
- truefoundry/deploy/__init__.py +2 -2
- truefoundry/deploy/_autogen/models.py +1591 -0
- truefoundry/deploy/builder/__init__.py +1 -1
- truefoundry/deploy/builder/builders/dockerfile.py +1 -1
- truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +1 -1
- truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +1 -1
- truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.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 +117 -138
- 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/deploy/v2/lib/deploy.py +7 -7
- truefoundry/deploy/v2/lib/deploy_workflow.py +9 -9
- truefoundry/deploy/v2/lib/deployable_patched_models.py +1 -1
- truefoundry/deploy/v2/lib/patched_models.py +7 -7
- truefoundry/deploy/v2/lib/source.py +1 -1
- truefoundry/ml/__init__.py +2 -2
- truefoundry/ml/_autogen/client/__init__.py +457 -0
- truefoundry/ml/_autogen/client/api/__init__.py +16 -0
- truefoundry/ml/{autogen → _autogen}/client/api/auth_api.py +6 -6
- truefoundry/ml/{autogen → _autogen}/client/api/deprecated_api.py +12 -345
- truefoundry/ml/{autogen → _autogen}/client/api/experiments_api.py +89 -44
- truefoundry/ml/{autogen → _autogen}/client/api/generate_code_snippet_api.py +10 -10
- truefoundry/ml/{autogen → _autogen}/client/api/health_api.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/api/metrics_api.py +10 -10
- truefoundry/ml/{autogen → _autogen}/client/api/mlfoundry_artifacts_api.py +589 -197
- truefoundry/ml/{autogen → _autogen}/client/api/run_artifacts_api.py +14 -9
- truefoundry/ml/{autogen → _autogen}/client/api/runs_api.py +41 -41
- truefoundry/ml/{autogen → _autogen}/client/api_client.py +8 -8
- truefoundry/ml/{autogen → _autogen}/client/configuration.py +30 -58
- truefoundry/ml/{autogen → _autogen}/client/exceptions.py +2 -2
- truefoundry/ml/_autogen/client/models/__init__.py +428 -0
- truefoundry/ml/{autogen → _autogen}/client/models/agent_app.py +14 -7
- truefoundry/ml/{autogen/client/models/agent.py → _autogen/client/models/agent_manifest.py} +37 -35
- truefoundry/ml/{autogen/client/models/agent_open_api_tool.py → _autogen/client/models/agent_open_api_tool_manifest.py} +50 -37
- truefoundry/ml/{autogen → _autogen}/client/models/agent_open_api_tool_with_fqn.py +45 -32
- truefoundry/ml/{autogen → _autogen}/client/models/agent_with_fqn.py +32 -30
- truefoundry/ml/_autogen/client/models/apply_request_dto.py +75 -0
- truefoundry/ml/_autogen/client/models/apply_response_dto.py +79 -0
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_dto.py +7 -5
- truefoundry/ml/{autogen/client/models/artifact_version_manifest.py → _autogen/client/models/artifact_manifest.py} +39 -31
- truefoundry/ml/_autogen/client/models/artifact_path.py +70 -0
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_type.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_version_dto.py +10 -18
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_version_response_dto.py +5 -3
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_version_serialization_format.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/artifact_version_status.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/assistant_message.py +6 -6
- truefoundry/ml/{autogen → _autogen}/client/models/authorize_user_for_model_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/authorize_user_for_model_version_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/blob_storage_reference.py +6 -9
- truefoundry/ml/{autogen → _autogen}/client/models/body_get_search_runs_get.py +2 -2
- truefoundry/ml/{autogen/client/models/chat_prompt.py → _autogen/client/models/chat_prompt_manifest.py} +39 -37
- truefoundry/ml/{autogen/client/models/chat_prompt_messages_inner.py → _autogen/client/models/chat_prompt_manifest_messages_inner.py} +15 -15
- truefoundry/ml/{autogen → _autogen}/client/models/columns_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/command.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/content.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/content1.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/content2.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/models/content2_any_of_inner.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/create_artifact_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_artifact_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_artifact_version_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_artifact_version_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_dataset_request_dto.py +21 -5
- truefoundry/ml/{autogen → _autogen}/client/models/create_experiment_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_experiment_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_model_version_request_dto.py +4 -12
- truefoundry/ml/{autogen → _autogen}/client/models/create_multi_part_upload_for_dataset_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_multi_part_upload_for_dataset_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_multi_part_upload_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_python_deployment_config_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_python_deployment_config_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/create_run_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_run_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/create_workflow_task_config_request_dto.py +2 -2
- truefoundry/ml/_autogen/client/models/data_directory_manifest.py +124 -0
- truefoundry/ml/{autogen → _autogen}/client/models/dataset_dto.py +15 -4
- truefoundry/ml/{autogen → _autogen}/client/models/dataset_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/delete_artifact_versions_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/delete_dataset_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/delete_files_for_dataset_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/delete_model_version_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/delete_run_request.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/delete_tag_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/experiment_dto.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/models/experiment_id_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/experiment_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/experiment_tag_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/export_deployment_files_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/external_blob_storage_source.py +17 -9
- truefoundry/ml/{autogen → _autogen}/client/models/fast_ai_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/file_info_dto.py +6 -3
- truefoundry/ml/{autogen → _autogen}/client/models/finalize_artifact_version_request_dto.py +7 -15
- truefoundry/ml/{autogen → _autogen}/client/models/framework.py +17 -17
- truefoundry/ml/{autogen → _autogen}/client/models/get_artifact_version_aliases_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/get_experiment_response_dto.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/get_latest_run_log_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_metric_history_response.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_url_for_dataset_write_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_dataset_read_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_dataset_read_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_signed_urls_for_dataset_write_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/get_tenant_id_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/gluon_framework.py +4 -6
- truefoundry/ml/{autogen → _autogen}/client/models/h2_o_framework.py +4 -6
- truefoundry/ml/{autogen → _autogen}/client/models/http_validation_error.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/image_content_part.py +6 -7
- truefoundry/ml/{autogen → _autogen}/client/models/image_url.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/infer_method_name.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/keras_framework.py +4 -6
- truefoundry/ml/{autogen → _autogen}/client/models/latest_run_log_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/library_name.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/light_gbm_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/list_artifact_versions_request_dto.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/list_artifact_versions_response_dto.py +5 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_artifacts_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_artifacts_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_colums_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_datasets_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/list_datasets_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_experiments_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_files_for_artifact_version_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/list_files_for_artifact_versions_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_files_for_dataset_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/list_files_for_dataset_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_latest_run_logs_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_metric_history_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/list_metric_history_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_model_version_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_model_versions_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_models_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/list_models_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_run_artifacts_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/list_run_logs_response_dto.py +3 -3
- truefoundry/ml/_autogen/client/models/local_artifact_source.py +91 -0
- truefoundry/ml/_autogen/client/models/local_model_source.py +77 -0
- truefoundry/ml/{autogen → _autogen}/client/models/log_batch_request_dto.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/models/log_metric_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/log_param_request_dto.py +2 -2
- truefoundry/ml/_autogen/client/models/manifest.py +229 -0
- truefoundry/ml/_autogen/client/models/manifest1.py +217 -0
- truefoundry/ml/{autogen/client/models/internal_metadata.py → _autogen/client/models/manifest2.py} +68 -50
- truefoundry/ml/{autogen → _autogen}/client/models/method.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/metric_collection_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/metric_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/mime_type.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/model_configuration.py +8 -9
- truefoundry/ml/{autogen → _autogen}/client/models/model_dto.py +6 -6
- truefoundry/ml/{autogen/client/models/model_version_manifest.py → _autogen/client/models/model_manifest.py} +43 -35
- truefoundry/ml/{autogen → _autogen}/client/models/model_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/model_server.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/model_version_dto.py +9 -11
- truefoundry/ml/{autogen → _autogen}/client/models/model_version_environment.py +5 -7
- truefoundry/ml/{autogen → _autogen}/client/models/model_version_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/multi_part_upload_dto.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/multi_part_upload_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/multi_part_upload_storage_provider.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/notify_artifact_version_failure_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/onnx_framework.py +4 -6
- truefoundry/ml/{autogen → _autogen}/client/models/openapi_spec.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/paddle_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/param_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/parameters.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/py_torch_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/resolve_agent_app_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/restore_run_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/run_data_dto.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/models/run_dto.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/run_info_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/run_log_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/run_log_input_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/run_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/run_tag_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/search_runs_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/search_runs_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/set_experiment_tag_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/set_tag_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/signed_url_dto.py +3 -4
- truefoundry/ml/{autogen → _autogen}/client/models/sklearn_framework.py +9 -10
- truefoundry/ml/{autogen → _autogen}/client/models/sklearn_model_schema.py +7 -8
- truefoundry/ml/{autogen → _autogen}/client/models/sklearn_serialization_format.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/source.py +34 -9
- truefoundry/ml/{autogen → _autogen}/client/models/source1.py +5 -5
- truefoundry/ml/_autogen/client/models/source2.py +177 -0
- truefoundry/ml/{autogen → _autogen}/client/models/spa_cy_framework.py +4 -6
- truefoundry/ml/{autogen → _autogen}/client/models/stats_models_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/stop.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/store_run_logs_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/subject.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/subject_type.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/system_message.py +6 -8
- truefoundry/ml/{autogen → _autogen}/client/models/tensor_flow_framework.py +4 -7
- truefoundry/ml/{autogen → _autogen}/client/models/text.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/text_content_part.py +5 -5
- truefoundry/ml/{autogen → _autogen}/client/models/transformers_framework.py +8 -12
- truefoundry/ml/{autogen → _autogen}/client/models/trigger_job_run_config_request_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/trigger_job_run_config_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/true_foundry_managed_source.py +18 -12
- truefoundry/ml/{autogen → _autogen}/client/models/update_artifact_version_request_dto.py +5 -7
- truefoundry/ml/{autogen → _autogen}/client/models/update_dataset_request_dto.py +13 -3
- truefoundry/ml/{autogen → _autogen}/client/models/update_experiment_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/update_model_version_request_dto.py +5 -7
- truefoundry/ml/{autogen → _autogen}/client/models/update_run_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/update_run_response_dto.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/url.py +4 -4
- truefoundry/ml/{autogen → _autogen}/client/models/user_message.py +6 -6
- truefoundry/ml/{autogen → _autogen}/client/models/validate_external_storage_root_request_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/validate_external_storage_root_response_dto.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/validation_error.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/models/validation_error_loc_inner.py +2 -2
- truefoundry/ml/{autogen → _autogen}/client/models/xg_boost_framework.py +7 -10
- truefoundry/ml/{autogen → _autogen}/client/models/xg_boost_model_schema.py +6 -7
- truefoundry/ml/{autogen → _autogen}/client/models/xg_boost_serialization_format.py +3 -3
- truefoundry/ml/{autogen → _autogen}/client/rest.py +3 -3
- truefoundry/ml/_autogen/client_README.md +359 -0
- truefoundry/ml/_autogen/entities/artifacts.py +558 -0
- truefoundry/ml/artifact/truefoundry_artifact_repo.py +1 -1
- truefoundry/ml/cli/commands/model_init.py +1 -1
- truefoundry/ml/clients/servicefoundry_client.py +7 -2
- truefoundry/ml/entities.py +1 -1
- truefoundry/ml/log_types/artifacts/artifact.py +22 -85
- truefoundry/ml/log_types/artifacts/dataset.py +5 -5
- truefoundry/ml/log_types/artifacts/general_artifact.py +1 -1
- truefoundry/ml/log_types/artifacts/model.py +12 -13
- truefoundry/ml/log_types/artifacts/utils.py +18 -2
- truefoundry/ml/log_types/image/image.py +1 -1
- truefoundry/ml/log_types/plot.py +1 -1
- truefoundry/ml/mlfoundry_api.py +2 -42
- truefoundry/ml/mlfoundry_run.py +1 -1
- truefoundry/ml/model_framework.py +3 -3
- truefoundry/ml/session.py +7 -4
- truefoundry/ml/validation_utils.py +1 -1
- truefoundry/workflow/map_task.py +5 -2
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.11rc1.dist-info}/METADATA +2 -1
- truefoundry-0.5.11rc1.dist-info/RECORD +377 -0
- truefoundry/deploy/auto_gen/models.py +0 -1915
- truefoundry/ml/autogen/client/__init__.py +0 -445
- truefoundry/ml/autogen/client/api/__init__.py +0 -16
- truefoundry/ml/autogen/client/models/__init__.py +0 -416
- truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -69
- truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -69
- truefoundry/ml/autogen/client/models/manifest.py +0 -154
- truefoundry/ml/autogen/client_README.md +0 -361
- truefoundry/ml/autogen/entities/artifacts.py +0 -670
- truefoundry-0.5.10rc1.dist-info/RECORD +0 -370
- /truefoundry/ml/{autogen → _autogen}/__init__.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/client/api_response.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/models/__init__.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/models/exceptions.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/models/schema.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/models/signature.py +0 -0
- /truefoundry/ml/{autogen → _autogen}/models/utils.py +0 -0
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.11rc1.dist-info}/WHEEL +0 -0
- {truefoundry-0.5.10rc1.dist-info → truefoundry-0.5.11rc1.dist-info}/entry_points.txt +0 -0
|
@@ -1,179 +1,184 @@
|
|
|
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
|
-
from truefoundry.ml.
|
|
18
|
-
from truefoundry.ml.
|
|
19
|
-
from truefoundry.ml.
|
|
18
|
+
from truefoundry.ml._autogen.client.api_client import ApiClient
|
|
19
|
+
from truefoundry.ml._autogen.client.api_response import ApiResponse
|
|
20
|
+
from truefoundry.ml._autogen.client.exceptions import ( # noqa: F401
|
|
20
21
|
ApiTypeError,
|
|
21
22
|
ApiValueError,
|
|
22
23
|
)
|
|
23
|
-
from truefoundry.ml.
|
|
24
|
+
from truefoundry.ml._autogen.client.models.apply_request_dto import ApplyRequestDto
|
|
25
|
+
from truefoundry.ml._autogen.client.models.apply_response_dto import ApplyResponseDto
|
|
26
|
+
from truefoundry.ml._autogen.client.models.artifact_response_dto import (
|
|
24
27
|
ArtifactResponseDto,
|
|
25
28
|
)
|
|
26
|
-
from truefoundry.ml.
|
|
27
|
-
from truefoundry.ml.
|
|
29
|
+
from truefoundry.ml._autogen.client.models.artifact_type import ArtifactType
|
|
30
|
+
from truefoundry.ml._autogen.client.models.artifact_version_response_dto import (
|
|
28
31
|
ArtifactVersionResponseDto,
|
|
29
32
|
)
|
|
30
|
-
from truefoundry.ml.
|
|
33
|
+
from truefoundry.ml._autogen.client.models.authorize_user_for_model_request_dto import (
|
|
31
34
|
AuthorizeUserForModelRequestDto,
|
|
32
35
|
)
|
|
33
|
-
from truefoundry.ml.
|
|
36
|
+
from truefoundry.ml._autogen.client.models.authorize_user_for_model_version_request_dto import (
|
|
34
37
|
AuthorizeUserForModelVersionRequestDto,
|
|
35
38
|
)
|
|
36
|
-
from truefoundry.ml.
|
|
39
|
+
from truefoundry.ml._autogen.client.models.create_artifact_request_dto import (
|
|
37
40
|
CreateArtifactRequestDto,
|
|
38
41
|
)
|
|
39
|
-
from truefoundry.ml.
|
|
42
|
+
from truefoundry.ml._autogen.client.models.create_artifact_response_dto import (
|
|
40
43
|
CreateArtifactResponseDto,
|
|
41
44
|
)
|
|
42
|
-
from truefoundry.ml.
|
|
45
|
+
from truefoundry.ml._autogen.client.models.create_artifact_version_request_dto import (
|
|
43
46
|
CreateArtifactVersionRequestDto,
|
|
44
47
|
)
|
|
45
|
-
from truefoundry.ml.
|
|
48
|
+
from truefoundry.ml._autogen.client.models.create_artifact_version_response_dto import (
|
|
46
49
|
CreateArtifactVersionResponseDto,
|
|
47
50
|
)
|
|
48
|
-
from truefoundry.ml.
|
|
51
|
+
from truefoundry.ml._autogen.client.models.create_dataset_request_dto import (
|
|
49
52
|
CreateDatasetRequestDto,
|
|
50
53
|
)
|
|
51
|
-
from truefoundry.ml.
|
|
54
|
+
from truefoundry.ml._autogen.client.models.create_model_version_request_dto import (
|
|
52
55
|
CreateModelVersionRequestDto,
|
|
53
56
|
)
|
|
54
|
-
from truefoundry.ml.
|
|
57
|
+
from truefoundry.ml._autogen.client.models.create_multi_part_upload_for_dataset_request_dto import (
|
|
55
58
|
CreateMultiPartUploadForDatasetRequestDto,
|
|
56
59
|
)
|
|
57
|
-
from truefoundry.ml.
|
|
60
|
+
from truefoundry.ml._autogen.client.models.create_multi_part_upload_for_dataset_response_dto import (
|
|
58
61
|
CreateMultiPartUploadForDatasetResponseDto,
|
|
59
62
|
)
|
|
60
|
-
from truefoundry.ml.
|
|
63
|
+
from truefoundry.ml._autogen.client.models.create_multi_part_upload_request_dto import (
|
|
61
64
|
CreateMultiPartUploadRequestDto,
|
|
62
65
|
)
|
|
63
|
-
from truefoundry.ml.
|
|
64
|
-
|
|
66
|
+
from truefoundry.ml._autogen.client.models.dataset_response_dto import (
|
|
67
|
+
DatasetResponseDto,
|
|
68
|
+
)
|
|
69
|
+
from truefoundry.ml._autogen.client.models.delete_artifact_versions_request_dto import (
|
|
65
70
|
DeleteArtifactVersionsRequestDto,
|
|
66
71
|
)
|
|
67
|
-
from truefoundry.ml.
|
|
72
|
+
from truefoundry.ml._autogen.client.models.delete_dataset_request_dto import (
|
|
68
73
|
DeleteDatasetRequestDto,
|
|
69
74
|
)
|
|
70
|
-
from truefoundry.ml.
|
|
75
|
+
from truefoundry.ml._autogen.client.models.delete_files_for_dataset_request_dto import (
|
|
71
76
|
DeleteFilesForDatasetRequestDto,
|
|
72
77
|
)
|
|
73
|
-
from truefoundry.ml.
|
|
78
|
+
from truefoundry.ml._autogen.client.models.delete_model_version_request_dto import (
|
|
74
79
|
DeleteModelVersionRequestDto,
|
|
75
80
|
)
|
|
76
|
-
from truefoundry.ml.
|
|
81
|
+
from truefoundry.ml._autogen.client.models.export_deployment_files_request_dto import (
|
|
77
82
|
ExportDeploymentFilesRequestDto,
|
|
78
83
|
)
|
|
79
|
-
from truefoundry.ml.
|
|
84
|
+
from truefoundry.ml._autogen.client.models.finalize_artifact_version_request_dto import (
|
|
80
85
|
FinalizeArtifactVersionRequestDto,
|
|
81
86
|
)
|
|
82
|
-
from truefoundry.ml.
|
|
87
|
+
from truefoundry.ml._autogen.client.models.get_artifact_version_aliases_response_dto import (
|
|
83
88
|
GetArtifactVersionAliasesResponseDto,
|
|
84
89
|
)
|
|
85
|
-
from truefoundry.ml.
|
|
90
|
+
from truefoundry.ml._autogen.client.models.get_signed_url_for_dataset_write_request_dto import (
|
|
86
91
|
GetSignedURLForDatasetWriteRequestDto,
|
|
87
92
|
)
|
|
88
|
-
from truefoundry.ml.
|
|
93
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_artifact_version_read_request_dto import (
|
|
89
94
|
GetSignedURLsForArtifactVersionReadRequestDto,
|
|
90
95
|
)
|
|
91
|
-
from truefoundry.ml.
|
|
96
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_artifact_version_read_response_dto import (
|
|
92
97
|
GetSignedURLsForArtifactVersionReadResponseDto,
|
|
93
98
|
)
|
|
94
|
-
from truefoundry.ml.
|
|
99
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_artifact_version_write_request_dto import (
|
|
95
100
|
GetSignedURLsForArtifactVersionWriteRequestDto,
|
|
96
101
|
)
|
|
97
|
-
from truefoundry.ml.
|
|
102
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_artifact_version_write_response_dto import (
|
|
98
103
|
GetSignedURLsForArtifactVersionWriteResponseDto,
|
|
99
104
|
)
|
|
100
|
-
from truefoundry.ml.
|
|
105
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_dataset_read_request_dto import (
|
|
101
106
|
GetSignedURLsForDatasetReadRequestDto,
|
|
102
107
|
)
|
|
103
|
-
from truefoundry.ml.
|
|
108
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_dataset_read_response_dto import (
|
|
104
109
|
GetSignedURLsForDatasetReadResponseDto,
|
|
105
110
|
)
|
|
106
|
-
from truefoundry.ml.
|
|
111
|
+
from truefoundry.ml._autogen.client.models.get_signed_urls_for_dataset_write_response_dto import (
|
|
107
112
|
GetSignedURLsForDatasetWriteResponseDto,
|
|
108
113
|
)
|
|
109
|
-
from truefoundry.ml.
|
|
114
|
+
from truefoundry.ml._autogen.client.models.list_artifact_versions_request_dto import (
|
|
110
115
|
ListArtifactVersionsRequestDto,
|
|
111
116
|
)
|
|
112
|
-
from truefoundry.ml.
|
|
117
|
+
from truefoundry.ml._autogen.client.models.list_artifact_versions_response_dto import (
|
|
113
118
|
ListArtifactVersionsResponseDto,
|
|
114
119
|
)
|
|
115
|
-
from truefoundry.ml.
|
|
120
|
+
from truefoundry.ml._autogen.client.models.list_artifacts_request_dto import (
|
|
116
121
|
ListArtifactsRequestDto,
|
|
117
122
|
)
|
|
118
|
-
from truefoundry.ml.
|
|
123
|
+
from truefoundry.ml._autogen.client.models.list_artifacts_response_dto import (
|
|
119
124
|
ListArtifactsResponseDto,
|
|
120
125
|
)
|
|
121
|
-
from truefoundry.ml.
|
|
126
|
+
from truefoundry.ml._autogen.client.models.list_datasets_request_dto import (
|
|
122
127
|
ListDatasetsRequestDto,
|
|
123
128
|
)
|
|
124
|
-
from truefoundry.ml.
|
|
129
|
+
from truefoundry.ml._autogen.client.models.list_datasets_response_dto import (
|
|
125
130
|
ListDatasetsResponseDto,
|
|
126
131
|
)
|
|
127
|
-
from truefoundry.ml.
|
|
132
|
+
from truefoundry.ml._autogen.client.models.list_files_for_artifact_version_request_dto import (
|
|
128
133
|
ListFilesForArtifactVersionRequestDto,
|
|
129
134
|
)
|
|
130
|
-
from truefoundry.ml.
|
|
135
|
+
from truefoundry.ml._autogen.client.models.list_files_for_artifact_versions_response_dto import (
|
|
131
136
|
ListFilesForArtifactVersionsResponseDto,
|
|
132
137
|
)
|
|
133
|
-
from truefoundry.ml.
|
|
138
|
+
from truefoundry.ml._autogen.client.models.list_files_for_dataset_request_dto import (
|
|
134
139
|
ListFilesForDatasetRequestDto,
|
|
135
140
|
)
|
|
136
|
-
from truefoundry.ml.
|
|
141
|
+
from truefoundry.ml._autogen.client.models.list_files_for_dataset_response_dto import (
|
|
137
142
|
ListFilesForDatasetResponseDto,
|
|
138
143
|
)
|
|
139
|
-
from truefoundry.ml.
|
|
144
|
+
from truefoundry.ml._autogen.client.models.list_model_version_response_dto import (
|
|
140
145
|
ListModelVersionResponseDto,
|
|
141
146
|
)
|
|
142
|
-
from truefoundry.ml.
|
|
147
|
+
from truefoundry.ml._autogen.client.models.list_model_versions_request_dto import (
|
|
143
148
|
ListModelVersionsRequestDto,
|
|
144
149
|
)
|
|
145
|
-
from truefoundry.ml.
|
|
150
|
+
from truefoundry.ml._autogen.client.models.list_models_request_dto import (
|
|
146
151
|
ListModelsRequestDto,
|
|
147
152
|
)
|
|
148
|
-
from truefoundry.ml.
|
|
153
|
+
from truefoundry.ml._autogen.client.models.list_models_response_dto import (
|
|
149
154
|
ListModelsResponseDto,
|
|
150
155
|
)
|
|
151
|
-
from truefoundry.ml.
|
|
152
|
-
from truefoundry.ml.
|
|
156
|
+
from truefoundry.ml._autogen.client.models.model_response_dto import ModelResponseDto
|
|
157
|
+
from truefoundry.ml._autogen.client.models.model_version_response_dto import (
|
|
153
158
|
ModelVersionResponseDto,
|
|
154
159
|
)
|
|
155
|
-
from truefoundry.ml.
|
|
160
|
+
from truefoundry.ml._autogen.client.models.multi_part_upload_response_dto import (
|
|
156
161
|
MultiPartUploadResponseDto,
|
|
157
162
|
)
|
|
158
|
-
from truefoundry.ml.
|
|
163
|
+
from truefoundry.ml._autogen.client.models.notify_artifact_version_failure_dto import (
|
|
159
164
|
NotifyArtifactVersionFailureDto,
|
|
160
165
|
)
|
|
161
|
-
from truefoundry.ml.
|
|
166
|
+
from truefoundry.ml._autogen.client.models.resolve_agent_app_response_dto import (
|
|
162
167
|
ResolveAgentAppResponseDto,
|
|
163
168
|
)
|
|
164
|
-
from truefoundry.ml.
|
|
169
|
+
from truefoundry.ml._autogen.client.models.update_artifact_version_request_dto import (
|
|
165
170
|
UpdateArtifactVersionRequestDto,
|
|
166
171
|
)
|
|
167
|
-
from truefoundry.ml.
|
|
172
|
+
from truefoundry.ml._autogen.client.models.update_dataset_request_dto import (
|
|
168
173
|
UpdateDatasetRequestDto,
|
|
169
174
|
)
|
|
170
|
-
from truefoundry.ml.
|
|
175
|
+
from truefoundry.ml._autogen.client.models.update_model_version_request_dto import (
|
|
171
176
|
UpdateModelVersionRequestDto,
|
|
172
177
|
)
|
|
173
|
-
from truefoundry.ml.
|
|
178
|
+
from truefoundry.ml._autogen.client.models.validate_external_storage_root_request_dto import (
|
|
174
179
|
ValidateExternalStorageRootRequestDto,
|
|
175
180
|
)
|
|
176
|
-
from truefoundry.ml.
|
|
181
|
+
from truefoundry.ml._autogen.client.models.validate_external_storage_root_response_dto import (
|
|
177
182
|
ValidateExternalStorageRootResponseDto,
|
|
178
183
|
)
|
|
179
184
|
from truefoundry.pydantic_v1 import (
|
|
@@ -195,13 +200,170 @@ class MlfoundryArtifactsApi:
|
|
|
195
200
|
api_client = ApiClient.get_default()
|
|
196
201
|
self.api_client = api_client
|
|
197
202
|
|
|
203
|
+
@validate_arguments
|
|
204
|
+
def apply_manifest_put(
|
|
205
|
+
self, apply_request_dto: ApplyRequestDto, **kwargs
|
|
206
|
+
) -> ApplyResponseDto: # noqa: E501
|
|
207
|
+
"""(Deprecated) Apply Manifest # noqa: E501
|
|
208
|
+
|
|
209
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
210
|
+
asynchronous HTTP request, please pass async_req=True
|
|
211
|
+
|
|
212
|
+
>>> thread = api.apply_manifest_put(apply_request_dto, async_req=True)
|
|
213
|
+
>>> result = thread.get()
|
|
214
|
+
|
|
215
|
+
:param apply_request_dto: (required)
|
|
216
|
+
:type apply_request_dto: ApplyRequestDto
|
|
217
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
218
|
+
:type async_req: bool, optional
|
|
219
|
+
:param _request_timeout: timeout setting for this request.
|
|
220
|
+
If one number provided, it will be total request
|
|
221
|
+
timeout. It can also be a pair (tuple) of
|
|
222
|
+
(connection, read) timeouts.
|
|
223
|
+
:return: Returns the result object.
|
|
224
|
+
If the method is called asynchronously,
|
|
225
|
+
returns the request thread.
|
|
226
|
+
:rtype: ApplyResponseDto
|
|
227
|
+
"""
|
|
228
|
+
kwargs["_return_http_data_only"] = True
|
|
229
|
+
if "_preload_content" in kwargs:
|
|
230
|
+
message = "Error! Please call the apply_manifest_put_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
231
|
+
raise ValueError(message)
|
|
232
|
+
return self.apply_manifest_put_with_http_info(apply_request_dto, **kwargs) # noqa: E501
|
|
233
|
+
|
|
234
|
+
@validate_arguments
|
|
235
|
+
def apply_manifest_put_with_http_info(
|
|
236
|
+
self, apply_request_dto: ApplyRequestDto, **kwargs
|
|
237
|
+
) -> ApiResponse: # noqa: E501
|
|
238
|
+
"""(Deprecated) Apply Manifest # noqa: E501
|
|
239
|
+
|
|
240
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
241
|
+
asynchronous HTTP request, please pass async_req=True
|
|
242
|
+
|
|
243
|
+
>>> thread = api.apply_manifest_put_with_http_info(apply_request_dto, async_req=True)
|
|
244
|
+
>>> result = thread.get()
|
|
245
|
+
|
|
246
|
+
:param apply_request_dto: (required)
|
|
247
|
+
:type apply_request_dto: ApplyRequestDto
|
|
248
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
249
|
+
:type async_req: bool, optional
|
|
250
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
251
|
+
be set to none and raw_data will store the
|
|
252
|
+
HTTP response body without reading/decoding.
|
|
253
|
+
Default is True.
|
|
254
|
+
:type _preload_content: bool, optional
|
|
255
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
256
|
+
object with status code, headers, etc
|
|
257
|
+
:type _return_http_data_only: bool, optional
|
|
258
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
259
|
+
number provided, it will be total request
|
|
260
|
+
timeout. It can also be a pair (tuple) of
|
|
261
|
+
(connection, read) timeouts.
|
|
262
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
263
|
+
request; this effectively ignores the authentication
|
|
264
|
+
in the spec for a single request.
|
|
265
|
+
:type _request_auth: dict, optional
|
|
266
|
+
:type _content_type: string, optional: force content-type for the request
|
|
267
|
+
:return: Returns the result object.
|
|
268
|
+
If the method is called asynchronously,
|
|
269
|
+
returns the request thread.
|
|
270
|
+
:rtype: tuple(ApplyResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
warnings.warn(
|
|
274
|
+
"PUT /api/2.0/mlflow/mlfoundry-artifacts/apply is deprecated.",
|
|
275
|
+
DeprecationWarning,
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
_params = locals()
|
|
279
|
+
|
|
280
|
+
_all_params = ["apply_request_dto"]
|
|
281
|
+
_all_params.extend(
|
|
282
|
+
[
|
|
283
|
+
"async_req",
|
|
284
|
+
"_return_http_data_only",
|
|
285
|
+
"_preload_content",
|
|
286
|
+
"_request_timeout",
|
|
287
|
+
"_request_auth",
|
|
288
|
+
"_content_type",
|
|
289
|
+
"_headers",
|
|
290
|
+
]
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
# validate the arguments
|
|
294
|
+
for _key, _val in _params["kwargs"].items():
|
|
295
|
+
if _key not in _all_params:
|
|
296
|
+
raise ApiTypeError(
|
|
297
|
+
"Got an unexpected keyword argument '%s'"
|
|
298
|
+
" to method apply_manifest_put" % _key
|
|
299
|
+
)
|
|
300
|
+
_params[_key] = _val
|
|
301
|
+
del _params["kwargs"]
|
|
302
|
+
|
|
303
|
+
_collection_formats = {}
|
|
304
|
+
|
|
305
|
+
# process the path parameters
|
|
306
|
+
_path_params = {}
|
|
307
|
+
|
|
308
|
+
# process the query parameters
|
|
309
|
+
_query_params = []
|
|
310
|
+
# process the header parameters
|
|
311
|
+
_header_params = dict(_params.get("_headers", {}))
|
|
312
|
+
# process the form parameters
|
|
313
|
+
_form_params = []
|
|
314
|
+
_files = {}
|
|
315
|
+
# process the body parameter
|
|
316
|
+
_body_params = None
|
|
317
|
+
if _params["apply_request_dto"] is not None:
|
|
318
|
+
_body_params = _params["apply_request_dto"]
|
|
319
|
+
|
|
320
|
+
# set the HTTP header `Accept`
|
|
321
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
322
|
+
["application/json"]
|
|
323
|
+
) # noqa: E501
|
|
324
|
+
|
|
325
|
+
# set the HTTP header `Content-Type`
|
|
326
|
+
_content_types_list = _params.get(
|
|
327
|
+
"_content_type",
|
|
328
|
+
self.api_client.select_header_content_type(["application/json"]),
|
|
329
|
+
)
|
|
330
|
+
if _content_types_list:
|
|
331
|
+
_header_params["Content-Type"] = _content_types_list
|
|
332
|
+
|
|
333
|
+
# authentication setting
|
|
334
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
335
|
+
|
|
336
|
+
_response_types_map = {
|
|
337
|
+
"200": "ApplyResponseDto",
|
|
338
|
+
"422": "HTTPValidationError",
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
return self.api_client.call_api(
|
|
342
|
+
"/api/2.0/mlflow/mlfoundry-artifacts/apply",
|
|
343
|
+
"PUT",
|
|
344
|
+
_path_params,
|
|
345
|
+
_query_params,
|
|
346
|
+
_header_params,
|
|
347
|
+
body=_body_params,
|
|
348
|
+
post_params=_form_params,
|
|
349
|
+
files=_files,
|
|
350
|
+
response_types_map=_response_types_map,
|
|
351
|
+
auth_settings=_auth_settings,
|
|
352
|
+
async_req=_params.get("async_req"),
|
|
353
|
+
_return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
|
|
354
|
+
_preload_content=_params.get("_preload_content", True),
|
|
355
|
+
_request_timeout=_params.get("_request_timeout"),
|
|
356
|
+
collection_formats=_collection_formats,
|
|
357
|
+
_request_auth=_params.get("_request_auth"),
|
|
358
|
+
)
|
|
359
|
+
|
|
198
360
|
@validate_arguments
|
|
199
361
|
def authorize_user_for_model_post(
|
|
200
362
|
self,
|
|
201
363
|
authorize_user_for_model_request_dto: AuthorizeUserForModelRequestDto,
|
|
202
364
|
**kwargs,
|
|
203
365
|
) -> object: # noqa: E501
|
|
204
|
-
"""Authorize User For Model # noqa: E501
|
|
366
|
+
"""(Deprecated) Authorize User For Model # noqa: E501
|
|
205
367
|
|
|
206
368
|
This method makes a synchronous HTTP request by default. To make an
|
|
207
369
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -236,7 +398,7 @@ class MlfoundryArtifactsApi:
|
|
|
236
398
|
authorize_user_for_model_request_dto: AuthorizeUserForModelRequestDto,
|
|
237
399
|
**kwargs,
|
|
238
400
|
) -> ApiResponse: # noqa: E501
|
|
239
|
-
"""Authorize User For Model # noqa: E501
|
|
401
|
+
"""(Deprecated) Authorize User For Model # noqa: E501
|
|
240
402
|
|
|
241
403
|
This method makes a synchronous HTTP request by default. To make an
|
|
242
404
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -271,6 +433,11 @@ class MlfoundryArtifactsApi:
|
|
|
271
433
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
272
434
|
"""
|
|
273
435
|
|
|
436
|
+
warnings.warn(
|
|
437
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/models/authorize is deprecated.",
|
|
438
|
+
DeprecationWarning,
|
|
439
|
+
)
|
|
440
|
+
|
|
274
441
|
_params = locals()
|
|
275
442
|
|
|
276
443
|
_all_params = ["authorize_user_for_model_request_dto"]
|
|
@@ -327,7 +494,7 @@ class MlfoundryArtifactsApi:
|
|
|
327
494
|
_header_params["Content-Type"] = _content_types_list
|
|
328
495
|
|
|
329
496
|
# authentication setting
|
|
330
|
-
_auth_settings = ["
|
|
497
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
331
498
|
|
|
332
499
|
_response_types_map = {
|
|
333
500
|
"200": "object",
|
|
@@ -359,7 +526,7 @@ class MlfoundryArtifactsApi:
|
|
|
359
526
|
authorize_user_for_model_version_request_dto: AuthorizeUserForModelVersionRequestDto,
|
|
360
527
|
**kwargs,
|
|
361
528
|
) -> object: # noqa: E501
|
|
362
|
-
"""Authorize User For Model Version # noqa: E501
|
|
529
|
+
"""(Deprecated) Authorize User For Model Version # noqa: E501
|
|
363
530
|
|
|
364
531
|
This method makes a synchronous HTTP request by default. To make an
|
|
365
532
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -394,7 +561,7 @@ class MlfoundryArtifactsApi:
|
|
|
394
561
|
authorize_user_for_model_version_request_dto: AuthorizeUserForModelVersionRequestDto,
|
|
395
562
|
**kwargs,
|
|
396
563
|
) -> ApiResponse: # noqa: E501
|
|
397
|
-
"""Authorize User For Model Version # noqa: E501
|
|
564
|
+
"""(Deprecated) Authorize User For Model Version # noqa: E501
|
|
398
565
|
|
|
399
566
|
This method makes a synchronous HTTP request by default. To make an
|
|
400
567
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -429,6 +596,11 @@ class MlfoundryArtifactsApi:
|
|
|
429
596
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
430
597
|
"""
|
|
431
598
|
|
|
599
|
+
warnings.warn(
|
|
600
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/authorize is deprecated.",
|
|
601
|
+
DeprecationWarning,
|
|
602
|
+
)
|
|
603
|
+
|
|
432
604
|
_params = locals()
|
|
433
605
|
|
|
434
606
|
_all_params = ["authorize_user_for_model_version_request_dto"]
|
|
@@ -485,7 +657,7 @@ class MlfoundryArtifactsApi:
|
|
|
485
657
|
_header_params["Content-Type"] = _content_types_list
|
|
486
658
|
|
|
487
659
|
# authentication setting
|
|
488
|
-
_auth_settings = ["
|
|
660
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
489
661
|
|
|
490
662
|
_response_types_map = {
|
|
491
663
|
"200": "object",
|
|
@@ -515,7 +687,7 @@ class MlfoundryArtifactsApi:
|
|
|
515
687
|
def create_artifact_post(
|
|
516
688
|
self, create_artifact_request_dto: CreateArtifactRequestDto, **kwargs
|
|
517
689
|
) -> CreateArtifactResponseDto: # noqa: E501
|
|
518
|
-
"""Create Artifact # noqa: E501
|
|
690
|
+
"""(Deprecated) Create Artifact # noqa: E501
|
|
519
691
|
|
|
520
692
|
This method makes a synchronous HTTP request by default. To make an
|
|
521
693
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -548,7 +720,7 @@ class MlfoundryArtifactsApi:
|
|
|
548
720
|
def create_artifact_post_with_http_info(
|
|
549
721
|
self, create_artifact_request_dto: CreateArtifactRequestDto, **kwargs
|
|
550
722
|
) -> ApiResponse: # noqa: E501
|
|
551
|
-
"""Create Artifact # noqa: E501
|
|
723
|
+
"""(Deprecated) Create Artifact # noqa: E501
|
|
552
724
|
|
|
553
725
|
This method makes a synchronous HTTP request by default. To make an
|
|
554
726
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -583,6 +755,11 @@ class MlfoundryArtifactsApi:
|
|
|
583
755
|
:rtype: tuple(CreateArtifactResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
584
756
|
"""
|
|
585
757
|
|
|
758
|
+
warnings.warn(
|
|
759
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifacts/create is deprecated.",
|
|
760
|
+
DeprecationWarning,
|
|
761
|
+
)
|
|
762
|
+
|
|
586
763
|
_params = locals()
|
|
587
764
|
|
|
588
765
|
_all_params = ["create_artifact_request_dto"]
|
|
@@ -639,7 +816,7 @@ class MlfoundryArtifactsApi:
|
|
|
639
816
|
_header_params["Content-Type"] = _content_types_list
|
|
640
817
|
|
|
641
818
|
# authentication setting
|
|
642
|
-
_auth_settings = ["
|
|
819
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
643
820
|
|
|
644
821
|
_response_types_map = {
|
|
645
822
|
"200": "CreateArtifactResponseDto",
|
|
@@ -671,7 +848,7 @@ class MlfoundryArtifactsApi:
|
|
|
671
848
|
create_artifact_version_request_dto: CreateArtifactVersionRequestDto,
|
|
672
849
|
**kwargs,
|
|
673
850
|
) -> CreateArtifactVersionResponseDto: # noqa: E501
|
|
674
|
-
"""Create Artifact Version # noqa: E501
|
|
851
|
+
"""(Deprecated) Create Artifact Version # noqa: E501
|
|
675
852
|
|
|
676
853
|
Create artifact version API # noqa: E501
|
|
677
854
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -707,7 +884,7 @@ class MlfoundryArtifactsApi:
|
|
|
707
884
|
create_artifact_version_request_dto: CreateArtifactVersionRequestDto,
|
|
708
885
|
**kwargs,
|
|
709
886
|
) -> ApiResponse: # noqa: E501
|
|
710
|
-
"""Create Artifact Version # noqa: E501
|
|
887
|
+
"""(Deprecated) Create Artifact Version # noqa: E501
|
|
711
888
|
|
|
712
889
|
Create artifact version API # noqa: E501
|
|
713
890
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -743,6 +920,11 @@ class MlfoundryArtifactsApi:
|
|
|
743
920
|
:rtype: tuple(CreateArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
744
921
|
"""
|
|
745
922
|
|
|
923
|
+
warnings.warn(
|
|
924
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/create is deprecated.",
|
|
925
|
+
DeprecationWarning,
|
|
926
|
+
)
|
|
927
|
+
|
|
746
928
|
_params = locals()
|
|
747
929
|
|
|
748
930
|
_all_params = ["create_artifact_version_request_dto"]
|
|
@@ -799,7 +981,7 @@ class MlfoundryArtifactsApi:
|
|
|
799
981
|
_header_params["Content-Type"] = _content_types_list
|
|
800
982
|
|
|
801
983
|
# authentication setting
|
|
802
|
-
_auth_settings = ["
|
|
984
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
803
985
|
|
|
804
986
|
_response_types_map = {
|
|
805
987
|
"200": "CreateArtifactVersionResponseDto",
|
|
@@ -829,7 +1011,7 @@ class MlfoundryArtifactsApi:
|
|
|
829
1011
|
def create_dataset_post(
|
|
830
1012
|
self, create_dataset_request_dto: CreateDatasetRequestDto, **kwargs
|
|
831
1013
|
) -> DatasetResponseDto: # noqa: E501
|
|
832
|
-
"""Create Dataset # noqa: E501
|
|
1014
|
+
"""(Deprecated) Create Dataset # noqa: E501
|
|
833
1015
|
|
|
834
1016
|
This method makes a synchronous HTTP request by default. To make an
|
|
835
1017
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -862,7 +1044,7 @@ class MlfoundryArtifactsApi:
|
|
|
862
1044
|
def create_dataset_post_with_http_info(
|
|
863
1045
|
self, create_dataset_request_dto: CreateDatasetRequestDto, **kwargs
|
|
864
1046
|
) -> ApiResponse: # noqa: E501
|
|
865
|
-
"""Create Dataset # noqa: E501
|
|
1047
|
+
"""(Deprecated) Create Dataset # noqa: E501
|
|
866
1048
|
|
|
867
1049
|
This method makes a synchronous HTTP request by default. To make an
|
|
868
1050
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -897,6 +1079,11 @@ class MlfoundryArtifactsApi:
|
|
|
897
1079
|
:rtype: tuple(DatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
898
1080
|
"""
|
|
899
1081
|
|
|
1082
|
+
warnings.warn(
|
|
1083
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/create is deprecated.",
|
|
1084
|
+
DeprecationWarning,
|
|
1085
|
+
)
|
|
1086
|
+
|
|
900
1087
|
_params = locals()
|
|
901
1088
|
|
|
902
1089
|
_all_params = ["create_dataset_request_dto"]
|
|
@@ -953,7 +1140,7 @@ class MlfoundryArtifactsApi:
|
|
|
953
1140
|
_header_params["Content-Type"] = _content_types_list
|
|
954
1141
|
|
|
955
1142
|
# authentication setting
|
|
956
|
-
_auth_settings = ["
|
|
1143
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
957
1144
|
|
|
958
1145
|
_response_types_map = {
|
|
959
1146
|
"200": "DatasetResponseDto",
|
|
@@ -983,7 +1170,7 @@ class MlfoundryArtifactsApi:
|
|
|
983
1170
|
def create_model_version_post(
|
|
984
1171
|
self, create_model_version_request_dto: CreateModelVersionRequestDto, **kwargs
|
|
985
1172
|
) -> ModelVersionResponseDto: # noqa: E501
|
|
986
|
-
"""Create Model Version # noqa: E501
|
|
1173
|
+
"""(Deprecated) Create Model Version # noqa: E501
|
|
987
1174
|
|
|
988
1175
|
Create Models # noqa: E501
|
|
989
1176
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -1017,7 +1204,7 @@ class MlfoundryArtifactsApi:
|
|
|
1017
1204
|
def create_model_version_post_with_http_info(
|
|
1018
1205
|
self, create_model_version_request_dto: CreateModelVersionRequestDto, **kwargs
|
|
1019
1206
|
) -> ApiResponse: # noqa: E501
|
|
1020
|
-
"""Create Model Version # noqa: E501
|
|
1207
|
+
"""(Deprecated) Create Model Version # noqa: E501
|
|
1021
1208
|
|
|
1022
1209
|
Create Models # noqa: E501
|
|
1023
1210
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -1053,6 +1240,11 @@ class MlfoundryArtifactsApi:
|
|
|
1053
1240
|
:rtype: tuple(ModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
1054
1241
|
"""
|
|
1055
1242
|
|
|
1243
|
+
warnings.warn(
|
|
1244
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/create is deprecated.",
|
|
1245
|
+
DeprecationWarning,
|
|
1246
|
+
)
|
|
1247
|
+
|
|
1056
1248
|
_params = locals()
|
|
1057
1249
|
|
|
1058
1250
|
_all_params = ["create_model_version_request_dto"]
|
|
@@ -1109,7 +1301,7 @@ class MlfoundryArtifactsApi:
|
|
|
1109
1301
|
_header_params["Content-Type"] = _content_types_list
|
|
1110
1302
|
|
|
1111
1303
|
# authentication setting
|
|
1112
|
-
_auth_settings = ["
|
|
1304
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1113
1305
|
|
|
1114
1306
|
_response_types_map = {
|
|
1115
1307
|
"200": "ModelVersionResponseDto",
|
|
@@ -1141,7 +1333,7 @@ class MlfoundryArtifactsApi:
|
|
|
1141
1333
|
create_multi_part_upload_request_dto: CreateMultiPartUploadRequestDto,
|
|
1142
1334
|
**kwargs,
|
|
1143
1335
|
) -> MultiPartUploadResponseDto: # noqa: E501
|
|
1144
|
-
"""Create Multi Part Upload # noqa: E501
|
|
1336
|
+
"""(Deprecated) Create Multi Part Upload # noqa: E501
|
|
1145
1337
|
|
|
1146
1338
|
This method makes a synchronous HTTP request by default. To make an
|
|
1147
1339
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1176,7 +1368,7 @@ class MlfoundryArtifactsApi:
|
|
|
1176
1368
|
create_multi_part_upload_request_dto: CreateMultiPartUploadRequestDto,
|
|
1177
1369
|
**kwargs,
|
|
1178
1370
|
) -> ApiResponse: # noqa: E501
|
|
1179
|
-
"""Create Multi Part Upload # noqa: E501
|
|
1371
|
+
"""(Deprecated) Create Multi Part Upload # noqa: E501
|
|
1180
1372
|
|
|
1181
1373
|
This method makes a synchronous HTTP request by default. To make an
|
|
1182
1374
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1211,6 +1403,11 @@ class MlfoundryArtifactsApi:
|
|
|
1211
1403
|
:rtype: tuple(MultiPartUploadResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
1212
1404
|
"""
|
|
1213
1405
|
|
|
1406
|
+
warnings.warn(
|
|
1407
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/multi-part-upload/create is deprecated.",
|
|
1408
|
+
DeprecationWarning,
|
|
1409
|
+
)
|
|
1410
|
+
|
|
1214
1411
|
_params = locals()
|
|
1215
1412
|
|
|
1216
1413
|
_all_params = ["create_multi_part_upload_request_dto"]
|
|
@@ -1267,7 +1464,7 @@ class MlfoundryArtifactsApi:
|
|
|
1267
1464
|
_header_params["Content-Type"] = _content_types_list
|
|
1268
1465
|
|
|
1269
1466
|
# authentication setting
|
|
1270
|
-
_auth_settings = ["
|
|
1467
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1271
1468
|
|
|
1272
1469
|
_response_types_map = {
|
|
1273
1470
|
"200": "MultiPartUploadResponseDto",
|
|
@@ -1299,7 +1496,7 @@ class MlfoundryArtifactsApi:
|
|
|
1299
1496
|
create_multi_part_upload_for_dataset_request_dto: CreateMultiPartUploadForDatasetRequestDto,
|
|
1300
1497
|
**kwargs,
|
|
1301
1498
|
) -> CreateMultiPartUploadForDatasetResponseDto: # noqa: E501
|
|
1302
|
-
"""Create Multipart Upload For Dataset # noqa: E501
|
|
1499
|
+
"""(Deprecated) Create Multipart Upload For Dataset # noqa: E501
|
|
1303
1500
|
|
|
1304
1501
|
This method makes a synchronous HTTP request by default. To make an
|
|
1305
1502
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1334,7 +1531,7 @@ class MlfoundryArtifactsApi:
|
|
|
1334
1531
|
create_multi_part_upload_for_dataset_request_dto: CreateMultiPartUploadForDatasetRequestDto,
|
|
1335
1532
|
**kwargs,
|
|
1336
1533
|
) -> ApiResponse: # noqa: E501
|
|
1337
|
-
"""Create Multipart Upload For Dataset # noqa: E501
|
|
1534
|
+
"""(Deprecated) Create Multipart Upload For Dataset # noqa: E501
|
|
1338
1535
|
|
|
1339
1536
|
This method makes a synchronous HTTP request by default. To make an
|
|
1340
1537
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1369,6 +1566,11 @@ class MlfoundryArtifactsApi:
|
|
|
1369
1566
|
:rtype: tuple(CreateMultiPartUploadForDatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
1370
1567
|
"""
|
|
1371
1568
|
|
|
1569
|
+
warnings.warn(
|
|
1570
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/multi-part-upload/create is deprecated.",
|
|
1571
|
+
DeprecationWarning,
|
|
1572
|
+
)
|
|
1573
|
+
|
|
1372
1574
|
_params = locals()
|
|
1373
1575
|
|
|
1374
1576
|
_all_params = ["create_multi_part_upload_for_dataset_request_dto"]
|
|
@@ -1425,7 +1627,7 @@ class MlfoundryArtifactsApi:
|
|
|
1425
1627
|
_header_params["Content-Type"] = _content_types_list
|
|
1426
1628
|
|
|
1427
1629
|
# authentication setting
|
|
1428
|
-
_auth_settings = ["
|
|
1630
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1429
1631
|
|
|
1430
1632
|
_response_types_map = {
|
|
1431
1633
|
"200": "CreateMultiPartUploadForDatasetResponseDto",
|
|
@@ -1455,7 +1657,7 @@ class MlfoundryArtifactsApi:
|
|
|
1455
1657
|
def delete_artifact_post(
|
|
1456
1658
|
self, delete_model_version_request_dto: DeleteModelVersionRequestDto, **kwargs
|
|
1457
1659
|
) -> object: # noqa: E501
|
|
1458
|
-
"""Delete Artifact # noqa: E501
|
|
1660
|
+
"""(Deprecated) Delete Artifact # noqa: E501
|
|
1459
1661
|
|
|
1460
1662
|
This method makes a synchronous HTTP request by default. To make an
|
|
1461
1663
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1488,7 +1690,7 @@ class MlfoundryArtifactsApi:
|
|
|
1488
1690
|
def delete_artifact_post_with_http_info(
|
|
1489
1691
|
self, delete_model_version_request_dto: DeleteModelVersionRequestDto, **kwargs
|
|
1490
1692
|
) -> ApiResponse: # noqa: E501
|
|
1491
|
-
"""Delete Artifact # noqa: E501
|
|
1693
|
+
"""(Deprecated) Delete Artifact # noqa: E501
|
|
1492
1694
|
|
|
1493
1695
|
This method makes a synchronous HTTP request by default. To make an
|
|
1494
1696
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1523,6 +1725,11 @@ class MlfoundryArtifactsApi:
|
|
|
1523
1725
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
1524
1726
|
"""
|
|
1525
1727
|
|
|
1728
|
+
warnings.warn(
|
|
1729
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact/delete is deprecated.",
|
|
1730
|
+
DeprecationWarning,
|
|
1731
|
+
)
|
|
1732
|
+
|
|
1526
1733
|
_params = locals()
|
|
1527
1734
|
|
|
1528
1735
|
_all_params = ["delete_model_version_request_dto"]
|
|
@@ -1579,7 +1786,7 @@ class MlfoundryArtifactsApi:
|
|
|
1579
1786
|
_header_params["Content-Type"] = _content_types_list
|
|
1580
1787
|
|
|
1581
1788
|
# authentication setting
|
|
1582
|
-
_auth_settings = ["
|
|
1789
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1583
1790
|
|
|
1584
1791
|
_response_types_map = {
|
|
1585
1792
|
"200": "object",
|
|
@@ -1611,7 +1818,7 @@ class MlfoundryArtifactsApi:
|
|
|
1611
1818
|
delete_artifact_versions_request_dto: DeleteArtifactVersionsRequestDto,
|
|
1612
1819
|
**kwargs,
|
|
1613
1820
|
) -> object: # noqa: E501
|
|
1614
|
-
"""Delete Artifact Version # noqa: E501
|
|
1821
|
+
"""(Deprecated) Delete Artifact Version # noqa: E501
|
|
1615
1822
|
|
|
1616
1823
|
This method makes a synchronous HTTP request by default. To make an
|
|
1617
1824
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1646,7 +1853,7 @@ class MlfoundryArtifactsApi:
|
|
|
1646
1853
|
delete_artifact_versions_request_dto: DeleteArtifactVersionsRequestDto,
|
|
1647
1854
|
**kwargs,
|
|
1648
1855
|
) -> ApiResponse: # noqa: E501
|
|
1649
|
-
"""Delete Artifact Version # noqa: E501
|
|
1856
|
+
"""(Deprecated) Delete Artifact Version # noqa: E501
|
|
1650
1857
|
|
|
1651
1858
|
This method makes a synchronous HTTP request by default. To make an
|
|
1652
1859
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1681,6 +1888,11 @@ class MlfoundryArtifactsApi:
|
|
|
1681
1888
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
1682
1889
|
"""
|
|
1683
1890
|
|
|
1891
|
+
warnings.warn(
|
|
1892
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/delete is deprecated.",
|
|
1893
|
+
DeprecationWarning,
|
|
1894
|
+
)
|
|
1895
|
+
|
|
1684
1896
|
_params = locals()
|
|
1685
1897
|
|
|
1686
1898
|
_all_params = ["delete_artifact_versions_request_dto"]
|
|
@@ -1737,7 +1949,7 @@ class MlfoundryArtifactsApi:
|
|
|
1737
1949
|
_header_params["Content-Type"] = _content_types_list
|
|
1738
1950
|
|
|
1739
1951
|
# authentication setting
|
|
1740
|
-
_auth_settings = ["
|
|
1952
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1741
1953
|
|
|
1742
1954
|
_response_types_map = {
|
|
1743
1955
|
"200": "object",
|
|
@@ -1767,7 +1979,7 @@ class MlfoundryArtifactsApi:
|
|
|
1767
1979
|
def delete_dataset_post(
|
|
1768
1980
|
self, delete_dataset_request_dto: DeleteDatasetRequestDto, **kwargs
|
|
1769
1981
|
) -> object: # noqa: E501
|
|
1770
|
-
"""Delete Dataset # noqa: E501
|
|
1982
|
+
"""(Deprecated) Delete Dataset # noqa: E501
|
|
1771
1983
|
|
|
1772
1984
|
This method makes a synchronous HTTP request by default. To make an
|
|
1773
1985
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1800,7 +2012,7 @@ class MlfoundryArtifactsApi:
|
|
|
1800
2012
|
def delete_dataset_post_with_http_info(
|
|
1801
2013
|
self, delete_dataset_request_dto: DeleteDatasetRequestDto, **kwargs
|
|
1802
2014
|
) -> ApiResponse: # noqa: E501
|
|
1803
|
-
"""Delete Dataset # noqa: E501
|
|
2015
|
+
"""(Deprecated) Delete Dataset # noqa: E501
|
|
1804
2016
|
|
|
1805
2017
|
This method makes a synchronous HTTP request by default. To make an
|
|
1806
2018
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -1835,6 +2047,11 @@ class MlfoundryArtifactsApi:
|
|
|
1835
2047
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
1836
2048
|
"""
|
|
1837
2049
|
|
|
2050
|
+
warnings.warn(
|
|
2051
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/delete is deprecated.",
|
|
2052
|
+
DeprecationWarning,
|
|
2053
|
+
)
|
|
2054
|
+
|
|
1838
2055
|
_params = locals()
|
|
1839
2056
|
|
|
1840
2057
|
_all_params = ["delete_dataset_request_dto"]
|
|
@@ -1891,7 +2108,7 @@ class MlfoundryArtifactsApi:
|
|
|
1891
2108
|
_header_params["Content-Type"] = _content_types_list
|
|
1892
2109
|
|
|
1893
2110
|
# authentication setting
|
|
1894
|
-
_auth_settings = ["
|
|
2111
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1895
2112
|
|
|
1896
2113
|
_response_types_map = {
|
|
1897
2114
|
"200": "object",
|
|
@@ -1923,7 +2140,7 @@ class MlfoundryArtifactsApi:
|
|
|
1923
2140
|
delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto,
|
|
1924
2141
|
**kwargs,
|
|
1925
2142
|
) -> object: # noqa: E501
|
|
1926
|
-
"""Delete Files For Dataset # noqa: E501
|
|
2143
|
+
"""(Deprecated) Delete Files For Dataset # noqa: E501
|
|
1927
2144
|
|
|
1928
2145
|
Delete files from the dataset. # noqa: E501
|
|
1929
2146
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -1959,7 +2176,7 @@ class MlfoundryArtifactsApi:
|
|
|
1959
2176
|
delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto,
|
|
1960
2177
|
**kwargs,
|
|
1961
2178
|
) -> ApiResponse: # noqa: E501
|
|
1962
|
-
"""Delete Files For Dataset # noqa: E501
|
|
2179
|
+
"""(Deprecated) Delete Files For Dataset # noqa: E501
|
|
1963
2180
|
|
|
1964
2181
|
Delete files from the dataset. # noqa: E501
|
|
1965
2182
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -1995,6 +2212,11 @@ class MlfoundryArtifactsApi:
|
|
|
1995
2212
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
1996
2213
|
"""
|
|
1997
2214
|
|
|
2215
|
+
warnings.warn(
|
|
2216
|
+
"DELETE /api/2.0/mlflow/mlfoundry-artifacts/datasets/files/ is deprecated.",
|
|
2217
|
+
DeprecationWarning,
|
|
2218
|
+
)
|
|
2219
|
+
|
|
1998
2220
|
_params = locals()
|
|
1999
2221
|
|
|
2000
2222
|
_all_params = ["delete_files_for_dataset_request_dto"]
|
|
@@ -2051,7 +2273,7 @@ class MlfoundryArtifactsApi:
|
|
|
2051
2273
|
_header_params["Content-Type"] = _content_types_list
|
|
2052
2274
|
|
|
2053
2275
|
# authentication setting
|
|
2054
|
-
_auth_settings = ["
|
|
2276
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2055
2277
|
|
|
2056
2278
|
_response_types_map = {
|
|
2057
2279
|
"200": "object",
|
|
@@ -2081,7 +2303,7 @@ class MlfoundryArtifactsApi:
|
|
|
2081
2303
|
def delete_model_version_post(
|
|
2082
2304
|
self, delete_model_version_request_dto: DeleteModelVersionRequestDto, **kwargs
|
|
2083
2305
|
) -> object: # noqa: E501
|
|
2084
|
-
"""Delete Model Version # noqa: E501
|
|
2306
|
+
"""(Deprecated) Delete Model Version # noqa: E501
|
|
2085
2307
|
|
|
2086
2308
|
This method makes a synchronous HTTP request by default. To make an
|
|
2087
2309
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2114,7 +2336,7 @@ class MlfoundryArtifactsApi:
|
|
|
2114
2336
|
def delete_model_version_post_with_http_info(
|
|
2115
2337
|
self, delete_model_version_request_dto: DeleteModelVersionRequestDto, **kwargs
|
|
2116
2338
|
) -> ApiResponse: # noqa: E501
|
|
2117
|
-
"""Delete Model Version # noqa: E501
|
|
2339
|
+
"""(Deprecated) Delete Model Version # noqa: E501
|
|
2118
2340
|
|
|
2119
2341
|
This method makes a synchronous HTTP request by default. To make an
|
|
2120
2342
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2149,6 +2371,11 @@ class MlfoundryArtifactsApi:
|
|
|
2149
2371
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
2150
2372
|
"""
|
|
2151
2373
|
|
|
2374
|
+
warnings.warn(
|
|
2375
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/delete is deprecated.",
|
|
2376
|
+
DeprecationWarning,
|
|
2377
|
+
)
|
|
2378
|
+
|
|
2152
2379
|
_params = locals()
|
|
2153
2380
|
|
|
2154
2381
|
_all_params = ["delete_model_version_request_dto"]
|
|
@@ -2205,7 +2432,7 @@ class MlfoundryArtifactsApi:
|
|
|
2205
2432
|
_header_params["Content-Type"] = _content_types_list
|
|
2206
2433
|
|
|
2207
2434
|
# authentication setting
|
|
2208
|
-
_auth_settings = ["
|
|
2435
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2209
2436
|
|
|
2210
2437
|
_response_types_map = {
|
|
2211
2438
|
"200": "object",
|
|
@@ -2237,7 +2464,7 @@ class MlfoundryArtifactsApi:
|
|
|
2237
2464
|
export_deployment_files_request_dto: ExportDeploymentFilesRequestDto,
|
|
2238
2465
|
**kwargs,
|
|
2239
2466
|
) -> object: # noqa: E501
|
|
2240
|
-
"""Export Deployment Files By Fqn # noqa: E501
|
|
2467
|
+
"""(Deprecated) Export Deployment Files By Fqn # noqa: E501
|
|
2241
2468
|
|
|
2242
2469
|
This method makes a synchronous HTTP request by default. To make an
|
|
2243
2470
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2272,7 +2499,7 @@ class MlfoundryArtifactsApi:
|
|
|
2272
2499
|
export_deployment_files_request_dto: ExportDeploymentFilesRequestDto,
|
|
2273
2500
|
**kwargs,
|
|
2274
2501
|
) -> ApiResponse: # noqa: E501
|
|
2275
|
-
"""Export Deployment Files By Fqn # noqa: E501
|
|
2502
|
+
"""(Deprecated) Export Deployment Files By Fqn # noqa: E501
|
|
2276
2503
|
|
|
2277
2504
|
This method makes a synchronous HTTP request by default. To make an
|
|
2278
2505
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2307,6 +2534,11 @@ class MlfoundryArtifactsApi:
|
|
|
2307
2534
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
2308
2535
|
"""
|
|
2309
2536
|
|
|
2537
|
+
warnings.warn(
|
|
2538
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/export-deployment-files-by-fqn is deprecated.",
|
|
2539
|
+
DeprecationWarning,
|
|
2540
|
+
)
|
|
2541
|
+
|
|
2310
2542
|
_params = locals()
|
|
2311
2543
|
|
|
2312
2544
|
_all_params = ["export_deployment_files_request_dto"]
|
|
@@ -2363,7 +2595,7 @@ class MlfoundryArtifactsApi:
|
|
|
2363
2595
|
_header_params["Content-Type"] = _content_types_list
|
|
2364
2596
|
|
|
2365
2597
|
# authentication setting
|
|
2366
|
-
_auth_settings = ["
|
|
2598
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2367
2599
|
|
|
2368
2600
|
_response_types_map = {
|
|
2369
2601
|
"200": "object",
|
|
@@ -2395,7 +2627,7 @@ class MlfoundryArtifactsApi:
|
|
|
2395
2627
|
finalize_artifact_version_request_dto: FinalizeArtifactVersionRequestDto,
|
|
2396
2628
|
**kwargs,
|
|
2397
2629
|
) -> ArtifactVersionResponseDto: # noqa: E501
|
|
2398
|
-
"""Finalize Artifact Version # noqa: E501
|
|
2630
|
+
"""(Deprecated) Finalize Artifact Version # noqa: E501
|
|
2399
2631
|
|
|
2400
2632
|
This method makes a synchronous HTTP request by default. To make an
|
|
2401
2633
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2430,7 +2662,7 @@ class MlfoundryArtifactsApi:
|
|
|
2430
2662
|
finalize_artifact_version_request_dto: FinalizeArtifactVersionRequestDto,
|
|
2431
2663
|
**kwargs,
|
|
2432
2664
|
) -> ApiResponse: # noqa: E501
|
|
2433
|
-
"""Finalize Artifact Version # noqa: E501
|
|
2665
|
+
"""(Deprecated) Finalize Artifact Version # noqa: E501
|
|
2434
2666
|
|
|
2435
2667
|
This method makes a synchronous HTTP request by default. To make an
|
|
2436
2668
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2465,6 +2697,11 @@ class MlfoundryArtifactsApi:
|
|
|
2465
2697
|
:rtype: tuple(ArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
2466
2698
|
"""
|
|
2467
2699
|
|
|
2700
|
+
warnings.warn(
|
|
2701
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/finalize is deprecated.",
|
|
2702
|
+
DeprecationWarning,
|
|
2703
|
+
)
|
|
2704
|
+
|
|
2468
2705
|
_params = locals()
|
|
2469
2706
|
|
|
2470
2707
|
_all_params = ["finalize_artifact_version_request_dto"]
|
|
@@ -2521,7 +2758,7 @@ class MlfoundryArtifactsApi:
|
|
|
2521
2758
|
_header_params["Content-Type"] = _content_types_list
|
|
2522
2759
|
|
|
2523
2760
|
# authentication setting
|
|
2524
|
-
_auth_settings = ["
|
|
2761
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2525
2762
|
|
|
2526
2763
|
_response_types_map = {
|
|
2527
2764
|
"200": "ArtifactVersionResponseDto",
|
|
@@ -2549,7 +2786,7 @@ class MlfoundryArtifactsApi:
|
|
|
2549
2786
|
|
|
2550
2787
|
@validate_arguments
|
|
2551
2788
|
def get_artifact_by_fqn_get(self, fqn: StrictStr, **kwargs) -> ArtifactResponseDto: # noqa: E501
|
|
2552
|
-
"""Get Artifact By Fqn # noqa: E501
|
|
2789
|
+
"""(Deprecated) Get Artifact By Fqn # noqa: E501
|
|
2553
2790
|
|
|
2554
2791
|
This method makes a synchronous HTTP request by default. To make an
|
|
2555
2792
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2580,7 +2817,7 @@ class MlfoundryArtifactsApi:
|
|
|
2580
2817
|
def get_artifact_by_fqn_get_with_http_info(
|
|
2581
2818
|
self, fqn: StrictStr, **kwargs
|
|
2582
2819
|
) -> ApiResponse: # noqa: E501
|
|
2583
|
-
"""Get Artifact By Fqn # noqa: E501
|
|
2820
|
+
"""(Deprecated) Get Artifact By Fqn # noqa: E501
|
|
2584
2821
|
|
|
2585
2822
|
This method makes a synchronous HTTP request by default. To make an
|
|
2586
2823
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2615,6 +2852,11 @@ class MlfoundryArtifactsApi:
|
|
|
2615
2852
|
:rtype: tuple(ArtifactResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
2616
2853
|
"""
|
|
2617
2854
|
|
|
2855
|
+
warnings.warn(
|
|
2856
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-by-fqn is deprecated.",
|
|
2857
|
+
DeprecationWarning,
|
|
2858
|
+
)
|
|
2859
|
+
|
|
2618
2860
|
_params = locals()
|
|
2619
2861
|
|
|
2620
2862
|
_all_params = ["fqn"]
|
|
@@ -2663,7 +2905,7 @@ class MlfoundryArtifactsApi:
|
|
|
2663
2905
|
) # noqa: E501
|
|
2664
2906
|
|
|
2665
2907
|
# authentication setting
|
|
2666
|
-
_auth_settings = ["
|
|
2908
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2667
2909
|
|
|
2668
2910
|
_response_types_map = {
|
|
2669
2911
|
"200": "ArtifactResponseDto",
|
|
@@ -2691,7 +2933,7 @@ class MlfoundryArtifactsApi:
|
|
|
2691
2933
|
|
|
2692
2934
|
@validate_arguments
|
|
2693
2935
|
def get_artifact_by_id_get(self, id: StrictStr, **kwargs) -> ArtifactResponseDto: # noqa: E501
|
|
2694
|
-
"""Get Artifact By Id # noqa: E501
|
|
2936
|
+
"""(Deprecated) Get Artifact By Id # noqa: E501
|
|
2695
2937
|
|
|
2696
2938
|
This method makes a synchronous HTTP request by default. To make an
|
|
2697
2939
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2722,7 +2964,7 @@ class MlfoundryArtifactsApi:
|
|
|
2722
2964
|
def get_artifact_by_id_get_with_http_info(
|
|
2723
2965
|
self, id: StrictStr, **kwargs
|
|
2724
2966
|
) -> ApiResponse: # noqa: E501
|
|
2725
|
-
"""Get Artifact By Id # noqa: E501
|
|
2967
|
+
"""(Deprecated) Get Artifact By Id # noqa: E501
|
|
2726
2968
|
|
|
2727
2969
|
This method makes a synchronous HTTP request by default. To make an
|
|
2728
2970
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2757,6 +2999,11 @@ class MlfoundryArtifactsApi:
|
|
|
2757
2999
|
:rtype: tuple(ArtifactResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
2758
3000
|
"""
|
|
2759
3001
|
|
|
3002
|
+
warnings.warn(
|
|
3003
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get is deprecated.",
|
|
3004
|
+
DeprecationWarning,
|
|
3005
|
+
)
|
|
3006
|
+
|
|
2760
3007
|
_params = locals()
|
|
2761
3008
|
|
|
2762
3009
|
_all_params = ["id"]
|
|
@@ -2805,7 +3052,7 @@ class MlfoundryArtifactsApi:
|
|
|
2805
3052
|
) # noqa: E501
|
|
2806
3053
|
|
|
2807
3054
|
# authentication setting
|
|
2808
|
-
_auth_settings = ["
|
|
3055
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2809
3056
|
|
|
2810
3057
|
_response_types_map = {
|
|
2811
3058
|
"200": "ArtifactResponseDto",
|
|
@@ -2835,7 +3082,7 @@ class MlfoundryArtifactsApi:
|
|
|
2835
3082
|
def get_artifact_version_by_fqn_get(
|
|
2836
3083
|
self, fqn: StrictStr, **kwargs
|
|
2837
3084
|
) -> ArtifactVersionResponseDto: # noqa: E501
|
|
2838
|
-
"""Get Artifact Version By Fqn # noqa: E501
|
|
3085
|
+
"""(Deprecated) Get Artifact Version By Fqn # noqa: E501
|
|
2839
3086
|
|
|
2840
3087
|
This method makes a synchronous HTTP request by default. To make an
|
|
2841
3088
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2866,7 +3113,7 @@ class MlfoundryArtifactsApi:
|
|
|
2866
3113
|
def get_artifact_version_by_fqn_get_with_http_info(
|
|
2867
3114
|
self, fqn: StrictStr, **kwargs
|
|
2868
3115
|
) -> ApiResponse: # noqa: E501
|
|
2869
|
-
"""Get Artifact Version By Fqn # noqa: E501
|
|
3116
|
+
"""(Deprecated) Get Artifact Version By Fqn # noqa: E501
|
|
2870
3117
|
|
|
2871
3118
|
This method makes a synchronous HTTP request by default. To make an
|
|
2872
3119
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -2901,6 +3148,11 @@ class MlfoundryArtifactsApi:
|
|
|
2901
3148
|
:rtype: tuple(ArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
2902
3149
|
"""
|
|
2903
3150
|
|
|
3151
|
+
warnings.warn(
|
|
3152
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-by-fqn is deprecated.",
|
|
3153
|
+
DeprecationWarning,
|
|
3154
|
+
)
|
|
3155
|
+
|
|
2904
3156
|
_params = locals()
|
|
2905
3157
|
|
|
2906
3158
|
_all_params = ["fqn"]
|
|
@@ -2949,7 +3201,7 @@ class MlfoundryArtifactsApi:
|
|
|
2949
3201
|
) # noqa: E501
|
|
2950
3202
|
|
|
2951
3203
|
# authentication setting
|
|
2952
|
-
_auth_settings = ["
|
|
3204
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2953
3205
|
|
|
2954
3206
|
_response_types_map = {
|
|
2955
3207
|
"200": "ArtifactVersionResponseDto",
|
|
@@ -2979,7 +3231,7 @@ class MlfoundryArtifactsApi:
|
|
|
2979
3231
|
def get_artifact_version_by_id_get(
|
|
2980
3232
|
self, id: StrictStr, **kwargs
|
|
2981
3233
|
) -> ArtifactVersionResponseDto: # noqa: E501
|
|
2982
|
-
"""Get Artifact Version By Id # noqa: E501
|
|
3234
|
+
"""(Deprecated) Get Artifact Version By Id # noqa: E501
|
|
2983
3235
|
|
|
2984
3236
|
This method makes a synchronous HTTP request by default. To make an
|
|
2985
3237
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3010,7 +3262,7 @@ class MlfoundryArtifactsApi:
|
|
|
3010
3262
|
def get_artifact_version_by_id_get_with_http_info(
|
|
3011
3263
|
self, id: StrictStr, **kwargs
|
|
3012
3264
|
) -> ApiResponse: # noqa: E501
|
|
3013
|
-
"""Get Artifact Version By Id # noqa: E501
|
|
3265
|
+
"""(Deprecated) Get Artifact Version By Id # noqa: E501
|
|
3014
3266
|
|
|
3015
3267
|
This method makes a synchronous HTTP request by default. To make an
|
|
3016
3268
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3045,6 +3297,11 @@ class MlfoundryArtifactsApi:
|
|
|
3045
3297
|
:rtype: tuple(ArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3046
3298
|
"""
|
|
3047
3299
|
|
|
3300
|
+
warnings.warn(
|
|
3301
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get is deprecated.",
|
|
3302
|
+
DeprecationWarning,
|
|
3303
|
+
)
|
|
3304
|
+
|
|
3048
3305
|
_params = locals()
|
|
3049
3306
|
|
|
3050
3307
|
_all_params = ["id"]
|
|
@@ -3093,7 +3350,7 @@ class MlfoundryArtifactsApi:
|
|
|
3093
3350
|
) # noqa: E501
|
|
3094
3351
|
|
|
3095
3352
|
# authentication setting
|
|
3096
|
-
_auth_settings = ["
|
|
3353
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3097
3354
|
|
|
3098
3355
|
_response_types_map = {
|
|
3099
3356
|
"200": "ArtifactVersionResponseDto",
|
|
@@ -3128,7 +3385,7 @@ class MlfoundryArtifactsApi:
|
|
|
3128
3385
|
artifact_type: Optional[ArtifactType] = None,
|
|
3129
3386
|
**kwargs,
|
|
3130
3387
|
) -> ArtifactVersionResponseDto: # noqa: E501
|
|
3131
|
-
"""Get Artifact Version By Name # noqa: E501
|
|
3388
|
+
"""(Deprecated) Get Artifact Version By Name # noqa: E501
|
|
3132
3389
|
|
|
3133
3390
|
Get artifact version API # noqa: E501
|
|
3134
3391
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -3173,7 +3430,7 @@ class MlfoundryArtifactsApi:
|
|
|
3173
3430
|
artifact_type: Optional[ArtifactType] = None,
|
|
3174
3431
|
**kwargs,
|
|
3175
3432
|
) -> ApiResponse: # noqa: E501
|
|
3176
|
-
"""Get Artifact Version By Name # noqa: E501
|
|
3433
|
+
"""(Deprecated) Get Artifact Version By Name # noqa: E501
|
|
3177
3434
|
|
|
3178
3435
|
Get artifact version API # noqa: E501
|
|
3179
3436
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -3215,6 +3472,11 @@ class MlfoundryArtifactsApi:
|
|
|
3215
3472
|
:rtype: tuple(ArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3216
3473
|
"""
|
|
3217
3474
|
|
|
3475
|
+
warnings.warn(
|
|
3476
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-by-name is deprecated.",
|
|
3477
|
+
DeprecationWarning,
|
|
3478
|
+
)
|
|
3479
|
+
|
|
3218
3480
|
_params = locals()
|
|
3219
3481
|
|
|
3220
3482
|
_all_params = ["experiment_id", "artifact_name", "version", "artifact_type"]
|
|
@@ -3272,7 +3534,7 @@ class MlfoundryArtifactsApi:
|
|
|
3272
3534
|
) # noqa: E501
|
|
3273
3535
|
|
|
3274
3536
|
# authentication setting
|
|
3275
|
-
_auth_settings = ["
|
|
3537
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3276
3538
|
|
|
3277
3539
|
_response_types_map = {
|
|
3278
3540
|
"200": "ArtifactVersionResponseDto",
|
|
@@ -3300,7 +3562,7 @@ class MlfoundryArtifactsApi:
|
|
|
3300
3562
|
|
|
3301
3563
|
@validate_arguments
|
|
3302
3564
|
def get_dataset_by_fqn_get(self, fqn: StrictStr, **kwargs) -> DatasetResponseDto: # noqa: E501
|
|
3303
|
-
"""Get Dataset By Fqn # noqa: E501
|
|
3565
|
+
"""(Deprecated) Get Dataset By Fqn # noqa: E501
|
|
3304
3566
|
|
|
3305
3567
|
This method makes a synchronous HTTP request by default. To make an
|
|
3306
3568
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3331,7 +3593,7 @@ class MlfoundryArtifactsApi:
|
|
|
3331
3593
|
def get_dataset_by_fqn_get_with_http_info(
|
|
3332
3594
|
self, fqn: StrictStr, **kwargs
|
|
3333
3595
|
) -> ApiResponse: # noqa: E501
|
|
3334
|
-
"""Get Dataset By Fqn # noqa: E501
|
|
3596
|
+
"""(Deprecated) Get Dataset By Fqn # noqa: E501
|
|
3335
3597
|
|
|
3336
3598
|
This method makes a synchronous HTTP request by default. To make an
|
|
3337
3599
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3366,6 +3628,11 @@ class MlfoundryArtifactsApi:
|
|
|
3366
3628
|
:rtype: tuple(DatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3367
3629
|
"""
|
|
3368
3630
|
|
|
3631
|
+
warnings.warn(
|
|
3632
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/datasets/get-by-fqn is deprecated.",
|
|
3633
|
+
DeprecationWarning,
|
|
3634
|
+
)
|
|
3635
|
+
|
|
3369
3636
|
_params = locals()
|
|
3370
3637
|
|
|
3371
3638
|
_all_params = ["fqn"]
|
|
@@ -3414,7 +3681,7 @@ class MlfoundryArtifactsApi:
|
|
|
3414
3681
|
) # noqa: E501
|
|
3415
3682
|
|
|
3416
3683
|
# authentication setting
|
|
3417
|
-
_auth_settings = ["
|
|
3684
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3418
3685
|
|
|
3419
3686
|
_response_types_map = {
|
|
3420
3687
|
"200": "DatasetResponseDto",
|
|
@@ -3442,7 +3709,7 @@ class MlfoundryArtifactsApi:
|
|
|
3442
3709
|
|
|
3443
3710
|
@validate_arguments
|
|
3444
3711
|
def get_dataset_get(self, id: StrictStr, **kwargs) -> DatasetResponseDto: # noqa: E501
|
|
3445
|
-
"""Get Dataset # noqa: E501
|
|
3712
|
+
"""(Deprecated) Get Dataset # noqa: E501
|
|
3446
3713
|
|
|
3447
3714
|
This method makes a synchronous HTTP request by default. To make an
|
|
3448
3715
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3471,7 +3738,7 @@ class MlfoundryArtifactsApi:
|
|
|
3471
3738
|
|
|
3472
3739
|
@validate_arguments
|
|
3473
3740
|
def get_dataset_get_with_http_info(self, id: StrictStr, **kwargs) -> ApiResponse: # noqa: E501
|
|
3474
|
-
"""Get Dataset # noqa: E501
|
|
3741
|
+
"""(Deprecated) Get Dataset # noqa: E501
|
|
3475
3742
|
|
|
3476
3743
|
This method makes a synchronous HTTP request by default. To make an
|
|
3477
3744
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3506,6 +3773,11 @@ class MlfoundryArtifactsApi:
|
|
|
3506
3773
|
:rtype: tuple(DatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3507
3774
|
"""
|
|
3508
3775
|
|
|
3776
|
+
warnings.warn(
|
|
3777
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/datasets/get is deprecated.",
|
|
3778
|
+
DeprecationWarning,
|
|
3779
|
+
)
|
|
3780
|
+
|
|
3509
3781
|
_params = locals()
|
|
3510
3782
|
|
|
3511
3783
|
_all_params = ["id"]
|
|
@@ -3554,7 +3826,7 @@ class MlfoundryArtifactsApi:
|
|
|
3554
3826
|
) # noqa: E501
|
|
3555
3827
|
|
|
3556
3828
|
# authentication setting
|
|
3557
|
-
_auth_settings = ["
|
|
3829
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3558
3830
|
|
|
3559
3831
|
_response_types_map = {
|
|
3560
3832
|
"200": "DatasetResponseDto",
|
|
@@ -3582,7 +3854,7 @@ class MlfoundryArtifactsApi:
|
|
|
3582
3854
|
|
|
3583
3855
|
@validate_arguments
|
|
3584
3856
|
def get_model_by_fqn_get(self, fqn: StrictStr, **kwargs) -> ModelResponseDto: # noqa: E501
|
|
3585
|
-
"""Get Model By Fqn # noqa: E501
|
|
3857
|
+
"""(Deprecated) Get Model By Fqn # noqa: E501
|
|
3586
3858
|
|
|
3587
3859
|
This method makes a synchronous HTTP request by default. To make an
|
|
3588
3860
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3613,7 +3885,7 @@ class MlfoundryArtifactsApi:
|
|
|
3613
3885
|
def get_model_by_fqn_get_with_http_info(
|
|
3614
3886
|
self, fqn: StrictStr, **kwargs
|
|
3615
3887
|
) -> ApiResponse: # noqa: E501
|
|
3616
|
-
"""Get Model By Fqn # noqa: E501
|
|
3888
|
+
"""(Deprecated) Get Model By Fqn # noqa: E501
|
|
3617
3889
|
|
|
3618
3890
|
This method makes a synchronous HTTP request by default. To make an
|
|
3619
3891
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3648,6 +3920,11 @@ class MlfoundryArtifactsApi:
|
|
|
3648
3920
|
:rtype: tuple(ModelResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3649
3921
|
"""
|
|
3650
3922
|
|
|
3923
|
+
warnings.warn(
|
|
3924
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/models/get-by-fqn is deprecated.",
|
|
3925
|
+
DeprecationWarning,
|
|
3926
|
+
)
|
|
3927
|
+
|
|
3651
3928
|
_params = locals()
|
|
3652
3929
|
|
|
3653
3930
|
_all_params = ["fqn"]
|
|
@@ -3696,7 +3973,7 @@ class MlfoundryArtifactsApi:
|
|
|
3696
3973
|
) # noqa: E501
|
|
3697
3974
|
|
|
3698
3975
|
# authentication setting
|
|
3699
|
-
_auth_settings = ["
|
|
3976
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3700
3977
|
|
|
3701
3978
|
_response_types_map = {
|
|
3702
3979
|
"200": "ModelResponseDto",
|
|
@@ -3726,7 +4003,7 @@ class MlfoundryArtifactsApi:
|
|
|
3726
4003
|
def get_model_by_name_get(
|
|
3727
4004
|
self, experiment_id: StrictInt, name: StrictStr, **kwargs
|
|
3728
4005
|
) -> ModelResponseDto: # noqa: E501
|
|
3729
|
-
"""Get Model By Name # noqa: E501
|
|
4006
|
+
"""(Deprecated) Get Model By Name # noqa: E501
|
|
3730
4007
|
|
|
3731
4008
|
This method makes a synchronous HTTP request by default. To make an
|
|
3732
4009
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3759,7 +4036,7 @@ class MlfoundryArtifactsApi:
|
|
|
3759
4036
|
def get_model_by_name_get_with_http_info(
|
|
3760
4037
|
self, experiment_id: StrictInt, name: StrictStr, **kwargs
|
|
3761
4038
|
) -> ApiResponse: # noqa: E501
|
|
3762
|
-
"""Get Model By Name # noqa: E501
|
|
4039
|
+
"""(Deprecated) Get Model By Name # noqa: E501
|
|
3763
4040
|
|
|
3764
4041
|
This method makes a synchronous HTTP request by default. To make an
|
|
3765
4042
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3796,6 +4073,11 @@ class MlfoundryArtifactsApi:
|
|
|
3796
4073
|
:rtype: tuple(ModelResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3797
4074
|
"""
|
|
3798
4075
|
|
|
4076
|
+
warnings.warn(
|
|
4077
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/models/get-by-name is deprecated.",
|
|
4078
|
+
DeprecationWarning,
|
|
4079
|
+
)
|
|
4080
|
+
|
|
3799
4081
|
_params = locals()
|
|
3800
4082
|
|
|
3801
4083
|
_all_params = ["experiment_id", "name"]
|
|
@@ -3847,7 +4129,7 @@ class MlfoundryArtifactsApi:
|
|
|
3847
4129
|
) # noqa: E501
|
|
3848
4130
|
|
|
3849
4131
|
# authentication setting
|
|
3850
|
-
_auth_settings = ["
|
|
4132
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3851
4133
|
|
|
3852
4134
|
_response_types_map = {
|
|
3853
4135
|
"200": "ModelResponseDto",
|
|
@@ -3875,7 +4157,7 @@ class MlfoundryArtifactsApi:
|
|
|
3875
4157
|
|
|
3876
4158
|
@validate_arguments
|
|
3877
4159
|
def get_model_get(self, id: StrictStr, **kwargs) -> ModelResponseDto: # noqa: E501
|
|
3878
|
-
"""Get Model # noqa: E501
|
|
4160
|
+
"""(Deprecated) Get Model # noqa: E501
|
|
3879
4161
|
|
|
3880
4162
|
This method makes a synchronous HTTP request by default. To make an
|
|
3881
4163
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3904,7 +4186,7 @@ class MlfoundryArtifactsApi:
|
|
|
3904
4186
|
|
|
3905
4187
|
@validate_arguments
|
|
3906
4188
|
def get_model_get_with_http_info(self, id: StrictStr, **kwargs) -> ApiResponse: # noqa: E501
|
|
3907
|
-
"""Get Model # noqa: E501
|
|
4189
|
+
"""(Deprecated) Get Model # noqa: E501
|
|
3908
4190
|
|
|
3909
4191
|
This method makes a synchronous HTTP request by default. To make an
|
|
3910
4192
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -3939,6 +4221,11 @@ class MlfoundryArtifactsApi:
|
|
|
3939
4221
|
:rtype: tuple(ModelResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
3940
4222
|
"""
|
|
3941
4223
|
|
|
4224
|
+
warnings.warn(
|
|
4225
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/models/get is deprecated.",
|
|
4226
|
+
DeprecationWarning,
|
|
4227
|
+
)
|
|
4228
|
+
|
|
3942
4229
|
_params = locals()
|
|
3943
4230
|
|
|
3944
4231
|
_all_params = ["id"]
|
|
@@ -3987,7 +4274,7 @@ class MlfoundryArtifactsApi:
|
|
|
3987
4274
|
) # noqa: E501
|
|
3988
4275
|
|
|
3989
4276
|
# authentication setting
|
|
3990
|
-
_auth_settings = ["
|
|
4277
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
3991
4278
|
|
|
3992
4279
|
_response_types_map = {
|
|
3993
4280
|
"200": "ModelResponseDto",
|
|
@@ -4017,7 +4304,7 @@ class MlfoundryArtifactsApi:
|
|
|
4017
4304
|
def get_model_version_by_fqn_get(
|
|
4018
4305
|
self, fqn: StrictStr, **kwargs
|
|
4019
4306
|
) -> ModelVersionResponseDto: # noqa: E501
|
|
4020
|
-
"""Get Model Version By Fqn # noqa: E501
|
|
4307
|
+
"""(Deprecated) Get Model Version By Fqn # noqa: E501
|
|
4021
4308
|
|
|
4022
4309
|
This method makes a synchronous HTTP request by default. To make an
|
|
4023
4310
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4048,7 +4335,7 @@ class MlfoundryArtifactsApi:
|
|
|
4048
4335
|
def get_model_version_by_fqn_get_with_http_info(
|
|
4049
4336
|
self, fqn: StrictStr, **kwargs
|
|
4050
4337
|
) -> ApiResponse: # noqa: E501
|
|
4051
|
-
"""Get Model Version By Fqn # noqa: E501
|
|
4338
|
+
"""(Deprecated) Get Model Version By Fqn # noqa: E501
|
|
4052
4339
|
|
|
4053
4340
|
This method makes a synchronous HTTP request by default. To make an
|
|
4054
4341
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4083,6 +4370,11 @@ class MlfoundryArtifactsApi:
|
|
|
4083
4370
|
:rtype: tuple(ModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4084
4371
|
"""
|
|
4085
4372
|
|
|
4373
|
+
warnings.warn(
|
|
4374
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/model-versions/get-by-fqn is deprecated.",
|
|
4375
|
+
DeprecationWarning,
|
|
4376
|
+
)
|
|
4377
|
+
|
|
4086
4378
|
_params = locals()
|
|
4087
4379
|
|
|
4088
4380
|
_all_params = ["fqn"]
|
|
@@ -4131,7 +4423,7 @@ class MlfoundryArtifactsApi:
|
|
|
4131
4423
|
) # noqa: E501
|
|
4132
4424
|
|
|
4133
4425
|
# authentication setting
|
|
4134
|
-
_auth_settings = ["
|
|
4426
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4135
4427
|
|
|
4136
4428
|
_response_types_map = {
|
|
4137
4429
|
"200": "ModelVersionResponseDto",
|
|
@@ -4166,7 +4458,7 @@ class MlfoundryArtifactsApi:
|
|
|
4166
4458
|
name: Optional[StrictStr] = None,
|
|
4167
4459
|
**kwargs,
|
|
4168
4460
|
) -> ModelVersionResponseDto: # noqa: E501
|
|
4169
|
-
"""Get Model Version By Name # noqa: E501
|
|
4461
|
+
"""(Deprecated) Get Model Version By Name # noqa: E501
|
|
4170
4462
|
|
|
4171
4463
|
This method makes a synchronous HTTP request by default. To make an
|
|
4172
4464
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4210,7 +4502,7 @@ class MlfoundryArtifactsApi:
|
|
|
4210
4502
|
name: Optional[StrictStr] = None,
|
|
4211
4503
|
**kwargs,
|
|
4212
4504
|
) -> ApiResponse: # noqa: E501
|
|
4213
|
-
"""Get Model Version By Name # noqa: E501
|
|
4505
|
+
"""(Deprecated) Get Model Version By Name # noqa: E501
|
|
4214
4506
|
|
|
4215
4507
|
This method makes a synchronous HTTP request by default. To make an
|
|
4216
4508
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4251,6 +4543,11 @@ class MlfoundryArtifactsApi:
|
|
|
4251
4543
|
:rtype: tuple(ModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4252
4544
|
"""
|
|
4253
4545
|
|
|
4546
|
+
warnings.warn(
|
|
4547
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/model-versions/get-by-name is deprecated.",
|
|
4548
|
+
DeprecationWarning,
|
|
4549
|
+
)
|
|
4550
|
+
|
|
4254
4551
|
_params = locals()
|
|
4255
4552
|
|
|
4256
4553
|
_all_params = ["experiment_id", "model_name", "version", "name"]
|
|
@@ -4308,7 +4605,7 @@ class MlfoundryArtifactsApi:
|
|
|
4308
4605
|
) # noqa: E501
|
|
4309
4606
|
|
|
4310
4607
|
# authentication setting
|
|
4311
|
-
_auth_settings = ["
|
|
4608
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4312
4609
|
|
|
4313
4610
|
_response_types_map = {
|
|
4314
4611
|
"200": "ModelVersionResponseDto",
|
|
@@ -4336,7 +4633,7 @@ class MlfoundryArtifactsApi:
|
|
|
4336
4633
|
|
|
4337
4634
|
@validate_arguments
|
|
4338
4635
|
def get_model_version_get(self, id: StrictStr, **kwargs) -> ModelVersionResponseDto: # noqa: E501
|
|
4339
|
-
"""Get Model Version # noqa: E501
|
|
4636
|
+
"""(Deprecated) Get Model Version # noqa: E501
|
|
4340
4637
|
|
|
4341
4638
|
This method makes a synchronous HTTP request by default. To make an
|
|
4342
4639
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4367,7 +4664,7 @@ class MlfoundryArtifactsApi:
|
|
|
4367
4664
|
def get_model_version_get_with_http_info(
|
|
4368
4665
|
self, id: StrictStr, **kwargs
|
|
4369
4666
|
) -> ApiResponse: # noqa: E501
|
|
4370
|
-
"""Get Model Version # noqa: E501
|
|
4667
|
+
"""(Deprecated) Get Model Version # noqa: E501
|
|
4371
4668
|
|
|
4372
4669
|
This method makes a synchronous HTTP request by default. To make an
|
|
4373
4670
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4402,6 +4699,11 @@ class MlfoundryArtifactsApi:
|
|
|
4402
4699
|
:rtype: tuple(ModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4403
4700
|
"""
|
|
4404
4701
|
|
|
4702
|
+
warnings.warn(
|
|
4703
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/model-versions/get is deprecated.",
|
|
4704
|
+
DeprecationWarning,
|
|
4705
|
+
)
|
|
4706
|
+
|
|
4405
4707
|
_params = locals()
|
|
4406
4708
|
|
|
4407
4709
|
_all_params = ["id"]
|
|
@@ -4450,7 +4752,7 @@ class MlfoundryArtifactsApi:
|
|
|
4450
4752
|
) # noqa: E501
|
|
4451
4753
|
|
|
4452
4754
|
# authentication setting
|
|
4453
|
-
_auth_settings = ["
|
|
4755
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4454
4756
|
|
|
4455
4757
|
_response_types_map = {
|
|
4456
4758
|
"200": "ModelVersionResponseDto",
|
|
@@ -4482,7 +4784,7 @@ class MlfoundryArtifactsApi:
|
|
|
4482
4784
|
get_signed_urls_for_dataset_read_request_dto: GetSignedURLsForDatasetReadRequestDto,
|
|
4483
4785
|
**kwargs,
|
|
4484
4786
|
) -> GetSignedURLsForDatasetReadResponseDto: # noqa: E501
|
|
4485
|
-
"""Get Signed Urls Dataset Read # noqa: E501
|
|
4787
|
+
"""(Deprecated) Get Signed Urls Dataset Read # noqa: E501
|
|
4486
4788
|
|
|
4487
4789
|
This method makes a synchronous HTTP request by default. To make an
|
|
4488
4790
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4517,7 +4819,7 @@ class MlfoundryArtifactsApi:
|
|
|
4517
4819
|
get_signed_urls_for_dataset_read_request_dto: GetSignedURLsForDatasetReadRequestDto,
|
|
4518
4820
|
**kwargs,
|
|
4519
4821
|
) -> ApiResponse: # noqa: E501
|
|
4520
|
-
"""Get Signed Urls Dataset Read # noqa: E501
|
|
4822
|
+
"""(Deprecated) Get Signed Urls Dataset Read # noqa: E501
|
|
4521
4823
|
|
|
4522
4824
|
This method makes a synchronous HTTP request by default. To make an
|
|
4523
4825
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4552,6 +4854,11 @@ class MlfoundryArtifactsApi:
|
|
|
4552
4854
|
:rtype: tuple(GetSignedURLsForDatasetReadResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4553
4855
|
"""
|
|
4554
4856
|
|
|
4857
|
+
warnings.warn(
|
|
4858
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/get-signed-urls-for-read is deprecated.",
|
|
4859
|
+
DeprecationWarning,
|
|
4860
|
+
)
|
|
4861
|
+
|
|
4555
4862
|
_params = locals()
|
|
4556
4863
|
|
|
4557
4864
|
_all_params = ["get_signed_urls_for_dataset_read_request_dto"]
|
|
@@ -4608,7 +4915,7 @@ class MlfoundryArtifactsApi:
|
|
|
4608
4915
|
_header_params["Content-Type"] = _content_types_list
|
|
4609
4916
|
|
|
4610
4917
|
# authentication setting
|
|
4611
|
-
_auth_settings = ["
|
|
4918
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4612
4919
|
|
|
4613
4920
|
_response_types_map = {
|
|
4614
4921
|
"200": "GetSignedURLsForDatasetReadResponseDto",
|
|
@@ -4640,7 +4947,7 @@ class MlfoundryArtifactsApi:
|
|
|
4640
4947
|
get_signed_url_for_dataset_write_request_dto: GetSignedURLForDatasetWriteRequestDto,
|
|
4641
4948
|
**kwargs,
|
|
4642
4949
|
) -> GetSignedURLsForDatasetWriteResponseDto: # noqa: E501
|
|
4643
|
-
"""Get Signed Urls For Dataset Write # noqa: E501
|
|
4950
|
+
"""(Deprecated) Get Signed Urls For Dataset Write # noqa: E501
|
|
4644
4951
|
|
|
4645
4952
|
This method makes a synchronous HTTP request by default. To make an
|
|
4646
4953
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4675,7 +4982,7 @@ class MlfoundryArtifactsApi:
|
|
|
4675
4982
|
get_signed_url_for_dataset_write_request_dto: GetSignedURLForDatasetWriteRequestDto,
|
|
4676
4983
|
**kwargs,
|
|
4677
4984
|
) -> ApiResponse: # noqa: E501
|
|
4678
|
-
"""Get Signed Urls For Dataset Write # noqa: E501
|
|
4985
|
+
"""(Deprecated) Get Signed Urls For Dataset Write # noqa: E501
|
|
4679
4986
|
|
|
4680
4987
|
This method makes a synchronous HTTP request by default. To make an
|
|
4681
4988
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4710,6 +5017,11 @@ class MlfoundryArtifactsApi:
|
|
|
4710
5017
|
:rtype: tuple(GetSignedURLsForDatasetWriteResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4711
5018
|
"""
|
|
4712
5019
|
|
|
5020
|
+
warnings.warn(
|
|
5021
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/get-signed-urls-for-write is deprecated.",
|
|
5022
|
+
DeprecationWarning,
|
|
5023
|
+
)
|
|
5024
|
+
|
|
4713
5025
|
_params = locals()
|
|
4714
5026
|
|
|
4715
5027
|
_all_params = ["get_signed_url_for_dataset_write_request_dto"]
|
|
@@ -4766,7 +5078,7 @@ class MlfoundryArtifactsApi:
|
|
|
4766
5078
|
_header_params["Content-Type"] = _content_types_list
|
|
4767
5079
|
|
|
4768
5080
|
# authentication setting
|
|
4769
|
-
_auth_settings = ["
|
|
5081
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4770
5082
|
|
|
4771
5083
|
_response_types_map = {
|
|
4772
5084
|
"200": "GetSignedURLsForDatasetWriteResponseDto",
|
|
@@ -4798,7 +5110,7 @@ class MlfoundryArtifactsApi:
|
|
|
4798
5110
|
get_signed_urls_for_artifact_version_read_request_dto: GetSignedURLsForArtifactVersionReadRequestDto,
|
|
4799
5111
|
**kwargs,
|
|
4800
5112
|
) -> GetSignedURLsForArtifactVersionReadResponseDto: # noqa: E501
|
|
4801
|
-
"""Get Signed Urls For Read # noqa: E501
|
|
5113
|
+
"""(Deprecated) Get Signed Urls For Read # noqa: E501
|
|
4802
5114
|
|
|
4803
5115
|
This method makes a synchronous HTTP request by default. To make an
|
|
4804
5116
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4833,7 +5145,7 @@ class MlfoundryArtifactsApi:
|
|
|
4833
5145
|
get_signed_urls_for_artifact_version_read_request_dto: GetSignedURLsForArtifactVersionReadRequestDto,
|
|
4834
5146
|
**kwargs,
|
|
4835
5147
|
) -> ApiResponse: # noqa: E501
|
|
4836
|
-
"""Get Signed Urls For Read # noqa: E501
|
|
5148
|
+
"""(Deprecated) Get Signed Urls For Read # noqa: E501
|
|
4837
5149
|
|
|
4838
5150
|
This method makes a synchronous HTTP request by default. To make an
|
|
4839
5151
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4868,6 +5180,11 @@ class MlfoundryArtifactsApi:
|
|
|
4868
5180
|
:rtype: tuple(GetSignedURLsForArtifactVersionReadResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
4869
5181
|
"""
|
|
4870
5182
|
|
|
5183
|
+
warnings.warn(
|
|
5184
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-signed-urls-for-read is deprecated.",
|
|
5185
|
+
DeprecationWarning,
|
|
5186
|
+
)
|
|
5187
|
+
|
|
4871
5188
|
_params = locals()
|
|
4872
5189
|
|
|
4873
5190
|
_all_params = ["get_signed_urls_for_artifact_version_read_request_dto"]
|
|
@@ -4926,7 +5243,7 @@ class MlfoundryArtifactsApi:
|
|
|
4926
5243
|
_header_params["Content-Type"] = _content_types_list
|
|
4927
5244
|
|
|
4928
5245
|
# authentication setting
|
|
4929
|
-
_auth_settings = ["
|
|
5246
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
4930
5247
|
|
|
4931
5248
|
_response_types_map = {
|
|
4932
5249
|
"200": "GetSignedURLsForArtifactVersionReadResponseDto",
|
|
@@ -4958,7 +5275,7 @@ class MlfoundryArtifactsApi:
|
|
|
4958
5275
|
get_signed_urls_for_artifact_version_write_request_dto: GetSignedURLsForArtifactVersionWriteRequestDto,
|
|
4959
5276
|
**kwargs,
|
|
4960
5277
|
) -> GetSignedURLsForArtifactVersionWriteResponseDto: # noqa: E501
|
|
4961
|
-
"""Get Signed Urls For Write # noqa: E501
|
|
5278
|
+
"""(Deprecated) Get Signed Urls For Write # noqa: E501
|
|
4962
5279
|
|
|
4963
5280
|
This method makes a synchronous HTTP request by default. To make an
|
|
4964
5281
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -4993,7 +5310,7 @@ class MlfoundryArtifactsApi:
|
|
|
4993
5310
|
get_signed_urls_for_artifact_version_write_request_dto: GetSignedURLsForArtifactVersionWriteRequestDto,
|
|
4994
5311
|
**kwargs,
|
|
4995
5312
|
) -> ApiResponse: # noqa: E501
|
|
4996
|
-
"""Get Signed Urls For Write # noqa: E501
|
|
5313
|
+
"""(Deprecated) Get Signed Urls For Write # noqa: E501
|
|
4997
5314
|
|
|
4998
5315
|
This method makes a synchronous HTTP request by default. To make an
|
|
4999
5316
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5028,6 +5345,11 @@ class MlfoundryArtifactsApi:
|
|
|
5028
5345
|
:rtype: tuple(GetSignedURLsForArtifactVersionWriteResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5029
5346
|
"""
|
|
5030
5347
|
|
|
5348
|
+
warnings.warn(
|
|
5349
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-signed-urls-for-write is deprecated.",
|
|
5350
|
+
DeprecationWarning,
|
|
5351
|
+
)
|
|
5352
|
+
|
|
5031
5353
|
_params = locals()
|
|
5032
5354
|
|
|
5033
5355
|
_all_params = ["get_signed_urls_for_artifact_version_write_request_dto"]
|
|
@@ -5089,7 +5411,7 @@ class MlfoundryArtifactsApi:
|
|
|
5089
5411
|
_header_params["Content-Type"] = _content_types_list
|
|
5090
5412
|
|
|
5091
5413
|
# authentication setting
|
|
5092
|
-
_auth_settings = ["
|
|
5414
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5093
5415
|
|
|
5094
5416
|
_response_types_map = {
|
|
5095
5417
|
"200": "GetSignedURLsForArtifactVersionWriteResponseDto",
|
|
@@ -5119,7 +5441,7 @@ class MlfoundryArtifactsApi:
|
|
|
5119
5441
|
def get_version_aliases_for_artifact_get(
|
|
5120
5442
|
self, artifact_id: StrictStr, **kwargs
|
|
5121
5443
|
) -> GetArtifactVersionAliasesResponseDto: # noqa: E501
|
|
5122
|
-
"""Get Version Aliases For Artifact # noqa: E501
|
|
5444
|
+
"""(Deprecated) Get Version Aliases For Artifact # noqa: E501
|
|
5123
5445
|
|
|
5124
5446
|
This method makes a synchronous HTTP request by default. To make an
|
|
5125
5447
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5152,7 +5474,7 @@ class MlfoundryArtifactsApi:
|
|
|
5152
5474
|
def get_version_aliases_for_artifact_get_with_http_info(
|
|
5153
5475
|
self, artifact_id: StrictStr, **kwargs
|
|
5154
5476
|
) -> ApiResponse: # noqa: E501
|
|
5155
|
-
"""Get Version Aliases For Artifact # noqa: E501
|
|
5477
|
+
"""(Deprecated) Get Version Aliases For Artifact # noqa: E501
|
|
5156
5478
|
|
|
5157
5479
|
This method makes a synchronous HTTP request by default. To make an
|
|
5158
5480
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5187,6 +5509,11 @@ class MlfoundryArtifactsApi:
|
|
|
5187
5509
|
:rtype: tuple(GetArtifactVersionAliasesResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5188
5510
|
"""
|
|
5189
5511
|
|
|
5512
|
+
warnings.warn(
|
|
5513
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-version-aliases is deprecated.",
|
|
5514
|
+
DeprecationWarning,
|
|
5515
|
+
)
|
|
5516
|
+
|
|
5190
5517
|
_params = locals()
|
|
5191
5518
|
|
|
5192
5519
|
_all_params = ["artifact_id"]
|
|
@@ -5235,7 +5562,7 @@ class MlfoundryArtifactsApi:
|
|
|
5235
5562
|
) # noqa: E501
|
|
5236
5563
|
|
|
5237
5564
|
# authentication setting
|
|
5238
|
-
_auth_settings = ["
|
|
5565
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5239
5566
|
|
|
5240
5567
|
_response_types_map = {
|
|
5241
5568
|
"200": "GetArtifactVersionAliasesResponseDto",
|
|
@@ -5267,7 +5594,7 @@ class MlfoundryArtifactsApi:
|
|
|
5267
5594
|
list_artifact_versions_request_dto: ListArtifactVersionsRequestDto,
|
|
5268
5595
|
**kwargs,
|
|
5269
5596
|
) -> ListArtifactVersionsResponseDto: # noqa: E501
|
|
5270
|
-
"""List Artifact Versions # noqa: E501
|
|
5597
|
+
"""(Deprecated) List Artifact Versions # noqa: E501
|
|
5271
5598
|
|
|
5272
5599
|
This method makes a synchronous HTTP request by default. To make an
|
|
5273
5600
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5302,7 +5629,7 @@ class MlfoundryArtifactsApi:
|
|
|
5302
5629
|
list_artifact_versions_request_dto: ListArtifactVersionsRequestDto,
|
|
5303
5630
|
**kwargs,
|
|
5304
5631
|
) -> ApiResponse: # noqa: E501
|
|
5305
|
-
"""List Artifact Versions # noqa: E501
|
|
5632
|
+
"""(Deprecated) List Artifact Versions # noqa: E501
|
|
5306
5633
|
|
|
5307
5634
|
This method makes a synchronous HTTP request by default. To make an
|
|
5308
5635
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5337,6 +5664,11 @@ class MlfoundryArtifactsApi:
|
|
|
5337
5664
|
:rtype: tuple(ListArtifactVersionsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5338
5665
|
"""
|
|
5339
5666
|
|
|
5667
|
+
warnings.warn(
|
|
5668
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/list is deprecated.",
|
|
5669
|
+
DeprecationWarning,
|
|
5670
|
+
)
|
|
5671
|
+
|
|
5340
5672
|
_params = locals()
|
|
5341
5673
|
|
|
5342
5674
|
_all_params = ["list_artifact_versions_request_dto"]
|
|
@@ -5393,7 +5725,7 @@ class MlfoundryArtifactsApi:
|
|
|
5393
5725
|
_header_params["Content-Type"] = _content_types_list
|
|
5394
5726
|
|
|
5395
5727
|
# authentication setting
|
|
5396
|
-
_auth_settings = ["
|
|
5728
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5397
5729
|
|
|
5398
5730
|
_response_types_map = {
|
|
5399
5731
|
"200": "ListArtifactVersionsResponseDto",
|
|
@@ -5423,7 +5755,7 @@ class MlfoundryArtifactsApi:
|
|
|
5423
5755
|
def list_artifacts_post(
|
|
5424
5756
|
self, list_artifacts_request_dto: ListArtifactsRequestDto, **kwargs
|
|
5425
5757
|
) -> ListArtifactsResponseDto: # noqa: E501
|
|
5426
|
-
"""List Artifacts # noqa: E501
|
|
5758
|
+
"""(Deprecated) List Artifacts # noqa: E501
|
|
5427
5759
|
|
|
5428
5760
|
This method makes a synchronous HTTP request by default. To make an
|
|
5429
5761
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5456,7 +5788,7 @@ class MlfoundryArtifactsApi:
|
|
|
5456
5788
|
def list_artifacts_post_with_http_info(
|
|
5457
5789
|
self, list_artifacts_request_dto: ListArtifactsRequestDto, **kwargs
|
|
5458
5790
|
) -> ApiResponse: # noqa: E501
|
|
5459
|
-
"""List Artifacts # noqa: E501
|
|
5791
|
+
"""(Deprecated) List Artifacts # noqa: E501
|
|
5460
5792
|
|
|
5461
5793
|
This method makes a synchronous HTTP request by default. To make an
|
|
5462
5794
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5491,6 +5823,11 @@ class MlfoundryArtifactsApi:
|
|
|
5491
5823
|
:rtype: tuple(ListArtifactsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5492
5824
|
"""
|
|
5493
5825
|
|
|
5826
|
+
warnings.warn(
|
|
5827
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifacts/list is deprecated.",
|
|
5828
|
+
DeprecationWarning,
|
|
5829
|
+
)
|
|
5830
|
+
|
|
5494
5831
|
_params = locals()
|
|
5495
5832
|
|
|
5496
5833
|
_all_params = ["list_artifacts_request_dto"]
|
|
@@ -5547,7 +5884,7 @@ class MlfoundryArtifactsApi:
|
|
|
5547
5884
|
_header_params["Content-Type"] = _content_types_list
|
|
5548
5885
|
|
|
5549
5886
|
# authentication setting
|
|
5550
|
-
_auth_settings = ["
|
|
5887
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5551
5888
|
|
|
5552
5889
|
_response_types_map = {
|
|
5553
5890
|
"200": "ListArtifactsResponseDto",
|
|
@@ -5577,7 +5914,7 @@ class MlfoundryArtifactsApi:
|
|
|
5577
5914
|
def list_datasets_post(
|
|
5578
5915
|
self, list_datasets_request_dto: ListDatasetsRequestDto, **kwargs
|
|
5579
5916
|
) -> ListDatasetsResponseDto: # noqa: E501
|
|
5580
|
-
"""List Datasets # noqa: E501
|
|
5917
|
+
"""(Deprecated) List Datasets # noqa: E501
|
|
5581
5918
|
|
|
5582
5919
|
This method makes a synchronous HTTP request by default. To make an
|
|
5583
5920
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5610,7 +5947,7 @@ class MlfoundryArtifactsApi:
|
|
|
5610
5947
|
def list_datasets_post_with_http_info(
|
|
5611
5948
|
self, list_datasets_request_dto: ListDatasetsRequestDto, **kwargs
|
|
5612
5949
|
) -> ApiResponse: # noqa: E501
|
|
5613
|
-
"""List Datasets # noqa: E501
|
|
5950
|
+
"""(Deprecated) List Datasets # noqa: E501
|
|
5614
5951
|
|
|
5615
5952
|
This method makes a synchronous HTTP request by default. To make an
|
|
5616
5953
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5645,6 +5982,11 @@ class MlfoundryArtifactsApi:
|
|
|
5645
5982
|
:rtype: tuple(ListDatasetsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5646
5983
|
"""
|
|
5647
5984
|
|
|
5985
|
+
warnings.warn(
|
|
5986
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/list is deprecated.",
|
|
5987
|
+
DeprecationWarning,
|
|
5988
|
+
)
|
|
5989
|
+
|
|
5648
5990
|
_params = locals()
|
|
5649
5991
|
|
|
5650
5992
|
_all_params = ["list_datasets_request_dto"]
|
|
@@ -5701,7 +6043,7 @@ class MlfoundryArtifactsApi:
|
|
|
5701
6043
|
_header_params["Content-Type"] = _content_types_list
|
|
5702
6044
|
|
|
5703
6045
|
# authentication setting
|
|
5704
|
-
_auth_settings = ["
|
|
6046
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5705
6047
|
|
|
5706
6048
|
_response_types_map = {
|
|
5707
6049
|
"200": "ListDatasetsResponseDto",
|
|
@@ -5733,7 +6075,7 @@ class MlfoundryArtifactsApi:
|
|
|
5733
6075
|
list_files_for_artifact_version_request_dto: ListFilesForArtifactVersionRequestDto,
|
|
5734
6076
|
**kwargs,
|
|
5735
6077
|
) -> ListFilesForArtifactVersionsResponseDto: # noqa: E501
|
|
5736
|
-
"""List Files For Artifact Version # noqa: E501
|
|
6078
|
+
"""(Deprecated) List Files For Artifact Version # noqa: E501
|
|
5737
6079
|
|
|
5738
6080
|
This method makes a synchronous HTTP request by default. To make an
|
|
5739
6081
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5768,7 +6110,7 @@ class MlfoundryArtifactsApi:
|
|
|
5768
6110
|
list_files_for_artifact_version_request_dto: ListFilesForArtifactVersionRequestDto,
|
|
5769
6111
|
**kwargs,
|
|
5770
6112
|
) -> ApiResponse: # noqa: E501
|
|
5771
|
-
"""List Files For Artifact Version # noqa: E501
|
|
6113
|
+
"""(Deprecated) List Files For Artifact Version # noqa: E501
|
|
5772
6114
|
|
|
5773
6115
|
This method makes a synchronous HTTP request by default. To make an
|
|
5774
6116
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5803,6 +6145,11 @@ class MlfoundryArtifactsApi:
|
|
|
5803
6145
|
:rtype: tuple(ListFilesForArtifactVersionsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5804
6146
|
"""
|
|
5805
6147
|
|
|
6148
|
+
warnings.warn(
|
|
6149
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/files/list is deprecated.",
|
|
6150
|
+
DeprecationWarning,
|
|
6151
|
+
)
|
|
6152
|
+
|
|
5806
6153
|
_params = locals()
|
|
5807
6154
|
|
|
5808
6155
|
_all_params = ["list_files_for_artifact_version_request_dto"]
|
|
@@ -5859,7 +6206,7 @@ class MlfoundryArtifactsApi:
|
|
|
5859
6206
|
_header_params["Content-Type"] = _content_types_list
|
|
5860
6207
|
|
|
5861
6208
|
# authentication setting
|
|
5862
|
-
_auth_settings = ["
|
|
6209
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
5863
6210
|
|
|
5864
6211
|
_response_types_map = {
|
|
5865
6212
|
"200": "ListFilesForArtifactVersionsResponseDto",
|
|
@@ -5891,7 +6238,7 @@ class MlfoundryArtifactsApi:
|
|
|
5891
6238
|
list_files_for_dataset_request_dto: ListFilesForDatasetRequestDto,
|
|
5892
6239
|
**kwargs,
|
|
5893
6240
|
) -> ListFilesForDatasetResponseDto: # noqa: E501
|
|
5894
|
-
"""List Files For Dataset # noqa: E501
|
|
6241
|
+
"""(Deprecated) List Files For Dataset # noqa: E501
|
|
5895
6242
|
|
|
5896
6243
|
This method makes a synchronous HTTP request by default. To make an
|
|
5897
6244
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5926,7 +6273,7 @@ class MlfoundryArtifactsApi:
|
|
|
5926
6273
|
list_files_for_dataset_request_dto: ListFilesForDatasetRequestDto,
|
|
5927
6274
|
**kwargs,
|
|
5928
6275
|
) -> ApiResponse: # noqa: E501
|
|
5929
|
-
"""List Files For Dataset # noqa: E501
|
|
6276
|
+
"""(Deprecated) List Files For Dataset # noqa: E501
|
|
5930
6277
|
|
|
5931
6278
|
This method makes a synchronous HTTP request by default. To make an
|
|
5932
6279
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -5961,6 +6308,11 @@ class MlfoundryArtifactsApi:
|
|
|
5961
6308
|
:rtype: tuple(ListFilesForDatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
5962
6309
|
"""
|
|
5963
6310
|
|
|
6311
|
+
warnings.warn(
|
|
6312
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/files/list is deprecated.",
|
|
6313
|
+
DeprecationWarning,
|
|
6314
|
+
)
|
|
6315
|
+
|
|
5964
6316
|
_params = locals()
|
|
5965
6317
|
|
|
5966
6318
|
_all_params = ["list_files_for_dataset_request_dto"]
|
|
@@ -6017,7 +6369,7 @@ class MlfoundryArtifactsApi:
|
|
|
6017
6369
|
_header_params["Content-Type"] = _content_types_list
|
|
6018
6370
|
|
|
6019
6371
|
# authentication setting
|
|
6020
|
-
_auth_settings = ["
|
|
6372
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6021
6373
|
|
|
6022
6374
|
_response_types_map = {
|
|
6023
6375
|
"200": "ListFilesForDatasetResponseDto",
|
|
@@ -6047,7 +6399,7 @@ class MlfoundryArtifactsApi:
|
|
|
6047
6399
|
def list_model_versions_post(
|
|
6048
6400
|
self, list_model_versions_request_dto: ListModelVersionsRequestDto, **kwargs
|
|
6049
6401
|
) -> ListModelVersionResponseDto: # noqa: E501
|
|
6050
|
-
"""List Model Versions # noqa: E501
|
|
6402
|
+
"""(Deprecated) List Model Versions # noqa: E501
|
|
6051
6403
|
|
|
6052
6404
|
This method makes a synchronous HTTP request by default. To make an
|
|
6053
6405
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6080,7 +6432,7 @@ class MlfoundryArtifactsApi:
|
|
|
6080
6432
|
def list_model_versions_post_with_http_info(
|
|
6081
6433
|
self, list_model_versions_request_dto: ListModelVersionsRequestDto, **kwargs
|
|
6082
6434
|
) -> ApiResponse: # noqa: E501
|
|
6083
|
-
"""List Model Versions # noqa: E501
|
|
6435
|
+
"""(Deprecated) List Model Versions # noqa: E501
|
|
6084
6436
|
|
|
6085
6437
|
This method makes a synchronous HTTP request by default. To make an
|
|
6086
6438
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6115,6 +6467,11 @@ class MlfoundryArtifactsApi:
|
|
|
6115
6467
|
:rtype: tuple(ListModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
6116
6468
|
"""
|
|
6117
6469
|
|
|
6470
|
+
warnings.warn(
|
|
6471
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/list is deprecated.",
|
|
6472
|
+
DeprecationWarning,
|
|
6473
|
+
)
|
|
6474
|
+
|
|
6118
6475
|
_params = locals()
|
|
6119
6476
|
|
|
6120
6477
|
_all_params = ["list_model_versions_request_dto"]
|
|
@@ -6171,7 +6528,7 @@ class MlfoundryArtifactsApi:
|
|
|
6171
6528
|
_header_params["Content-Type"] = _content_types_list
|
|
6172
6529
|
|
|
6173
6530
|
# authentication setting
|
|
6174
|
-
_auth_settings = ["
|
|
6531
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6175
6532
|
|
|
6176
6533
|
_response_types_map = {
|
|
6177
6534
|
"200": "ListModelVersionResponseDto",
|
|
@@ -6201,7 +6558,7 @@ class MlfoundryArtifactsApi:
|
|
|
6201
6558
|
def list_models_post(
|
|
6202
6559
|
self, list_models_request_dto: ListModelsRequestDto, **kwargs
|
|
6203
6560
|
) -> ListModelsResponseDto: # noqa: E501
|
|
6204
|
-
"""List Models # noqa: E501
|
|
6561
|
+
"""(Deprecated) List Models # noqa: E501
|
|
6205
6562
|
|
|
6206
6563
|
List Models # noqa: E501
|
|
6207
6564
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -6233,7 +6590,7 @@ class MlfoundryArtifactsApi:
|
|
|
6233
6590
|
def list_models_post_with_http_info(
|
|
6234
6591
|
self, list_models_request_dto: ListModelsRequestDto, **kwargs
|
|
6235
6592
|
) -> ApiResponse: # noqa: E501
|
|
6236
|
-
"""List Models # noqa: E501
|
|
6593
|
+
"""(Deprecated) List Models # noqa: E501
|
|
6237
6594
|
|
|
6238
6595
|
List Models # noqa: E501
|
|
6239
6596
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -6269,6 +6626,11 @@ class MlfoundryArtifactsApi:
|
|
|
6269
6626
|
:rtype: tuple(ListModelsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
6270
6627
|
"""
|
|
6271
6628
|
|
|
6629
|
+
warnings.warn(
|
|
6630
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/models/list is deprecated.",
|
|
6631
|
+
DeprecationWarning,
|
|
6632
|
+
)
|
|
6633
|
+
|
|
6272
6634
|
_params = locals()
|
|
6273
6635
|
|
|
6274
6636
|
_all_params = ["list_models_request_dto"]
|
|
@@ -6325,7 +6687,7 @@ class MlfoundryArtifactsApi:
|
|
|
6325
6687
|
_header_params["Content-Type"] = _content_types_list
|
|
6326
6688
|
|
|
6327
6689
|
# authentication setting
|
|
6328
|
-
_auth_settings = ["
|
|
6690
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6329
6691
|
|
|
6330
6692
|
_response_types_map = {
|
|
6331
6693
|
"200": "ListModelsResponseDto",
|
|
@@ -6357,7 +6719,7 @@ class MlfoundryArtifactsApi:
|
|
|
6357
6719
|
notify_artifact_version_failure_dto: NotifyArtifactVersionFailureDto,
|
|
6358
6720
|
**kwargs,
|
|
6359
6721
|
) -> object: # noqa: E501
|
|
6360
|
-
"""Notify Failure # noqa: E501
|
|
6722
|
+
"""(Deprecated) Notify Failure # noqa: E501
|
|
6361
6723
|
|
|
6362
6724
|
This method makes a synchronous HTTP request by default. To make an
|
|
6363
6725
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6392,7 +6754,7 @@ class MlfoundryArtifactsApi:
|
|
|
6392
6754
|
notify_artifact_version_failure_dto: NotifyArtifactVersionFailureDto,
|
|
6393
6755
|
**kwargs,
|
|
6394
6756
|
) -> ApiResponse: # noqa: E501
|
|
6395
|
-
"""Notify Failure # noqa: E501
|
|
6757
|
+
"""(Deprecated) Notify Failure # noqa: E501
|
|
6396
6758
|
|
|
6397
6759
|
This method makes a synchronous HTTP request by default. To make an
|
|
6398
6760
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6427,6 +6789,11 @@ class MlfoundryArtifactsApi:
|
|
|
6427
6789
|
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
|
6428
6790
|
"""
|
|
6429
6791
|
|
|
6792
|
+
warnings.warn(
|
|
6793
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/notify-failure is deprecated.",
|
|
6794
|
+
DeprecationWarning,
|
|
6795
|
+
)
|
|
6796
|
+
|
|
6430
6797
|
_params = locals()
|
|
6431
6798
|
|
|
6432
6799
|
_all_params = ["notify_artifact_version_failure_dto"]
|
|
@@ -6483,7 +6850,7 @@ class MlfoundryArtifactsApi:
|
|
|
6483
6850
|
_header_params["Content-Type"] = _content_types_list
|
|
6484
6851
|
|
|
6485
6852
|
# authentication setting
|
|
6486
|
-
_auth_settings = ["
|
|
6853
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6487
6854
|
|
|
6488
6855
|
_response_types_map = {
|
|
6489
6856
|
"200": "object",
|
|
@@ -6511,7 +6878,7 @@ class MlfoundryArtifactsApi:
|
|
|
6511
6878
|
|
|
6512
6879
|
@validate_arguments
|
|
6513
6880
|
def resolve_agent_get(self, fqn: StrictStr, **kwargs) -> ResolveAgentAppResponseDto: # noqa: E501
|
|
6514
|
-
"""Resolve Agent # noqa: E501
|
|
6881
|
+
"""(Deprecated) Resolve Agent # noqa: E501
|
|
6515
6882
|
|
|
6516
6883
|
This method makes a synchronous HTTP request by default. To make an
|
|
6517
6884
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6540,7 +6907,7 @@ class MlfoundryArtifactsApi:
|
|
|
6540
6907
|
|
|
6541
6908
|
@validate_arguments
|
|
6542
6909
|
def resolve_agent_get_with_http_info(self, fqn: StrictStr, **kwargs) -> ApiResponse: # noqa: E501
|
|
6543
|
-
"""Resolve Agent # noqa: E501
|
|
6910
|
+
"""(Deprecated) Resolve Agent # noqa: E501
|
|
6544
6911
|
|
|
6545
6912
|
This method makes a synchronous HTTP request by default. To make an
|
|
6546
6913
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6575,6 +6942,11 @@ class MlfoundryArtifactsApi:
|
|
|
6575
6942
|
:rtype: tuple(ResolveAgentAppResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
6576
6943
|
"""
|
|
6577
6944
|
|
|
6945
|
+
warnings.warn(
|
|
6946
|
+
"GET /api/2.0/mlflow/mlfoundry-artifacts/agent/resolve is deprecated.",
|
|
6947
|
+
DeprecationWarning,
|
|
6948
|
+
)
|
|
6949
|
+
|
|
6578
6950
|
_params = locals()
|
|
6579
6951
|
|
|
6580
6952
|
_all_params = ["fqn"]
|
|
@@ -6623,7 +6995,7 @@ class MlfoundryArtifactsApi:
|
|
|
6623
6995
|
) # noqa: E501
|
|
6624
6996
|
|
|
6625
6997
|
# authentication setting
|
|
6626
|
-
_auth_settings = ["
|
|
6998
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6627
6999
|
|
|
6628
7000
|
_response_types_map = {
|
|
6629
7001
|
"200": "ResolveAgentAppResponseDto",
|
|
@@ -6655,7 +7027,7 @@ class MlfoundryArtifactsApi:
|
|
|
6655
7027
|
update_artifact_version_request_dto: UpdateArtifactVersionRequestDto,
|
|
6656
7028
|
**kwargs,
|
|
6657
7029
|
) -> ArtifactVersionResponseDto: # noqa: E501
|
|
6658
|
-
"""Update Artifact Version # noqa: E501
|
|
7030
|
+
"""(Deprecated) Update Artifact Version # noqa: E501
|
|
6659
7031
|
|
|
6660
7032
|
This method makes a synchronous HTTP request by default. To make an
|
|
6661
7033
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6690,7 +7062,7 @@ class MlfoundryArtifactsApi:
|
|
|
6690
7062
|
update_artifact_version_request_dto: UpdateArtifactVersionRequestDto,
|
|
6691
7063
|
**kwargs,
|
|
6692
7064
|
) -> ApiResponse: # noqa: E501
|
|
6693
|
-
"""Update Artifact Version # noqa: E501
|
|
7065
|
+
"""(Deprecated) Update Artifact Version # noqa: E501
|
|
6694
7066
|
|
|
6695
7067
|
This method makes a synchronous HTTP request by default. To make an
|
|
6696
7068
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6725,6 +7097,11 @@ class MlfoundryArtifactsApi:
|
|
|
6725
7097
|
:rtype: tuple(ArtifactVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
6726
7098
|
"""
|
|
6727
7099
|
|
|
7100
|
+
warnings.warn(
|
|
7101
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/update is deprecated.",
|
|
7102
|
+
DeprecationWarning,
|
|
7103
|
+
)
|
|
7104
|
+
|
|
6728
7105
|
_params = locals()
|
|
6729
7106
|
|
|
6730
7107
|
_all_params = ["update_artifact_version_request_dto"]
|
|
@@ -6781,7 +7158,7 @@ class MlfoundryArtifactsApi:
|
|
|
6781
7158
|
_header_params["Content-Type"] = _content_types_list
|
|
6782
7159
|
|
|
6783
7160
|
# authentication setting
|
|
6784
|
-
_auth_settings = ["
|
|
7161
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6785
7162
|
|
|
6786
7163
|
_response_types_map = {
|
|
6787
7164
|
"200": "ArtifactVersionResponseDto",
|
|
@@ -6811,7 +7188,7 @@ class MlfoundryArtifactsApi:
|
|
|
6811
7188
|
def update_dataset_post(
|
|
6812
7189
|
self, update_dataset_request_dto: UpdateDatasetRequestDto, **kwargs
|
|
6813
7190
|
) -> DatasetResponseDto: # noqa: E501
|
|
6814
|
-
"""Update Dataset # noqa: E501
|
|
7191
|
+
"""(Deprecated) Update Dataset # noqa: E501
|
|
6815
7192
|
|
|
6816
7193
|
This method makes a synchronous HTTP request by default. To make an
|
|
6817
7194
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6844,7 +7221,7 @@ class MlfoundryArtifactsApi:
|
|
|
6844
7221
|
def update_dataset_post_with_http_info(
|
|
6845
7222
|
self, update_dataset_request_dto: UpdateDatasetRequestDto, **kwargs
|
|
6846
7223
|
) -> ApiResponse: # noqa: E501
|
|
6847
|
-
"""Update Dataset # noqa: E501
|
|
7224
|
+
"""(Deprecated) Update Dataset # noqa: E501
|
|
6848
7225
|
|
|
6849
7226
|
This method makes a synchronous HTTP request by default. To make an
|
|
6850
7227
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6879,6 +7256,11 @@ class MlfoundryArtifactsApi:
|
|
|
6879
7256
|
:rtype: tuple(DatasetResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
6880
7257
|
"""
|
|
6881
7258
|
|
|
7259
|
+
warnings.warn(
|
|
7260
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/datasets/update is deprecated.",
|
|
7261
|
+
DeprecationWarning,
|
|
7262
|
+
)
|
|
7263
|
+
|
|
6882
7264
|
_params = locals()
|
|
6883
7265
|
|
|
6884
7266
|
_all_params = ["update_dataset_request_dto"]
|
|
@@ -6935,7 +7317,7 @@ class MlfoundryArtifactsApi:
|
|
|
6935
7317
|
_header_params["Content-Type"] = _content_types_list
|
|
6936
7318
|
|
|
6937
7319
|
# authentication setting
|
|
6938
|
-
_auth_settings = ["
|
|
7320
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
6939
7321
|
|
|
6940
7322
|
_response_types_map = {
|
|
6941
7323
|
"200": "DatasetResponseDto",
|
|
@@ -6965,7 +7347,7 @@ class MlfoundryArtifactsApi:
|
|
|
6965
7347
|
def update_model_version_post(
|
|
6966
7348
|
self, update_model_version_request_dto: UpdateModelVersionRequestDto, **kwargs
|
|
6967
7349
|
) -> ModelVersionResponseDto: # noqa: E501
|
|
6968
|
-
"""Update Model Version # noqa: E501
|
|
7350
|
+
"""(Deprecated) Update Model Version # noqa: E501
|
|
6969
7351
|
|
|
6970
7352
|
This method makes a synchronous HTTP request by default. To make an
|
|
6971
7353
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -6998,7 +7380,7 @@ class MlfoundryArtifactsApi:
|
|
|
6998
7380
|
def update_model_version_post_with_http_info(
|
|
6999
7381
|
self, update_model_version_request_dto: UpdateModelVersionRequestDto, **kwargs
|
|
7000
7382
|
) -> ApiResponse: # noqa: E501
|
|
7001
|
-
"""Update Model Version # noqa: E501
|
|
7383
|
+
"""(Deprecated) Update Model Version # noqa: E501
|
|
7002
7384
|
|
|
7003
7385
|
This method makes a synchronous HTTP request by default. To make an
|
|
7004
7386
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -7033,6 +7415,11 @@ class MlfoundryArtifactsApi:
|
|
|
7033
7415
|
:rtype: tuple(ModelVersionResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
7034
7416
|
"""
|
|
7035
7417
|
|
|
7418
|
+
warnings.warn(
|
|
7419
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/model-versions/update is deprecated.",
|
|
7420
|
+
DeprecationWarning,
|
|
7421
|
+
)
|
|
7422
|
+
|
|
7036
7423
|
_params = locals()
|
|
7037
7424
|
|
|
7038
7425
|
_all_params = ["update_model_version_request_dto"]
|
|
@@ -7089,7 +7476,7 @@ class MlfoundryArtifactsApi:
|
|
|
7089
7476
|
_header_params["Content-Type"] = _content_types_list
|
|
7090
7477
|
|
|
7091
7478
|
# authentication setting
|
|
7092
|
-
_auth_settings = ["
|
|
7479
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
7093
7480
|
|
|
7094
7481
|
_response_types_map = {
|
|
7095
7482
|
"200": "ModelVersionResponseDto",
|
|
@@ -7121,7 +7508,7 @@ class MlfoundryArtifactsApi:
|
|
|
7121
7508
|
validate_external_storage_root_request_dto: ValidateExternalStorageRootRequestDto,
|
|
7122
7509
|
**kwargs,
|
|
7123
7510
|
) -> ValidateExternalStorageRootResponseDto: # noqa: E501
|
|
7124
|
-
"""Validate External Storage Root Path # noqa: E501
|
|
7511
|
+
"""(Deprecated) Validate External Storage Root Path # noqa: E501
|
|
7125
7512
|
|
|
7126
7513
|
This method makes a synchronous HTTP request by default. To make an
|
|
7127
7514
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -7156,7 +7543,7 @@ class MlfoundryArtifactsApi:
|
|
|
7156
7543
|
validate_external_storage_root_request_dto: ValidateExternalStorageRootRequestDto,
|
|
7157
7544
|
**kwargs,
|
|
7158
7545
|
) -> ApiResponse: # noqa: E501
|
|
7159
|
-
"""Validate External Storage Root Path # noqa: E501
|
|
7546
|
+
"""(Deprecated) Validate External Storage Root Path # noqa: E501
|
|
7160
7547
|
|
|
7161
7548
|
This method makes a synchronous HTTP request by default. To make an
|
|
7162
7549
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -7191,6 +7578,11 @@ class MlfoundryArtifactsApi:
|
|
|
7191
7578
|
:rtype: tuple(ValidateExternalStorageRootResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
7192
7579
|
"""
|
|
7193
7580
|
|
|
7581
|
+
warnings.warn(
|
|
7582
|
+
"POST /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/validate-storage-root is deprecated.",
|
|
7583
|
+
DeprecationWarning,
|
|
7584
|
+
)
|
|
7585
|
+
|
|
7194
7586
|
_params = locals()
|
|
7195
7587
|
|
|
7196
7588
|
_all_params = ["validate_external_storage_root_request_dto"]
|
|
@@ -7247,7 +7639,7 @@ class MlfoundryArtifactsApi:
|
|
|
7247
7639
|
_header_params["Content-Type"] = _content_types_list
|
|
7248
7640
|
|
|
7249
7641
|
# authentication setting
|
|
7250
|
-
_auth_settings = ["
|
|
7642
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
7251
7643
|
|
|
7252
7644
|
_response_types_map = {
|
|
7253
7645
|
"200": "ValidateExternalStorageRootResponseDto",
|