truefoundry 0.4.4rc12__py3-none-any.whl → 0.5.0rc1__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/common/constants.py +6 -1
- truefoundry/common/utils.py +0 -18
- truefoundry/logger.py +1 -0
- truefoundry/ml/__init__.py +36 -0
- truefoundry/ml/artifact/truefoundry_artifact_repo.py +433 -415
- truefoundry/ml/autogen/client/__init__.py +29 -6
- truefoundry/ml/autogen/client/api/__init__.py +3 -3
- truefoundry/ml/autogen/client/api/deprecated_api.py +7 -7
- truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +526 -0
- truefoundry/ml/autogen/client/models/__init__.py +26 -3
- truefoundry/ml/autogen/client/models/command.py +152 -0
- truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +72 -0
- truefoundry/ml/autogen/client/models/external_model_source.py +3 -2
- truefoundry/ml/autogen/client/models/fast_ai_framework.py +75 -0
- truefoundry/ml/autogen/client/models/framework.py +250 -14
- truefoundry/ml/autogen/client/models/gluon_framework.py +74 -0
- truefoundry/ml/autogen/client/models/{upload_model_source.py → h2_o_framework.py} +11 -11
- truefoundry/ml/autogen/client/models/keras_framework.py +74 -0
- truefoundry/ml/autogen/client/models/light_gbm_framework.py +75 -0
- truefoundry/ml/autogen/client/models/model_version_manifest.py +1 -1
- truefoundry/ml/autogen/client/models/onnx_framework.py +74 -0
- truefoundry/ml/autogen/client/models/paddle_framework.py +75 -0
- truefoundry/ml/autogen/client/models/py_torch_framework.py +75 -0
- truefoundry/ml/autogen/client/models/sklearn_framework.py +75 -0
- truefoundry/ml/autogen/client/models/source.py +9 -32
- truefoundry/ml/autogen/client/models/spa_cy_framework.py +74 -0
- truefoundry/ml/autogen/client/models/stats_models_framework.py +75 -0
- truefoundry/ml/autogen/client/models/{tensorflow_framework.py → tensor_flow_framework.py} +10 -9
- truefoundry/ml/autogen/client/models/transformers_framework.py +3 -2
- truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +90 -0
- truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +71 -0
- truefoundry/ml/autogen/client/models/truefoundry_model_source.py +5 -3
- truefoundry/ml/autogen/client/models/xg_boost_framework.py +75 -0
- truefoundry/ml/autogen/client_README.md +22 -5
- truefoundry/ml/autogen/entities/artifacts.py +19 -2
- truefoundry/ml/log_types/artifacts/artifact.py +10 -6
- truefoundry/ml/log_types/artifacts/dataset.py +13 -5
- truefoundry/ml/log_types/artifacts/general_artifact.py +3 -1
- truefoundry/ml/log_types/artifacts/model.py +172 -194
- truefoundry/ml/log_types/artifacts/utils.py +43 -26
- truefoundry/ml/log_types/image/image.py +2 -0
- truefoundry/ml/log_types/plot.py +2 -0
- truefoundry/ml/mlfoundry_api.py +47 -18
- truefoundry/ml/mlfoundry_run.py +27 -12
- truefoundry/ml/model_framework.py +169 -0
- truefoundry/workflow/__init__.py +3 -1
- truefoundry/workflow/remote_filesystem/__init__.py +8 -0
- truefoundry/workflow/remote_filesystem/logger.py +36 -0
- truefoundry/{common → workflow/remote_filesystem}/tfy_signed_url_client.py +1 -2
- truefoundry/{common → workflow/remote_filesystem}/tfy_signed_url_fs.py +5 -2
- {truefoundry-0.4.4rc12.dist-info → truefoundry-0.5.0rc1.dist-info}/METADATA +1 -1
- {truefoundry-0.4.4rc12.dist-info → truefoundry-0.5.0rc1.dist-info}/RECORD +54 -36
- truefoundry/ml/autogen/client/api/python_deployment_config_api.py +0 -201
- {truefoundry-0.4.4rc12.dist-info → truefoundry-0.5.0rc1.dist-info}/WHEEL +0 -0
- {truefoundry-0.4.4rc12.dist-info → truefoundry-0.5.0rc1.dist-info}/entry_points.txt +0 -0
|
@@ -8,8 +8,11 @@ from typing import Optional
|
|
|
8
8
|
from fsspec.spec import DEFAULT_CALLBACK, AbstractBufferedFile, AbstractFileSystem
|
|
9
9
|
|
|
10
10
|
from truefoundry.common.constants import ENV_VARS
|
|
11
|
-
from truefoundry.
|
|
12
|
-
from truefoundry.
|
|
11
|
+
from truefoundry.workflow.remote_filesystem.logger import log_time
|
|
12
|
+
from truefoundry.workflow.remote_filesystem.tfy_signed_url_client import (
|
|
13
|
+
LOG_PREFIX,
|
|
14
|
+
SignedURLClient,
|
|
15
|
+
)
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
class SignedURLFileSystem(AbstractFileSystem):
|
|
@@ -27,16 +27,14 @@ truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
27
27
|
truefoundry/cli/__main__.py,sha256=-NkhYlT3mC5MhtekueKAvCw-sWvguj0LJRpXWzvvFjc,727
|
|
28
28
|
truefoundry/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
truefoundry/common/auth_service_client.py,sha256=tZOa0NdATnItsMeTnEnUeTZQIgUJtpU-nvLdWtB4Px8,7978
|
|
30
|
-
truefoundry/common/constants.py,sha256=
|
|
30
|
+
truefoundry/common/constants.py,sha256=OwT8CJxGDhnrfgXCiKG5d5pkGbrd1UGGY-y672Et07Y,2310
|
|
31
31
|
truefoundry/common/credential_file_manager.py,sha256=1yEk1Zm2xS4G0VDFwKSZ4w0VUrcPWQ1nJnoBaz9xyKA,4251
|
|
32
32
|
truefoundry/common/credential_provider.py,sha256=Aht7hFLsnyRgMR34dRbzln7dor0WYSeA8ej8ApNmnKM,4148
|
|
33
33
|
truefoundry/common/entities.py,sha256=8O-EGPk4PKqnyoFMKUTxISCU19rz0KBnfRDJU695DhY,3797
|
|
34
34
|
truefoundry/common/exceptions.py,sha256=ePpiQ_zmWe4e94gOgeMiyP_AZnKwjEBfyXsB5ScGYcI,329
|
|
35
35
|
truefoundry/common/request_utils.py,sha256=5xw4YGUcMf71Ncal3OfFCa-PoWDIvG3hYGCDa4Da4OI,2854
|
|
36
36
|
truefoundry/common/servicefoundry_client.py,sha256=2fxmgCM-ckFHpnm6n_mL-5Z8RWN_q-dYVvFC29bkYSg,3120
|
|
37
|
-
truefoundry/common/
|
|
38
|
-
truefoundry/common/tfy_signed_url_fs.py,sha256=xwUR2Vx892sVuiBN5wUNagWuGxGRMecvYsuKQ5yy1rg,8626
|
|
39
|
-
truefoundry/common/utils.py,sha256=RS_YExw9PHfoxKr0BZhPQAsDBKssqL1PgdW6a6rBqu0,3764
|
|
37
|
+
truefoundry/common/utils.py,sha256=MYFjNtHGqauqhj9tmbdErCJR49AfXDwg-5kYbBh8HpI,3258
|
|
40
38
|
truefoundry/deploy/__init__.py,sha256=ugawKF2G02EmEXX35oZ2tec12d9oWN28Sf6mtGGIERY,2281
|
|
41
39
|
truefoundry/deploy/auto_gen/models.py,sha256=4MaxkG2_5Wg6avaZRlK0D4JiVEM5rk3NU0BCiTx8VyU,82477
|
|
42
40
|
truefoundry/deploy/builder/__init__.py,sha256=1qjHMNBE1poRCZW0WrG46dFM1f1IlivD5352qzsioMU,4953
|
|
@@ -124,27 +122,27 @@ truefoundry/langchain/truefoundry_chat.py,sha256=ZA5iyW56fzJeBGxHUpNLFdpy2g9Kw0U
|
|
|
124
122
|
truefoundry/langchain/truefoundry_embeddings.py,sha256=8nRaZ7W1ao1WF0LHk6nNel1LubA8XtDaffGIlUZYeQM,6104
|
|
125
123
|
truefoundry/langchain/truefoundry_llm.py,sha256=CJXyCgXIMbDsVRuuvEA5PKJsf6aRyVlYuG7zC4qtZXE,3802
|
|
126
124
|
truefoundry/langchain/utils.py,sha256=PGLDe9chZ3BuUjakexOGpIqZRFoHEgu-zJ9yKdpLLmM,1329
|
|
127
|
-
truefoundry/logger.py,sha256=
|
|
128
|
-
truefoundry/ml/__init__.py,sha256=
|
|
125
|
+
truefoundry/logger.py,sha256=u-YCNjg5HBwE70uQcpjIG64Ghos-K2ulTWaxC03BSj4,714
|
|
126
|
+
truefoundry/ml/__init__.py,sha256=ZMT9C7q9YnwfnfruI0xipizSo1OO__f8Ao-oE65DZyg,1836
|
|
129
127
|
truefoundry/ml/artifact/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
130
|
-
truefoundry/ml/artifact/truefoundry_artifact_repo.py,sha256=
|
|
128
|
+
truefoundry/ml/artifact/truefoundry_artifact_repo.py,sha256=VU8i3jnY62MLfzA3rxXuUjdqLz8Yaw4zqqPWSsf0mBg,45850
|
|
131
129
|
truefoundry/ml/autogen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
|
-
truefoundry/ml/autogen/client/__init__.py,sha256=
|
|
133
|
-
truefoundry/ml/autogen/client/api/__init__.py,sha256=
|
|
130
|
+
truefoundry/ml/autogen/client/__init__.py,sha256=0-I7KuPudFU1I1Y4qPbkvAK54E7wzjwIdjnVB57fWGA,18958
|
|
131
|
+
truefoundry/ml/autogen/client/api/__init__.py,sha256=NyMBxBmIzB1o5LzZZwz9LiydHB3-hPqc_sevsnY6Jrw,746
|
|
134
132
|
truefoundry/ml/autogen/client/api/auth_api.py,sha256=zpWzJhUmW6HHMY_atlUf0B25k77E1kue2hmix5I5Ih0,7017
|
|
135
|
-
truefoundry/ml/autogen/client/api/deprecated_api.py,sha256=
|
|
133
|
+
truefoundry/ml/autogen/client/api/deprecated_api.py,sha256=0qooHNzm5mgweKUEDjnESHPeUqrlzuNEsDJwW9Cm9Vs,24232
|
|
136
134
|
truefoundry/ml/autogen/client/api/experiments_api.py,sha256=mRKS8qGzcFJUpTWjfQoFYm2KI8jTHxBzA0l_foSCLM0,74880
|
|
135
|
+
truefoundry/ml/autogen/client/api/generate_code_snippet_api.py,sha256=C8iABP-pYIyIoTlL8PFi3ZBG_6B_dkQf09eErNeoj7A,22316
|
|
137
136
|
truefoundry/ml/autogen/client/api/health_api.py,sha256=IAPhRAo9CLUT5ipVR1fCf-qDx57UR0wg5ekhtUl8lug,11554
|
|
138
137
|
truefoundry/ml/autogen/client/api/metrics_api.py,sha256=q3L38eD-2hu4_9YvcSdnWDYXD2V8il-X9reinOAABek,14908
|
|
139
138
|
truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py,sha256=smLST3wBZnMw0VrTDR5y1IuJvzV6n89nLWqUMB5mavY,313547
|
|
140
|
-
truefoundry/ml/autogen/client/api/python_deployment_config_api.py,sha256=8P53aegaaZp1LEV9_GDNSCofgxRXP3Atyprc2bUvvpI,8348
|
|
141
139
|
truefoundry/ml/autogen/client/api/run_artifacts_api.py,sha256=x-vVnY2LEFChZxiiFauswRWwFz6Qqh30PKXjzuTvxmc,8799
|
|
142
140
|
truefoundry/ml/autogen/client/api/runs_api.py,sha256=-aghrZ2VYuZOw_vBtOzWDsnK7Ji29oZQxK2CLRgyo2w,119232
|
|
143
141
|
truefoundry/ml/autogen/client/api_client.py,sha256=8qg-WpadDuKgbRt5yABJ4wVS4IRxd5e7rbwe8zBW2wA,28851
|
|
144
142
|
truefoundry/ml/autogen/client/api_response.py,sha256=KRyvecPMXF05PaxILHZ8JHoP4rgKBjKONMgG83aU-rM,844
|
|
145
143
|
truefoundry/ml/autogen/client/configuration.py,sha256=V1oaEnxt-NfpaNmp-EZpf2glovzVhM2coWYt8HBNB4M,15723
|
|
146
144
|
truefoundry/ml/autogen/client/exceptions.py,sha256=XbCbDHhYT3BVejdoGNPgEa4oS56ypkwFdxk1iOc_tFY,5355
|
|
147
|
-
truefoundry/ml/autogen/client/models/__init__.py,sha256=
|
|
145
|
+
truefoundry/ml/autogen/client/models/__init__.py,sha256=ZNjoIgoxY6uxmChlRP7q5ea1g2EZvNARDvHKIYujGXU,17580
|
|
148
146
|
truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py,sha256=_ISDspicTGjBCYYXubKfRYYSSQVyW3AvG-jFh47-Zfc,2163
|
|
149
147
|
truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py,sha256=rU0h96pEE8K1Ukw2pzDSjq0e6BgtDEuOctI-aZMrpUY,2653
|
|
150
148
|
truefoundry/ml/autogen/client/models/agent.py,sha256=fnMWdEPe5Iw50WKydtu7QAxU419j3ju1IukpChUnGqY,3871
|
|
@@ -167,6 +165,7 @@ truefoundry/ml/autogen/client/models/body_get_search_runs_get.py,sha256=aGu5Ah2Q
|
|
|
167
165
|
truefoundry/ml/autogen/client/models/chat_prompt.py,sha256=PFpvfDGWLSUWYTHEFAOtScJeTYjUUziQD_Meii2D0gw,5974
|
|
168
166
|
truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py,sha256=nk4hWTl1i3IfFbXVE6cSC-z-QxW4m_YAF05wXdUYYCc,5751
|
|
169
167
|
truefoundry/ml/autogen/client/models/columns_dto.py,sha256=bjSjp-DA2YdjohahziETrfMkKNWFAjDL7XQgSUhvNJA,2070
|
|
168
|
+
truefoundry/ml/autogen/client/models/command.py,sha256=q6yFdBsXZkMFCK8DfNx1JmW8WIHY6scvfQL9NUmQWik,4790
|
|
170
169
|
truefoundry/ml/autogen/client/models/content.py,sha256=vns4BcEnkkZissELyrvak7ZYPyn-lrRcdAGmdYsIBoU,4945
|
|
171
170
|
truefoundry/ml/autogen/client/models/content1.py,sha256=Sh22V-dSQr8zz2N2BgqeTtauE_9dijwydAjpW6uH1z0,4951
|
|
172
171
|
truefoundry/ml/autogen/client/models/content2.py,sha256=T55JENSS5E9HRkefccw24L7PB-rNp3VP1ppXfV7BNHk,5920
|
|
@@ -186,6 +185,7 @@ truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto
|
|
|
186
185
|
truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py,sha256=5fnCJ7ybEcRA03s8ZLGdt1w8_Xz5nt6-PPmvA6Yxt60,2051
|
|
187
186
|
truefoundry/ml/autogen/client/models/create_run_request_dto.py,sha256=OqhHezsPGygl5m3BlEHmKGlCNf2t5FUFQJLwdmHfggg,2841
|
|
188
187
|
truefoundry/ml/autogen/client/models/create_run_response_dto.py,sha256=cFzIkhbiB_IEmQSx1asNAzPMN-MzCBtqWj2PJ3oTLTM,2169
|
|
188
|
+
truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py,sha256=u-jNJgSeUUCbvyXq9Tg0TUKYh1dTRsrLktXWIkvOoWA,2193
|
|
189
189
|
truefoundry/ml/autogen/client/models/dataset_dto.py,sha256=V3dIdK93YQ8mtolY8Onz2N17HQYm3bLUMn98dVg7tGo,4100
|
|
190
190
|
truefoundry/ml/autogen/client/models/dataset_response_dto.py,sha256=5h3eHpiG4Zzqn5Hm0WpZgyXGjxujKem42_8YnGq5KLo,2205
|
|
191
191
|
truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py,sha256=JF2dQuEe_W1c2ox9zZDER_pZSTbKwSnns8hIfG5o7oA,1905
|
|
@@ -198,12 +198,13 @@ truefoundry/ml/autogen/client/models/experiment_dto.py,sha256=bl4-Hp1EHl8CEKgWq6
|
|
|
198
198
|
truefoundry/ml/autogen/client/models/experiment_id_request_dto.py,sha256=ZMH827n_UTpDI30UnkuOam-4ANBKCDgocIzI8StxFR8,1891
|
|
199
199
|
truefoundry/ml/autogen/client/models/experiment_response_dto.py,sha256=wuflV6_f8PQq061-wU2GzNY4BZi8SG8ARCIbSQN1oT4,2268
|
|
200
200
|
truefoundry/ml/autogen/client/models/experiment_tag_dto.py,sha256=nEpCkeZ9ficIDkjmmLfkJeNNokd-Rhgr-cepPWG6L3M,1902
|
|
201
|
-
truefoundry/ml/autogen/client/models/external_model_source.py,sha256=
|
|
201
|
+
truefoundry/ml/autogen/client/models/external_model_source.py,sha256=WE3JoHmaCDIeoHpcSOtkDsNocBoaTMzqiIuAiq6qIro,2336
|
|
202
|
+
truefoundry/ml/autogen/client/models/fast_ai_framework.py,sha256=pl--nyTJF687SNmX0v1ICISmUCVc6ekF8VH_Rl1kHEQ,2170
|
|
202
203
|
truefoundry/ml/autogen/client/models/feature_dto.py,sha256=XM7fF71P_bYP3UlO1ILjnD3DJNpf2tGwAWbrkQyvyA4,1924
|
|
203
204
|
truefoundry/ml/autogen/client/models/feature_value_type.py,sha256=3ZKxxEfrrWk8ePlV7n11wa-FdDH0SRLyHRqSvIU7F-M,732
|
|
204
205
|
truefoundry/ml/autogen/client/models/file_info_dto.py,sha256=7oc8venicsFVk8zT9wHNhHnZGtFkFlqimFnS7ozGL9k,2156
|
|
205
206
|
truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py,sha256=tArvzRPp80PpfJ4CoMwwaKqPAfzonq-8C-yKBEjs9co,3877
|
|
206
|
-
truefoundry/ml/autogen/client/models/framework.py,sha256=
|
|
207
|
+
truefoundry/ml/autogen/client/models/framework.py,sha256=W_KrqH1qKRvlrssCCWFIlmPaeAw0eiM6VqS3pbdlMXU,14720
|
|
207
208
|
truefoundry/ml/autogen/client/models/get_experiment_response_dto.py,sha256=FhJpoUeRbZV1s1KR3Y07Kv6U4enLbbgdpGbguT9us0A,2923
|
|
208
209
|
truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py,sha256=g5NG252VzjGHiA-w5nhxmZxGrowJO9XCHDQTjf8y2KE,2266
|
|
209
210
|
truefoundry/ml/autogen/client/models/get_metric_history_response.py,sha256=rTchO8o4sjGsNaZj8TW-VGtGGxsOBjUGzgaAWNtBZ-k,2428
|
|
@@ -216,12 +217,16 @@ truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dt
|
|
|
216
217
|
truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py,sha256=1EQ33wOq7VpAlt7o-5XCBZ2mpn5GXKrOUfULbp4gA2g,2627
|
|
217
218
|
truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py,sha256=tRud_0Qrr4DtXD1SMSnouVlxrV6WaL5FG2mG626CFZ0,2635
|
|
218
219
|
truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py,sha256=zEG9rogifl100cOqshYDNJE-faxGF3ayRb1RNWCtaXo,2142
|
|
220
|
+
truefoundry/ml/autogen/client/models/gluon_framework.py,sha256=YIc4x1A7kW4F9Bgltr6mU0UgL2sxJMSd8qyZPPtq900,2149
|
|
221
|
+
truefoundry/ml/autogen/client/models/h2_o_framework.py,sha256=DrJgVIP62OgyE0YdV22gD1K4u6JHVfRITunI5moj5mk,2125
|
|
219
222
|
truefoundry/ml/autogen/client/models/http_validation_error.py,sha256=bU-uUlz_qeFba3iHdBT7cHjLu6WZ-JmImYqgZ-kCvxM,2466
|
|
220
223
|
truefoundry/ml/autogen/client/models/image_content_part.py,sha256=_DXwAxeuagwRWMkDxaz--i_OitlyNkPd3puewVV_fwM,2716
|
|
221
224
|
truefoundry/ml/autogen/client/models/image_url.py,sha256=TN8iEdBUmtKdTFlApUodaC4o6X_Ggd3OSOKVPv7laJE,2170
|
|
222
225
|
truefoundry/ml/autogen/client/models/internal_metadata.py,sha256=6OizrIzA3QxlEnwNFXCZGOMJuUDSYHctl_30q27uBDI,6232
|
|
226
|
+
truefoundry/ml/autogen/client/models/keras_framework.py,sha256=7TyZHDE3A__fF3lCX-scmCCfLgHpFwBhr0YSLNCoDBA,2149
|
|
223
227
|
truefoundry/ml/autogen/client/models/latest_run_log_dto.py,sha256=wE8T8bANTb9u14Jv7DNyKWekZiUAvrzvTcE_H1cRhn4,2326
|
|
224
228
|
truefoundry/ml/autogen/client/models/library_name.py,sha256=JKmQMgEj6RcmSv68THAcs1gmh3P3CNrgJ_Rh5VWu9Fs,823
|
|
229
|
+
truefoundry/ml/autogen/client/models/light_gbm_framework.py,sha256=PVW9r0FnYxvk5LRRw5ioOflMJZ1ZR19K1uVmdEHqe38,2194
|
|
225
230
|
truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py,sha256=nODOEA-tT8XEJKgUXXjvlzT5ecEwz1b9zu-l3RgQl1o,3622
|
|
226
231
|
truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py,sha256=G560h_rGn6-X-cxpuddGU8Fp2eBKXvC3RWcJZdZQJBE,2940
|
|
227
232
|
truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py,sha256=o3Jz3VsAa3aJB3YZ6NI6t8TLLoMGeg64jYYZibeo3Oc,2982
|
|
@@ -255,16 +260,19 @@ truefoundry/ml/autogen/client/models/model_dto.py,sha256=TUO74MDqe8XCVJBB2O7Tiqi
|
|
|
255
260
|
truefoundry/ml/autogen/client/models/model_response_dto.py,sha256=osrTxfygkuhxWj6SkRBALrSnFVPH4LSK6qTufTeZuJg,2163
|
|
256
261
|
truefoundry/ml/autogen/client/models/model_schema_dto.py,sha256=ElEPK7fwuf3eiohNBBHJyl-nhNqzGnDLzZVzuQl-xC0,2620
|
|
257
262
|
truefoundry/ml/autogen/client/models/model_version_dto.py,sha256=6kI1Z2czYAieJZBaVvcV8Y2eeNEUDyjPuTLHTdyWnOE,7282
|
|
258
|
-
truefoundry/ml/autogen/client/models/model_version_manifest.py,sha256=
|
|
263
|
+
truefoundry/ml/autogen/client/models/model_version_manifest.py,sha256=Jd8oJj9-awzg-jP_hhLEMH3PSXir2p5Kc5o0YEB9ZRA,3957
|
|
259
264
|
truefoundry/ml/autogen/client/models/model_version_response_dto.py,sha256=D6XOCyggxqTkbePuypqYSHYh1PYeDv7R_J32q61sDM0,2320
|
|
260
265
|
truefoundry/ml/autogen/client/models/multi_part_upload_dto.py,sha256=Ckq405vud8RQmMyKCJQJBlW5iXO7Y2mlgo8eVkiMvxg,3738
|
|
261
266
|
truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py,sha256=VjH0kvl7rMjgDHjYGHnsh7KsZ5-qn-k3ksdGLJ49nIM,2431
|
|
262
267
|
truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py,sha256=BA-a-LUi8Q8wTmrExiidRWmCQUAmAqn5qOTwgQM1K6U,796
|
|
263
268
|
truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py,sha256=M5PaBiH0KYigTpmg6Rm6n2nM6I9x6pLjI-oNqY4006o,1897
|
|
269
|
+
truefoundry/ml/autogen/client/models/onnx_framework.py,sha256=-z-S50V11nploHrPCoY0Mq4KQCrM8tY5R_rEc1p5v0g,2137
|
|
264
270
|
truefoundry/ml/autogen/client/models/openapi_spec.py,sha256=jWD8fO4Rjx7NXg-kvJ1KEDT7ysHZcYbQ-EnEk3MxMqs,4961
|
|
271
|
+
truefoundry/ml/autogen/client/models/paddle_framework.py,sha256=cTTyFLaXHjSo8Kc-zU_fDBF4nAcXu74CV0AlV4JwYkc,2176
|
|
265
272
|
truefoundry/ml/autogen/client/models/param_dto.py,sha256=A8ysdVT16LZDB78Cd18ot2wf6emWNGKPv70IQ6wcEak,1787
|
|
266
273
|
truefoundry/ml/autogen/client/models/parameters.py,sha256=u3DF-XvyZ9w1GgEJ2WCQyYX6RXbkBw7B2yWKTFjVfP4,2736
|
|
267
274
|
truefoundry/ml/autogen/client/models/prediction_type.py,sha256=ayeIx_mdlOYXV82yoHoTQEYS9mIzRcTuYB9V0wIe_GE,722
|
|
275
|
+
truefoundry/ml/autogen/client/models/py_torch_framework.py,sha256=2sctpFx43y2C_fOh246M7KKHGlujz41KPJJWnOL4hJ0,2182
|
|
268
276
|
truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py,sha256=sggWYqC5R_BtH99xne3G_lgZYuyJjT2wozwDtvfB_Vs,2360
|
|
269
277
|
truefoundry/ml/autogen/client/models/restore_run_request_dto.py,sha256=7iBbil4YfaOHJwP0ifPHp-D1Kt-ZiSRjAaVuU7_idhw,1825
|
|
270
278
|
truefoundry/ml/autogen/client/models/run_data_dto.py,sha256=iPFm5f4x2ymRqea6EDZlcjWYN_-f3t9JZckwskXSTKY,3533
|
|
@@ -279,31 +287,36 @@ truefoundry/ml/autogen/client/models/search_runs_response_dto.py,sha256=u0l11v7p
|
|
|
279
287
|
truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py,sha256=nrmi_NxLD1fI2gwlpdqFSMnBS11gRkjS4_GQFHgBcXs,2118
|
|
280
288
|
truefoundry/ml/autogen/client/models/set_tag_request_dto.py,sha256=IRgAdMcWBxmjNV6nZJej4pcNfLmZwrelEZ3otwt7eeE,2144
|
|
281
289
|
truefoundry/ml/autogen/client/models/signed_url_dto.py,sha256=9oHoXBj07xTdc04rqOqJO3eOjQWXCyWPhfHg-6qX60w,1897
|
|
282
|
-
truefoundry/ml/autogen/client/models/
|
|
290
|
+
truefoundry/ml/autogen/client/models/sklearn_framework.py,sha256=8-GvfwN5fHVDiOXPvVa9rBeG0VEavwwTsfEp3Nl0uO8,2187
|
|
291
|
+
truefoundry/ml/autogen/client/models/source.py,sha256=8vQ6Fcky8kYAQiATuphxuhxKGRhH4WmcTiUa9N8iZQM,5095
|
|
292
|
+
truefoundry/ml/autogen/client/models/spa_cy_framework.py,sha256=JM1DLF8JL4c7-JZN-dQX_7NF8jIS6RP-mEk1uoWQpaU,2149
|
|
293
|
+
truefoundry/ml/autogen/client/models/stats_models_framework.py,sha256=INndD-nZFAfRbKZXss4erx4xtotb_hlRFlEvitKrIzQ,2230
|
|
283
294
|
truefoundry/ml/autogen/client/models/stop.py,sha256=UlAjRWI6Gjc92D2UME6qRAIfd6GoDI3VBWYkJqgixmU,4760
|
|
284
295
|
truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py,sha256=Cfm95a9T4fDiARBJ9vd3n9Pv7QI69TSVKWi0AG_cmvs,2591
|
|
285
296
|
truefoundry/ml/autogen/client/models/subject.py,sha256=gG1pRl6lPEI1_td2sb752vJeKMKgLWDaoFwepnS4zIQ,2415
|
|
286
297
|
truefoundry/ml/autogen/client/models/subject_type.py,sha256=TOhgDmWSy67NjBCTSbwtF2-cBBB2-FoLJVFDVpJRrsQ,710
|
|
287
298
|
truefoundry/ml/autogen/client/models/system_message.py,sha256=yxRCJPl36FGv2zrsuHbLown88wmnrIpWlKEVRf9WgFQ,2801
|
|
288
|
-
truefoundry/ml/autogen/client/models/
|
|
299
|
+
truefoundry/ml/autogen/client/models/tensor_flow_framework.py,sha256=lvABZqmVED7Hg7aDZ7bovN6usG_TZCWI4B8Ew6NAymw,2218
|
|
289
300
|
truefoundry/ml/autogen/client/models/text.py,sha256=HAIK-w_TxB1kXGvVNK1d2cweoQi-GJ9d-0QSZl21u68,4862
|
|
290
301
|
truefoundry/ml/autogen/client/models/text_content_part.py,sha256=fRQu22tiV3rDKmTgVZSLHX-cMcha3q53W8qWNCk5wmU,2492
|
|
291
|
-
truefoundry/ml/autogen/client/models/transformers_framework.py,sha256=
|
|
292
|
-
truefoundry/ml/autogen/client/models/
|
|
302
|
+
truefoundry/ml/autogen/client/models/transformers_framework.py,sha256=ialS6K3F64iLSe19qVXeuXNctEq6IzMFi7cBhP00bdg,2903
|
|
303
|
+
truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py,sha256=1HtO6zfW6Ulq8Gm_UL0YqVrse0795vZkMxgCQ0GKD9w,2864
|
|
304
|
+
truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py,sha256=P35xzE8MyS_HtxCcXC9fZORPX2wbf93LbCZCRggkQxw,2144
|
|
305
|
+
truefoundry/ml/autogen/client/models/truefoundry_model_source.py,sha256=Jc3sP2n05kQz92nHaU5RCcwP9bfeIBFUuxfvwdojub8,2418
|
|
293
306
|
truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py,sha256=AhXj2afmrKskBi5uMT0-mSywZyz3g17lFE3uMRQ5pEM,2246
|
|
294
307
|
truefoundry/ml/autogen/client/models/update_dataset_request_dto.py,sha256=MF-rjJGUP6sDZVH3xP4Q8AEC9CV2PXEO9cXrR6yK57A,2182
|
|
295
308
|
truefoundry/ml/autogen/client/models/update_experiment_request_dto.py,sha256=QE_kZzTDdiXKtQ2U-zbI_gb5vxS5Yv9YupYvD22RkFs,2198
|
|
296
309
|
truefoundry/ml/autogen/client/models/update_model_version_request_dto.py,sha256=0xWqHHflnpO8FyT79psPiPBIGW6Aiovs-b6H7sjMSDQ,3589
|
|
297
310
|
truefoundry/ml/autogen/client/models/update_run_request_dto.py,sha256=fn4VB4Zlllr6Bt_l3aYkkHxAkU9w7vtcqu4iw8BvQWY,2318
|
|
298
311
|
truefoundry/ml/autogen/client/models/update_run_response_dto.py,sha256=wolIFiihGZCBBkuj7mJEYCmGAOqDLFo_bNLcH4LeXSo,2231
|
|
299
|
-
truefoundry/ml/autogen/client/models/upload_model_source.py,sha256=zn2AigQc8uhJiGXdE57X-K4pLPrIK9TuD8g7zNt09-U,2103
|
|
300
312
|
truefoundry/ml/autogen/client/models/url.py,sha256=zMyOmdVkp1ANnQnc9GrHt42xlVwES7FTjrpOp_OtHqo,4953
|
|
301
313
|
truefoundry/ml/autogen/client/models/user_message.py,sha256=6QOmKT_SDfAVZA8V3Bzofm7_c-Qznn4KsE12NmHG4FM,2783
|
|
302
314
|
truefoundry/ml/autogen/client/models/validation_error.py,sha256=mFjwoc8g2-Usu1HXZhOQKQ4TGvLy4lwCzk8dHrJ69aA,2597
|
|
303
315
|
truefoundry/ml/autogen/client/models/validation_error_loc_inner.py,sha256=nThJ5Gmy8W2Wok-ZOI4sK7uRe1BAkLS0qzq-XZbq8zs,4915
|
|
316
|
+
truefoundry/ml/autogen/client/models/xg_boost_framework.py,sha256=kXijWcmEd5mc6Rks0mYQLqgYp1v7bxp31HQAmaJLZ3s,2182
|
|
304
317
|
truefoundry/ml/autogen/client/rest.py,sha256=9goba8qHjQuVx5O_yRaTKu7PvBnb7r7swfy3dwuTEgk,14281
|
|
305
|
-
truefoundry/ml/autogen/client_README.md,sha256=
|
|
306
|
-
truefoundry/ml/autogen/entities/artifacts.py,sha256=
|
|
318
|
+
truefoundry/ml/autogen/client_README.md,sha256=h8EUUiMl1vHri3Jrt0PjkFD-CoXAf5WXSgG4iRqlouc,35564
|
|
319
|
+
truefoundry/ml/autogen/entities/artifacts.py,sha256=qc4XW3X8BR-zE32tNbCBMJ5kc_aPehDOBhyugvAYY-8,16646
|
|
307
320
|
truefoundry/ml/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
308
321
|
truefoundry/ml/cli/cli.py,sha256=ckBcjUpqfhgrPE1okqT_G2iouOLt-0KjpLhHp2YdVFU,256
|
|
309
322
|
truefoundry/ml/cli/commands/__init__.py,sha256=diDUiRUX4l6TtNLI4iF-ZblczkELM7FRViJ-8gGNJQY,82
|
|
@@ -319,30 +332,31 @@ truefoundry/ml/exceptions.py,sha256=8aJm2NYtAWWsRLu4MbzaoOqHsQZ6RjOFwBWQWqb6qrc,
|
|
|
319
332
|
truefoundry/ml/git_info.py,sha256=jvAVm9ilqivnGq8qJdUvYdd8Siv0PLtqurB-PXsS5ho,2023
|
|
320
333
|
truefoundry/ml/internal_namespace.py,sha256=QcqMHp6-C2im2H_02hlhi01EIcr1HhNaZprszs13EMU,1790
|
|
321
334
|
truefoundry/ml/log_types/__init__.py,sha256=g4u4D4Jaj0aBK5GtrLV88-qThKZR9pSZ17vFEkN-LmM,125
|
|
322
|
-
truefoundry/ml/log_types/artifacts/artifact.py,sha256=
|
|
335
|
+
truefoundry/ml/log_types/artifacts/artifact.py,sha256=n2EwAupOigDcUXQQFIIESRqp7zipLZieec0vLQ2DVRQ,17593
|
|
323
336
|
truefoundry/ml/log_types/artifacts/constants.py,sha256=qKxQ5mMvJE4j83BvGW3qNTKunxCiBg_EEjTdgbgJtyE,1036
|
|
324
|
-
truefoundry/ml/log_types/artifacts/dataset.py,sha256=
|
|
325
|
-
truefoundry/ml/log_types/artifacts/general_artifact.py,sha256=
|
|
326
|
-
truefoundry/ml/log_types/artifacts/model.py,sha256=
|
|
337
|
+
truefoundry/ml/log_types/artifacts/dataset.py,sha256=a4dxd2EN8p7Ci-cLGGiDOboN3t0395_XhWE1dmTw1Q4,13112
|
|
338
|
+
truefoundry/ml/log_types/artifacts/general_artifact.py,sha256=_EOlNGMg2PFjlevlD6LEOsaQBBwRWs60PkzJases6tE,3927
|
|
339
|
+
truefoundry/ml/log_types/artifacts/model.py,sha256=fcMc63BKqcbjUygpA6w0SFuoWZDvyxJvlPHyh7bNKv4,21161
|
|
327
340
|
truefoundry/ml/log_types/artifacts/model_extras.py,sha256=TIE73bLKfwIVzNiVcjmaZ841A70BHBwu4XAM6ZAQRFI,1045
|
|
328
|
-
truefoundry/ml/log_types/artifacts/utils.py,sha256=
|
|
341
|
+
truefoundry/ml/log_types/artifacts/utils.py,sha256=3FVOYlfcvZiW8vTbMe7Ft1cjNPR2GW7J69M3dyAY-qc,6299
|
|
329
342
|
truefoundry/ml/log_types/image/__init__.py,sha256=fcOq8yQnNj1rkLcPeIjLXBpdA1WIeiPsXOlAAvMxx7M,76
|
|
330
343
|
truefoundry/ml/log_types/image/constants.py,sha256=wLtGEOA4T5fZHSlOXPuNDLX3lpbCtwlvGKPFk_1fah0,255
|
|
331
|
-
truefoundry/ml/log_types/image/image.py,sha256=
|
|
344
|
+
truefoundry/ml/log_types/image/image.py,sha256=qQnAVgErAq4Jn6wXFFpaveOd52zcjUuomUCqNRxO2io,12478
|
|
332
345
|
truefoundry/ml/log_types/image/image_normalizer.py,sha256=vrzfuSpVGgIxw_Q2sbFe7kQ_JpAndX0bMwC7wtfi41g,3104
|
|
333
346
|
truefoundry/ml/log_types/image/types.py,sha256=inFQlyAyDvZtfliFpENirNCm1XO9beyZ8DNn97DoDKs,1568
|
|
334
|
-
truefoundry/ml/log_types/plot.py,sha256=
|
|
347
|
+
truefoundry/ml/log_types/plot.py,sha256=HuYvvRA5r8V0xAIuuqMME2IHb9d3SfGHUiuEkOP3Uks,7515
|
|
335
348
|
truefoundry/ml/log_types/pydantic_base.py,sha256=eBlw_AEyAz4iJKDP4zgJOCFWcldwQqpf7FADW1jzIQY,272
|
|
336
349
|
truefoundry/ml/log_types/utils.py,sha256=xjJ21jdPScvFmw3TbVh5NCzbzJwaqiXJyiiT4xxX1EI,335
|
|
337
350
|
truefoundry/ml/logger.py,sha256=VT-BF3BnBYTWVq87O58F0c8uXMu94gYzsiFlGY3_7Ao,458
|
|
338
|
-
truefoundry/ml/mlfoundry_api.py,sha256=
|
|
339
|
-
truefoundry/ml/mlfoundry_run.py,sha256=
|
|
351
|
+
truefoundry/ml/mlfoundry_api.py,sha256=eLzbXPSaUWBuIZQKld0r30StOHD-dXiS9zQL_Wq4Zk4,62037
|
|
352
|
+
truefoundry/ml/mlfoundry_run.py,sha256=FDTEBflyKRA7nP8qCm834NyYjpyy9540J_WnagB25oI,46195
|
|
353
|
+
truefoundry/ml/model_framework.py,sha256=YCdRD31rQbPQK-ehNLf1YHuOcPgserFjdPgrrB2Twqg,4737
|
|
340
354
|
truefoundry/ml/run_utils.py,sha256=0W208wSLUrbdfk2pjNcZlkUi9bNxG2JORqoe-5rVqHI,2423
|
|
341
355
|
truefoundry/ml/session.py,sha256=F83GTC5WwGBjnJ69Ct8MqMnlutYc56JCc6YhEY1Wl-A,5394
|
|
342
356
|
truefoundry/ml/validation_utils.py,sha256=XBSUd9OoyriWJpT3M5LKz17iWY3yVMr3hM5vdaVjtf0,12082
|
|
343
357
|
truefoundry/pydantic_v1.py,sha256=jSuhGtz0Mbk1qYu8jJ1AcnIDK4oxUsdhALc4spqstmM,345
|
|
344
358
|
truefoundry/version.py,sha256=bqiT4Q-VWrTC6P4qfK43mez-Ppf-smWfrl6DcwV7mrw,137
|
|
345
|
-
truefoundry/workflow/__init__.py,sha256=
|
|
359
|
+
truefoundry/workflow/__init__.py,sha256=XY83vqtLAclI82atZXyBtF9ZgLROXaaXO5p60XH5hJA,1493
|
|
346
360
|
truefoundry/workflow/container_task.py,sha256=8arieePsX4__OnG337hOtCiNgJwtKJJCsZcmFmCBJtk,402
|
|
347
361
|
truefoundry/workflow/example/deploy.sh,sha256=wfbPRrCi04WYRqCf4g-Xo12uWbcqPD6G_Tz0lV0jU_U,60
|
|
348
362
|
truefoundry/workflow/example/hello_world_package/workflow.py,sha256=IkRKfPY5BcvLPo_PVuNbZKK9PPJ93LRkzb1a3RKQYOw,435
|
|
@@ -351,9 +365,13 @@ truefoundry/workflow/example/truefoundry.yaml,sha256=LlPrMADSPJsiXRoK76N_RVjX1bn
|
|
|
351
365
|
truefoundry/workflow/example/workflow.yaml,sha256=YtYdKXMuW_08gfEo21XSculj2MGI2lfEnGF8qCT8NKE,2858
|
|
352
366
|
truefoundry/workflow/map_task.py,sha256=2m3qGXQ90k9LdS45q8dqCCECc3qr8t2m_LMCVd1mZ7g,1737
|
|
353
367
|
truefoundry/workflow/python_task.py,sha256=SRXRLC4vdBqGjhkwuaY39LEWN6iPCpJAuW17URRdWTY,1128
|
|
368
|
+
truefoundry/workflow/remote_filesystem/__init__.py,sha256=neofKMirqZd2xsv9v-YdcfrNOs7fbdEq1HvlIc3gg_s,233
|
|
369
|
+
truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
|
|
370
|
+
truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=ln3zx72jMElZQIVbPRHVd0OfmsLnDbnrntfJ6g1WdfE,10174
|
|
371
|
+
truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=Hf6Dk6Fu6P7DqsK5ULgraf9DStjgigf-kjaRAMBW-RU,8680
|
|
354
372
|
truefoundry/workflow/task.py,sha256=ToitYiKcNzFCtOVQwz1W8sRjbR97eVS7vQBdbgUQtKg,1779
|
|
355
373
|
truefoundry/workflow/workflow.py,sha256=WaTqUjhwfAXDWu4E5ehuwAxrCbDJkoAf1oWmR2E9Qy0,4575
|
|
356
|
-
truefoundry-0.
|
|
357
|
-
truefoundry-0.
|
|
358
|
-
truefoundry-0.
|
|
359
|
-
truefoundry-0.
|
|
374
|
+
truefoundry-0.5.0rc1.dist-info/METADATA,sha256=6CRqjcwshn9tc9sCWlfOEWa8w5UB8dt25Gz0kyzNkAw,3101
|
|
375
|
+
truefoundry-0.5.0rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
376
|
+
truefoundry-0.5.0rc1.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
|
|
377
|
+
truefoundry-0.5.0rc1.dist-info/RECORD,,
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
FastAPI
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
from truefoundry.ml.autogen.client.api_client import ApiClient
|
|
17
|
-
from truefoundry.ml.autogen.client.api_response import ApiResponse
|
|
18
|
-
from truefoundry.ml.autogen.client.exceptions import ( # noqa: F401
|
|
19
|
-
ApiTypeError,
|
|
20
|
-
ApiValueError,
|
|
21
|
-
)
|
|
22
|
-
from truefoundry.ml.autogen.client.models.create_python_deployment_config_request_dto import (
|
|
23
|
-
CreatePythonDeploymentConfigRequestDto,
|
|
24
|
-
)
|
|
25
|
-
from truefoundry.ml.autogen.client.models.create_python_deployment_config_response_dto import (
|
|
26
|
-
CreatePythonDeploymentConfigResponseDto,
|
|
27
|
-
)
|
|
28
|
-
from truefoundry.pydantic_v1 import validate_arguments
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class PythonDeploymentConfigApi:
|
|
32
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
33
|
-
Ref: https://openapi-generator.tech
|
|
34
|
-
|
|
35
|
-
Do not edit the class manually.
|
|
36
|
-
"""
|
|
37
|
-
|
|
38
|
-
def __init__(self, api_client=None) -> None:
|
|
39
|
-
if api_client is None:
|
|
40
|
-
api_client = ApiClient.get_default()
|
|
41
|
-
self.api_client = api_client
|
|
42
|
-
|
|
43
|
-
@validate_arguments
|
|
44
|
-
def generate_py_development_config_post(
|
|
45
|
-
self,
|
|
46
|
-
create_python_deployment_config_request_dto: CreatePythonDeploymentConfigRequestDto,
|
|
47
|
-
**kwargs,
|
|
48
|
-
) -> CreatePythonDeploymentConfigResponseDto: # noqa: E501
|
|
49
|
-
"""Generate Py Development Config # noqa: E501
|
|
50
|
-
|
|
51
|
-
Generate Python Deployment Config # noqa: E501
|
|
52
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
53
|
-
asynchronous HTTP request, please pass async_req=True
|
|
54
|
-
|
|
55
|
-
>>> thread = api.generate_py_development_config_post(create_python_deployment_config_request_dto, async_req=True)
|
|
56
|
-
>>> result = thread.get()
|
|
57
|
-
|
|
58
|
-
:param create_python_deployment_config_request_dto: (required)
|
|
59
|
-
:type create_python_deployment_config_request_dto: CreatePythonDeploymentConfigRequestDto
|
|
60
|
-
:param async_req: Whether to execute the request asynchronously.
|
|
61
|
-
:type async_req: bool, optional
|
|
62
|
-
:param _request_timeout: timeout setting for this request.
|
|
63
|
-
If one number provided, it will be total request
|
|
64
|
-
timeout. It can also be a pair (tuple) of
|
|
65
|
-
(connection, read) timeouts.
|
|
66
|
-
:return: Returns the result object.
|
|
67
|
-
If the method is called asynchronously,
|
|
68
|
-
returns the request thread.
|
|
69
|
-
:rtype: CreatePythonDeploymentConfigResponseDto
|
|
70
|
-
"""
|
|
71
|
-
kwargs["_return_http_data_only"] = True
|
|
72
|
-
if "_preload_content" in kwargs:
|
|
73
|
-
message = "Error! Please call the generate_py_development_config_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
74
|
-
raise ValueError(message)
|
|
75
|
-
return self.generate_py_development_config_post_with_http_info(
|
|
76
|
-
create_python_deployment_config_request_dto, **kwargs
|
|
77
|
-
) # noqa: E501
|
|
78
|
-
|
|
79
|
-
@validate_arguments
|
|
80
|
-
def generate_py_development_config_post_with_http_info(
|
|
81
|
-
self,
|
|
82
|
-
create_python_deployment_config_request_dto: CreatePythonDeploymentConfigRequestDto,
|
|
83
|
-
**kwargs,
|
|
84
|
-
) -> ApiResponse: # noqa: E501
|
|
85
|
-
"""Generate Py Development Config # noqa: E501
|
|
86
|
-
|
|
87
|
-
Generate Python Deployment Config # noqa: E501
|
|
88
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
89
|
-
asynchronous HTTP request, please pass async_req=True
|
|
90
|
-
|
|
91
|
-
>>> thread = api.generate_py_development_config_post_with_http_info(create_python_deployment_config_request_dto, async_req=True)
|
|
92
|
-
>>> result = thread.get()
|
|
93
|
-
|
|
94
|
-
:param create_python_deployment_config_request_dto: (required)
|
|
95
|
-
:type create_python_deployment_config_request_dto: CreatePythonDeploymentConfigRequestDto
|
|
96
|
-
:param async_req: Whether to execute the request asynchronously.
|
|
97
|
-
:type async_req: bool, optional
|
|
98
|
-
:param _preload_content: if False, the ApiResponse.data will
|
|
99
|
-
be set to none and raw_data will store the
|
|
100
|
-
HTTP response body without reading/decoding.
|
|
101
|
-
Default is True.
|
|
102
|
-
:type _preload_content: bool, optional
|
|
103
|
-
:param _return_http_data_only: response data instead of ApiResponse
|
|
104
|
-
object with status code, headers, etc
|
|
105
|
-
:type _return_http_data_only: bool, optional
|
|
106
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
107
|
-
number provided, it will be total request
|
|
108
|
-
timeout. It can also be a pair (tuple) of
|
|
109
|
-
(connection, read) timeouts.
|
|
110
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
111
|
-
request; this effectively ignores the authentication
|
|
112
|
-
in the spec for a single request.
|
|
113
|
-
:type _request_auth: dict, optional
|
|
114
|
-
:type _content_type: string, optional: force content-type for the request
|
|
115
|
-
:return: Returns the result object.
|
|
116
|
-
If the method is called asynchronously,
|
|
117
|
-
returns the request thread.
|
|
118
|
-
:rtype: tuple(CreatePythonDeploymentConfigResponseDto, status_code(int), headers(HTTPHeaderDict))
|
|
119
|
-
"""
|
|
120
|
-
|
|
121
|
-
_params = locals()
|
|
122
|
-
|
|
123
|
-
_all_params = ["create_python_deployment_config_request_dto"]
|
|
124
|
-
_all_params.extend(
|
|
125
|
-
[
|
|
126
|
-
"async_req",
|
|
127
|
-
"_return_http_data_only",
|
|
128
|
-
"_preload_content",
|
|
129
|
-
"_request_timeout",
|
|
130
|
-
"_request_auth",
|
|
131
|
-
"_content_type",
|
|
132
|
-
"_headers",
|
|
133
|
-
]
|
|
134
|
-
)
|
|
135
|
-
|
|
136
|
-
# validate the arguments
|
|
137
|
-
for _key, _val in _params["kwargs"].items():
|
|
138
|
-
if _key not in _all_params:
|
|
139
|
-
raise ApiTypeError(
|
|
140
|
-
"Got an unexpected keyword argument '%s'"
|
|
141
|
-
" to method generate_py_development_config_post" % _key
|
|
142
|
-
)
|
|
143
|
-
_params[_key] = _val
|
|
144
|
-
del _params["kwargs"]
|
|
145
|
-
|
|
146
|
-
_collection_formats = {}
|
|
147
|
-
|
|
148
|
-
# process the path parameters
|
|
149
|
-
_path_params = {}
|
|
150
|
-
|
|
151
|
-
# process the query parameters
|
|
152
|
-
_query_params = []
|
|
153
|
-
# process the header parameters
|
|
154
|
-
_header_params = dict(_params.get("_headers", {}))
|
|
155
|
-
# process the form parameters
|
|
156
|
-
_form_params = []
|
|
157
|
-
_files = {}
|
|
158
|
-
# process the body parameter
|
|
159
|
-
_body_params = None
|
|
160
|
-
if _params["create_python_deployment_config_request_dto"] is not None:
|
|
161
|
-
_body_params = _params["create_python_deployment_config_request_dto"]
|
|
162
|
-
|
|
163
|
-
# set the HTTP header `Accept`
|
|
164
|
-
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
165
|
-
["application/json"]
|
|
166
|
-
) # noqa: E501
|
|
167
|
-
|
|
168
|
-
# set the HTTP header `Content-Type`
|
|
169
|
-
_content_types_list = _params.get(
|
|
170
|
-
"_content_type",
|
|
171
|
-
self.api_client.select_header_content_type(["application/json"]),
|
|
172
|
-
)
|
|
173
|
-
if _content_types_list:
|
|
174
|
-
_header_params["Content-Type"] = _content_types_list
|
|
175
|
-
|
|
176
|
-
# authentication setting
|
|
177
|
-
_auth_settings = [] # noqa: E501
|
|
178
|
-
|
|
179
|
-
_response_types_map = {
|
|
180
|
-
"200": "CreatePythonDeploymentConfigResponseDto",
|
|
181
|
-
"422": "HTTPValidationError",
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return self.api_client.call_api(
|
|
185
|
-
"/api/2.0/mlflow/python-deployment-config/generate",
|
|
186
|
-
"POST",
|
|
187
|
-
_path_params,
|
|
188
|
-
_query_params,
|
|
189
|
-
_header_params,
|
|
190
|
-
body=_body_params,
|
|
191
|
-
post_params=_form_params,
|
|
192
|
-
files=_files,
|
|
193
|
-
response_types_map=_response_types_map,
|
|
194
|
-
auth_settings=_auth_settings,
|
|
195
|
-
async_req=_params.get("async_req"),
|
|
196
|
-
_return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
|
|
197
|
-
_preload_content=_params.get("_preload_content", True),
|
|
198
|
-
_request_timeout=_params.get("_request_timeout"),
|
|
199
|
-
collection_formats=_collection_formats,
|
|
200
|
-
_request_auth=_params.get("_request_auth"),
|
|
201
|
-
)
|
|
File without changes
|
|
File without changes
|