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,26 +1,27 @@
|
|
|
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.list_run_artifacts_response_dto import (
|
|
24
25
|
ListRunArtifactsResponseDto,
|
|
25
26
|
)
|
|
26
27
|
from truefoundry.pydantic_v1 import (
|
|
@@ -52,7 +53,7 @@ class RunArtifactsApi:
|
|
|
52
53
|
max_results: Optional[StrictInt] = None,
|
|
53
54
|
**kwargs,
|
|
54
55
|
) -> ListRunArtifactsResponseDto: # noqa: E501
|
|
55
|
-
"""List Run Artifacts # noqa: E501
|
|
56
|
+
"""(Deprecated) List Run Artifacts # noqa: E501
|
|
56
57
|
|
|
57
58
|
List legacy run level artifacts (files and directories) # noqa: E501
|
|
58
59
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -100,7 +101,7 @@ class RunArtifactsApi:
|
|
|
100
101
|
max_results: Optional[StrictInt] = None,
|
|
101
102
|
**kwargs,
|
|
102
103
|
) -> ApiResponse: # noqa: E501
|
|
103
|
-
"""List Run Artifacts # noqa: E501
|
|
104
|
+
"""(Deprecated) List Run Artifacts # noqa: E501
|
|
104
105
|
|
|
105
106
|
List legacy run level artifacts (files and directories) # noqa: E501
|
|
106
107
|
This method makes a synchronous HTTP request by default. To make an
|
|
@@ -144,6 +145,10 @@ class RunArtifactsApi:
|
|
|
144
145
|
:rtype: tuple(ListRunArtifactsResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
145
146
|
"""
|
|
146
147
|
|
|
148
|
+
warnings.warn(
|
|
149
|
+
"GET /api/2.0/mlflow/artifacts/list is deprecated.", DeprecationWarning
|
|
150
|
+
)
|
|
151
|
+
|
|
147
152
|
_params = locals()
|
|
148
153
|
|
|
149
154
|
_all_params = ["run_id", "run_uuid", "path", "page_token", "max_results"]
|
|
@@ -204,7 +209,7 @@ class RunArtifactsApi:
|
|
|
204
209
|
) # noqa: E501
|
|
205
210
|
|
|
206
211
|
# authentication setting
|
|
207
|
-
_auth_settings = ["
|
|
212
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
208
213
|
|
|
209
214
|
_response_types_map = {
|
|
210
215
|
"200": "ListRunArtifactsResponseDto",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -14,58 +14,58 @@ Do not edit the class manually.
|
|
|
14
14
|
import re # noqa: F401
|
|
15
15
|
from typing import Optional
|
|
16
16
|
|
|
17
|
-
from truefoundry.ml.
|
|
18
|
-
from truefoundry.ml.
|
|
19
|
-
from truefoundry.ml.
|
|
17
|
+
from truefoundry.ml._autogen.client.api_client import ApiClient
|
|
18
|
+
from truefoundry.ml._autogen.client.api_response import ApiResponse
|
|
19
|
+
from truefoundry.ml._autogen.client.exceptions import ( # noqa: F401
|
|
20
20
|
ApiTypeError,
|
|
21
21
|
ApiValueError,
|
|
22
22
|
)
|
|
23
|
-
from truefoundry.ml.
|
|
23
|
+
from truefoundry.ml._autogen.client.models.create_run_request_dto import (
|
|
24
24
|
CreateRunRequestDto,
|
|
25
25
|
)
|
|
26
|
-
from truefoundry.ml.
|
|
26
|
+
from truefoundry.ml._autogen.client.models.create_run_response_dto import (
|
|
27
27
|
CreateRunResponseDto,
|
|
28
28
|
)
|
|
29
|
-
from truefoundry.ml.
|
|
30
|
-
from truefoundry.ml.
|
|
29
|
+
from truefoundry.ml._autogen.client.models.delete_run_request import DeleteRunRequest
|
|
30
|
+
from truefoundry.ml._autogen.client.models.delete_tag_request_dto import (
|
|
31
31
|
DeleteTagRequestDto,
|
|
32
32
|
)
|
|
33
|
-
from truefoundry.ml.
|
|
33
|
+
from truefoundry.ml._autogen.client.models.get_latest_run_log_response_dto import (
|
|
34
34
|
GetLatestRunLogResponseDto,
|
|
35
35
|
)
|
|
36
|
-
from truefoundry.ml.
|
|
36
|
+
from truefoundry.ml._autogen.client.models.list_latest_run_logs_response_dto import (
|
|
37
37
|
ListLatestRunLogsResponseDto,
|
|
38
38
|
)
|
|
39
|
-
from truefoundry.ml.
|
|
39
|
+
from truefoundry.ml._autogen.client.models.list_run_logs_response_dto import (
|
|
40
40
|
ListRunLogsResponseDto,
|
|
41
41
|
)
|
|
42
|
-
from truefoundry.ml.
|
|
42
|
+
from truefoundry.ml._autogen.client.models.log_batch_request_dto import (
|
|
43
43
|
LogBatchRequestDto,
|
|
44
44
|
)
|
|
45
|
-
from truefoundry.ml.
|
|
45
|
+
from truefoundry.ml._autogen.client.models.log_metric_request_dto import (
|
|
46
46
|
LogMetricRequestDto,
|
|
47
47
|
)
|
|
48
|
-
from truefoundry.ml.
|
|
48
|
+
from truefoundry.ml._autogen.client.models.log_param_request_dto import (
|
|
49
49
|
LogParamRequestDto,
|
|
50
50
|
)
|
|
51
|
-
from truefoundry.ml.
|
|
51
|
+
from truefoundry.ml._autogen.client.models.restore_run_request_dto import (
|
|
52
52
|
RestoreRunRequestDto,
|
|
53
53
|
)
|
|
54
|
-
from truefoundry.ml.
|
|
55
|
-
from truefoundry.ml.
|
|
54
|
+
from truefoundry.ml._autogen.client.models.run_response_dto import RunResponseDto
|
|
55
|
+
from truefoundry.ml._autogen.client.models.search_runs_request_dto import (
|
|
56
56
|
SearchRunsRequestDto,
|
|
57
57
|
)
|
|
58
|
-
from truefoundry.ml.
|
|
58
|
+
from truefoundry.ml._autogen.client.models.search_runs_response_dto import (
|
|
59
59
|
SearchRunsResponseDto,
|
|
60
60
|
)
|
|
61
|
-
from truefoundry.ml.
|
|
62
|
-
from truefoundry.ml.
|
|
61
|
+
from truefoundry.ml._autogen.client.models.set_tag_request_dto import SetTagRequestDto
|
|
62
|
+
from truefoundry.ml._autogen.client.models.store_run_logs_request_dto import (
|
|
63
63
|
StoreRunLogsRequestDto,
|
|
64
64
|
)
|
|
65
|
-
from truefoundry.ml.
|
|
65
|
+
from truefoundry.ml._autogen.client.models.update_run_request_dto import (
|
|
66
66
|
UpdateRunRequestDto,
|
|
67
67
|
)
|
|
68
|
-
from truefoundry.ml.
|
|
68
|
+
from truefoundry.ml._autogen.client.models.update_run_response_dto import (
|
|
69
69
|
UpdateRunResponseDto,
|
|
70
70
|
)
|
|
71
71
|
from truefoundry.pydantic_v1 import (
|
|
@@ -216,7 +216,7 @@ class RunsApi:
|
|
|
216
216
|
_header_params["Content-Type"] = _content_types_list
|
|
217
217
|
|
|
218
218
|
# authentication setting
|
|
219
|
-
_auth_settings = ["
|
|
219
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
220
220
|
|
|
221
221
|
_response_types_map = {
|
|
222
222
|
"200": "CreateRunResponseDto",
|
|
@@ -368,7 +368,7 @@ class RunsApi:
|
|
|
368
368
|
_header_params["Content-Type"] = _content_types_list
|
|
369
369
|
|
|
370
370
|
# authentication setting
|
|
371
|
-
_auth_settings = ["
|
|
371
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
372
372
|
|
|
373
373
|
_response_types_map = {
|
|
374
374
|
"200": "object",
|
|
@@ -522,7 +522,7 @@ class RunsApi:
|
|
|
522
522
|
_header_params["Content-Type"] = _content_types_list
|
|
523
523
|
|
|
524
524
|
# authentication setting
|
|
525
|
-
_auth_settings = ["
|
|
525
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
526
526
|
|
|
527
527
|
_response_types_map = {
|
|
528
528
|
"200": "object",
|
|
@@ -666,7 +666,7 @@ class RunsApi:
|
|
|
666
666
|
) # noqa: E501
|
|
667
667
|
|
|
668
668
|
# authentication setting
|
|
669
|
-
_auth_settings = ["
|
|
669
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
670
670
|
|
|
671
671
|
_response_types_map = {
|
|
672
672
|
"200": "RunResponseDto",
|
|
@@ -836,7 +836,7 @@ class RunsApi:
|
|
|
836
836
|
) # noqa: E501
|
|
837
837
|
|
|
838
838
|
# authentication setting
|
|
839
|
-
_auth_settings = ["
|
|
839
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
840
840
|
|
|
841
841
|
_response_types_map = {
|
|
842
842
|
"200": "RunResponseDto",
|
|
@@ -995,7 +995,7 @@ class RunsApi:
|
|
|
995
995
|
) # noqa: E501
|
|
996
996
|
|
|
997
997
|
# authentication setting
|
|
998
|
-
_auth_settings = ["
|
|
998
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
999
999
|
|
|
1000
1000
|
_response_types_map = {
|
|
1001
1001
|
"200": "RunResponseDto",
|
|
@@ -1149,7 +1149,7 @@ class RunsApi:
|
|
|
1149
1149
|
_header_params["Content-Type"] = _content_types_list
|
|
1150
1150
|
|
|
1151
1151
|
# authentication setting
|
|
1152
|
-
_auth_settings = ["
|
|
1152
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1153
1153
|
|
|
1154
1154
|
_response_types_map = {
|
|
1155
1155
|
"200": "object",
|
|
@@ -1309,7 +1309,7 @@ class RunsApi:
|
|
|
1309
1309
|
) # noqa: E501
|
|
1310
1310
|
|
|
1311
1311
|
# authentication setting
|
|
1312
|
-
_auth_settings = ["
|
|
1312
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1313
1313
|
|
|
1314
1314
|
_response_types_map = {
|
|
1315
1315
|
"200": "GetLatestRunLogResponseDto",
|
|
@@ -1477,7 +1477,7 @@ class RunsApi:
|
|
|
1477
1477
|
) # noqa: E501
|
|
1478
1478
|
|
|
1479
1479
|
# authentication setting
|
|
1480
|
-
_auth_settings = ["
|
|
1480
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1481
1481
|
|
|
1482
1482
|
_response_types_map = {
|
|
1483
1483
|
"200": "ListLatestRunLogsResponseDto",
|
|
@@ -1664,7 +1664,7 @@ class RunsApi:
|
|
|
1664
1664
|
_header_params["Content-Type"] = _content_types_list
|
|
1665
1665
|
|
|
1666
1666
|
# authentication setting
|
|
1667
|
-
_auth_settings = ["
|
|
1667
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1668
1668
|
|
|
1669
1669
|
_response_types_map = {
|
|
1670
1670
|
"200": "ListRunLogsResponseDto",
|
|
@@ -1818,7 +1818,7 @@ class RunsApi:
|
|
|
1818
1818
|
_header_params["Content-Type"] = _content_types_list
|
|
1819
1819
|
|
|
1820
1820
|
# authentication setting
|
|
1821
|
-
_auth_settings = ["
|
|
1821
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1822
1822
|
|
|
1823
1823
|
_response_types_map = {
|
|
1824
1824
|
"200": "object",
|
|
@@ -1972,7 +1972,7 @@ class RunsApi:
|
|
|
1972
1972
|
_header_params["Content-Type"] = _content_types_list
|
|
1973
1973
|
|
|
1974
1974
|
# authentication setting
|
|
1975
|
-
_auth_settings = ["
|
|
1975
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
1976
1976
|
|
|
1977
1977
|
_response_types_map = {
|
|
1978
1978
|
"200": "object",
|
|
@@ -2126,7 +2126,7 @@ class RunsApi:
|
|
|
2126
2126
|
_header_params["Content-Type"] = _content_types_list
|
|
2127
2127
|
|
|
2128
2128
|
# authentication setting
|
|
2129
|
-
_auth_settings = ["
|
|
2129
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2130
2130
|
|
|
2131
2131
|
_response_types_map = {
|
|
2132
2132
|
"200": "object",
|
|
@@ -2278,7 +2278,7 @@ class RunsApi:
|
|
|
2278
2278
|
_header_params["Content-Type"] = _content_types_list
|
|
2279
2279
|
|
|
2280
2280
|
# authentication setting
|
|
2281
|
-
_auth_settings = ["
|
|
2281
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2282
2282
|
|
|
2283
2283
|
_response_types_map = {
|
|
2284
2284
|
"200": "object",
|
|
@@ -2432,7 +2432,7 @@ class RunsApi:
|
|
|
2432
2432
|
_header_params["Content-Type"] = _content_types_list
|
|
2433
2433
|
|
|
2434
2434
|
# authentication setting
|
|
2435
|
-
_auth_settings = ["
|
|
2435
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2436
2436
|
|
|
2437
2437
|
_response_types_map = {
|
|
2438
2438
|
"200": "object",
|
|
@@ -2584,7 +2584,7 @@ class RunsApi:
|
|
|
2584
2584
|
_header_params["Content-Type"] = _content_types_list
|
|
2585
2585
|
|
|
2586
2586
|
# authentication setting
|
|
2587
|
-
_auth_settings = ["
|
|
2587
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2588
2588
|
|
|
2589
2589
|
_response_types_map = {
|
|
2590
2590
|
"200": "SearchRunsResponseDto",
|
|
@@ -2738,7 +2738,7 @@ class RunsApi:
|
|
|
2738
2738
|
_header_params["Content-Type"] = _content_types_list
|
|
2739
2739
|
|
|
2740
2740
|
# authentication setting
|
|
2741
|
-
_auth_settings = ["
|
|
2741
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2742
2742
|
|
|
2743
2743
|
_response_types_map = {
|
|
2744
2744
|
"200": "object",
|
|
@@ -2892,7 +2892,7 @@ class RunsApi:
|
|
|
2892
2892
|
_header_params["Content-Type"] = _content_types_list
|
|
2893
2893
|
|
|
2894
2894
|
# authentication setting
|
|
2895
|
-
_auth_settings = ["
|
|
2895
|
+
_auth_settings = ["APIKey"] # noqa: E501
|
|
2896
2896
|
|
|
2897
2897
|
_response_types_map = {
|
|
2898
2898
|
"200": "UpdateRunResponseDto",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -23,11 +23,11 @@ from urllib.parse import quote
|
|
|
23
23
|
|
|
24
24
|
from dateutil.parser import parse
|
|
25
25
|
|
|
26
|
-
import truefoundry.ml.
|
|
27
|
-
from truefoundry.ml.
|
|
28
|
-
from truefoundry.ml.
|
|
29
|
-
from truefoundry.ml.
|
|
30
|
-
from truefoundry.ml.
|
|
26
|
+
import truefoundry.ml._autogen.client.models
|
|
27
|
+
from truefoundry.ml._autogen.client import rest
|
|
28
|
+
from truefoundry.ml._autogen.client.api_response import ApiResponse
|
|
29
|
+
from truefoundry.ml._autogen.client.configuration import Configuration
|
|
30
|
+
from truefoundry.ml._autogen.client.exceptions import ApiException, ApiValueError
|
|
31
31
|
from truefoundry.pydantic_v1 import SecretStr
|
|
32
32
|
|
|
33
33
|
|
|
@@ -376,7 +376,7 @@ class ApiClient:
|
|
|
376
376
|
if klass in self.NATIVE_TYPES_MAPPING:
|
|
377
377
|
klass = self.NATIVE_TYPES_MAPPING[klass]
|
|
378
378
|
else:
|
|
379
|
-
klass = getattr(truefoundry.ml.
|
|
379
|
+
klass = getattr(truefoundry.ml._autogen.client.models, klass)
|
|
380
380
|
|
|
381
381
|
if klass in self.PRIMITIVE_TYPES:
|
|
382
382
|
return self.__deserialize_primitive(data, klass)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -36,50 +36,31 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|
|
36
36
|
class Configuration:
|
|
37
37
|
"""This class contains various settings of the API client.
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
API Key Authentication Example.
|
|
66
|
-
Given the following security scheme in the OpenAPI specification:
|
|
67
|
-
components:
|
|
68
|
-
securitySchemes:
|
|
69
|
-
cookieAuth: # name for the security scheme
|
|
70
|
-
type: apiKey
|
|
71
|
-
in: cookie
|
|
72
|
-
name: JSESSIONID # cookie name
|
|
73
|
-
|
|
74
|
-
You can programmatically set the cookie:
|
|
75
|
-
|
|
76
|
-
conf = truefoundry.ml.autogen.client.Configuration(
|
|
77
|
-
api_key={'cookieAuth': 'abc123'}
|
|
78
|
-
api_key_prefix={'cookieAuth': 'JSESSIONID'}
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
The following cookie will be added to the HTTP request:
|
|
82
|
-
Cookie: JSESSIONID abc123
|
|
39
|
+
:param host: Base url.
|
|
40
|
+
:param api_key: Dict to store API key(s).
|
|
41
|
+
Each entry in the dict specifies an API key.
|
|
42
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
43
|
+
The dict value is the API key secret.
|
|
44
|
+
:param api_key_prefix: Dict to store API prefix (e.g. Bearer).
|
|
45
|
+
The dict key is the name of the security scheme in the OAS specification.
|
|
46
|
+
The dict value is an API key prefix when generating the auth data.
|
|
47
|
+
:param username: Username for HTTP basic authentication.
|
|
48
|
+
:param password: Password for HTTP basic authentication.
|
|
49
|
+
:param access_token: Access token.
|
|
50
|
+
:param server_index: Index to servers configuration.
|
|
51
|
+
:param server_variables: Mapping with string values to replace variables in
|
|
52
|
+
templated server configuration. The validation of enums is performed for
|
|
53
|
+
variables with defined enum values before.
|
|
54
|
+
:param server_operation_index: Mapping from operation ID to an index to server
|
|
55
|
+
configuration.
|
|
56
|
+
:param server_operation_variables: Mapping from operation ID to a mapping with
|
|
57
|
+
string values to replace variables in templated server configuration.
|
|
58
|
+
The validation of enums is performed for variables with defined enum
|
|
59
|
+
values before.
|
|
60
|
+
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
|
61
|
+
in PEM format.
|
|
62
|
+
|
|
63
|
+
:Example:
|
|
83
64
|
"""
|
|
84
65
|
|
|
85
66
|
_default = None
|
|
@@ -140,7 +121,7 @@ class Configuration:
|
|
|
140
121
|
"""Logging Settings
|
|
141
122
|
"""
|
|
142
123
|
self.logger["package_logger"] = logging.getLogger(
|
|
143
|
-
"truefoundry.ml.
|
|
124
|
+
"truefoundry.ml._autogen.client"
|
|
144
125
|
)
|
|
145
126
|
self.logger["urllib3_logger"] = logging.getLogger("urllib3")
|
|
146
127
|
self.logger_format = "%(asctime)s %(levelname)s %(message)s"
|
|
@@ -394,21 +375,12 @@ class Configuration:
|
|
|
394
375
|
"""
|
|
395
376
|
auth = {}
|
|
396
377
|
if self.access_token is not None:
|
|
397
|
-
auth["
|
|
378
|
+
auth["APIKey"] = {
|
|
398
379
|
"type": "bearer",
|
|
399
380
|
"in": "header",
|
|
400
381
|
"key": "Authorization",
|
|
401
382
|
"value": "Bearer " + self.access_token,
|
|
402
383
|
}
|
|
403
|
-
if "APIKeyCookie" in self.api_key:
|
|
404
|
-
auth["APIKeyCookie"] = {
|
|
405
|
-
"type": "api_key",
|
|
406
|
-
"in": "cookie",
|
|
407
|
-
"key": "accessToken",
|
|
408
|
-
"value": self.get_api_key_with_prefix(
|
|
409
|
-
"APIKeyCookie",
|
|
410
|
-
),
|
|
411
|
-
}
|
|
412
384
|
return auth
|
|
413
385
|
|
|
414
386
|
def to_debug_report(self):
|
|
@@ -420,7 +392,7 @@ class Configuration:
|
|
|
420
392
|
"Python SDK Debug Report:\n"
|
|
421
393
|
"OS: {env}\n"
|
|
422
394
|
"Python Version: {pyversion}\n"
|
|
423
|
-
"Version of the API:
|
|
395
|
+
"Version of the API: 1.0.0\n"
|
|
424
396
|
"SDK Package Version: 0.1.0".format(env=sys.platform, pyversion=sys.version)
|
|
425
397
|
)
|
|
426
398
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
TrueFoundry ML API
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|