datachain 0.19.2__py3-none-any.whl → 0.19.3__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 datachain might be problematic. Click here for more details.
- datachain/cli/parser/job.py +3 -3
- datachain/remote/studio.py +2 -2
- datachain/studio.py +3 -3
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/METADATA +1 -1
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/RECORD +9 -9
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/WHEEL +0 -0
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/entry_points.txt +0 -0
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/licenses/LICENSE +0 -0
- {datachain-0.19.2.dist-info → datachain-0.19.3.dist-info}/top_level.txt +0 -0
datachain/cli/parser/job.py
CHANGED
|
@@ -52,10 +52,10 @@ def add_jobs_parser(subparsers, parent_parser) -> None:
|
|
|
52
52
|
)
|
|
53
53
|
|
|
54
54
|
studio_run_parser.add_argument(
|
|
55
|
-
"--cluster
|
|
56
|
-
type=
|
|
55
|
+
"--cluster",
|
|
56
|
+
type=str,
|
|
57
57
|
action="store",
|
|
58
|
-
help="Compute cluster
|
|
58
|
+
help="Compute cluster to run the job on",
|
|
59
59
|
)
|
|
60
60
|
|
|
61
61
|
studio_run_parser.add_argument(
|
datachain/remote/studio.py
CHANGED
|
@@ -392,7 +392,7 @@ class StudioClient:
|
|
|
392
392
|
requirements: Optional[str] = None,
|
|
393
393
|
repository: Optional[str] = None,
|
|
394
394
|
priority: Optional[int] = None,
|
|
395
|
-
|
|
395
|
+
cluster: Optional[str] = None,
|
|
396
396
|
) -> Response[JobData]:
|
|
397
397
|
data = {
|
|
398
398
|
"query": query,
|
|
@@ -405,7 +405,7 @@ class StudioClient:
|
|
|
405
405
|
"requirements": requirements,
|
|
406
406
|
"repository": repository,
|
|
407
407
|
"priority": priority,
|
|
408
|
-
"
|
|
408
|
+
"compute_cluster_name": cluster,
|
|
409
409
|
}
|
|
410
410
|
return self._send_request("datachain/job", data)
|
|
411
411
|
|
datachain/studio.py
CHANGED
|
@@ -41,7 +41,7 @@ def process_jobs_args(args: "Namespace"):
|
|
|
41
41
|
args.req,
|
|
42
42
|
args.req_file,
|
|
43
43
|
args.priority,
|
|
44
|
-
args.
|
|
44
|
+
args.cluster,
|
|
45
45
|
)
|
|
46
46
|
|
|
47
47
|
if args.cmd == "cancel":
|
|
@@ -283,7 +283,7 @@ def create_job(
|
|
|
283
283
|
req: Optional[list[str]] = None,
|
|
284
284
|
req_file: Optional[str] = None,
|
|
285
285
|
priority: Optional[int] = None,
|
|
286
|
-
|
|
286
|
+
cluster: Optional[str] = None,
|
|
287
287
|
):
|
|
288
288
|
query_type = "PYTHON" if query_file.endswith(".py") else "SHELL"
|
|
289
289
|
with open(query_file) as f:
|
|
@@ -313,7 +313,7 @@ def create_job(
|
|
|
313
313
|
repository=repository,
|
|
314
314
|
requirements=requirements,
|
|
315
315
|
priority=priority,
|
|
316
|
-
|
|
316
|
+
cluster=cluster,
|
|
317
317
|
)
|
|
318
318
|
if not response.ok:
|
|
319
319
|
raise DataChainError(response.message)
|
|
@@ -15,7 +15,7 @@ datachain/progress.py,sha256=lRzxoYP4Qv2XBwD78sOkmYRzHFpZ2ExVNJF8wAeICtY,770
|
|
|
15
15
|
datachain/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
datachain/script_meta.py,sha256=V-LaFOZG84pD0Zc0NvejYdzwDgzITv6yHvAHggDCnuY,4978
|
|
17
17
|
datachain/semver.py,sha256=UB8GHPBtAP3UJGeiuJoInD7SK-DnB93_Xd1qy_CQ9cU,2074
|
|
18
|
-
datachain/studio.py,sha256=
|
|
18
|
+
datachain/studio.py,sha256=vFRg7_8phTIRJnfbUYk-f9h6tLVy4dNQF2tgsMw2ujk,12357
|
|
19
19
|
datachain/telemetry.py,sha256=0A4IOPPp9VlP5pyW9eBfaTK3YhHGzHl7dQudQjUAx9A,994
|
|
20
20
|
datachain/utils.py,sha256=DNqOi-Ydb7InyWvD9m7_yailxz6-YGpZzh00biQaHNo,15305
|
|
21
21
|
datachain/catalog/__init__.py,sha256=cMZzSz3VoUi-6qXSVaHYN-agxQuAcz2XSqnEPZ55crE,353
|
|
@@ -33,7 +33,7 @@ datachain/cli/commands/misc.py,sha256=c0DmkOLwcDI2YhA8ArOuLJk6aGzSMZCiKL_E2JGibV
|
|
|
33
33
|
datachain/cli/commands/query.py,sha256=Xzfgh14nPVH-sclqX1tpZqgfdTugw5s_44v0D33z6FA,1505
|
|
34
34
|
datachain/cli/commands/show.py,sha256=Cf8wBs12h-xtdOzjU5GTDy2C8rF5HJSF0hDJYER1zH8,1606
|
|
35
35
|
datachain/cli/parser/__init__.py,sha256=sjCIcosAtZqa0m50GMQHqmCkZSYxKyZNwQ29XwRQlP0,15913
|
|
36
|
-
datachain/cli/parser/job.py,sha256=
|
|
36
|
+
datachain/cli/parser/job.py,sha256=_wqOOxGRXG_-xuQ35FaLUOwjw6w8HviWvoEpZZ7VBzI,5289
|
|
37
37
|
datachain/cli/parser/studio.py,sha256=Bo__LKM7qhJGgkyX8M_bCvgZ2Gvqq6r_X4t1NdtaBIY,3881
|
|
38
38
|
datachain/cli/parser/utils.py,sha256=rETdD-9Hq9A4OolgfT7jQw4aoawtbfmkdtH6E7nkhpI,2888
|
|
39
39
|
datachain/client/__init__.py,sha256=1kDpCPoibMXi1gExR4lTLc5pi-k6M5TANiwtXkPoLhU,49
|
|
@@ -131,7 +131,7 @@ datachain/query/session.py,sha256=6_ydvPasurmc5tR11dzFj51DpUAo4NxXP9p4ltoTauc,67
|
|
|
131
131
|
datachain/query/udf.py,sha256=e753bDJzTNjGFQn1WGTvOAWSwjDbrFI1-_DDWkWN2ls,1343
|
|
132
132
|
datachain/query/utils.py,sha256=HaSDNH_XGvp_NIcXjcB7j4vJRPi4_tbztDWclYelHY4,1208
|
|
133
133
|
datachain/remote/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
-
datachain/remote/studio.py,sha256=
|
|
134
|
+
datachain/remote/studio.py,sha256=SZFmTTIHH7eRnWEGT-YCHsayeCIaLfh0UiasHIiA2s4,13915
|
|
135
135
|
datachain/sql/__init__.py,sha256=6SQRdbljO3d2hx3EAVXEZrHQKv5jth0Jh98PogT59No,262
|
|
136
136
|
datachain/sql/selectable.py,sha256=cTc60qVoAwqqss0Vop8Lt5Z-ROnM1XrQmL_GLjRxhXs,1765
|
|
137
137
|
datachain/sql/types.py,sha256=ASSPkmM5EzdRindqj2O7WHLXq8VHAgFYedG8lYfGvVI,14045
|
|
@@ -153,9 +153,9 @@ datachain/sql/sqlite/vector.py,sha256=ncW4eu2FlJhrP_CIpsvtkUabZlQdl2D5Lgwy_cbfqR
|
|
|
153
153
|
datachain/toolkit/__init__.py,sha256=eQ58Q5Yf_Fgv1ZG0IO5dpB4jmP90rk8YxUWmPc1M2Bo,68
|
|
154
154
|
datachain/toolkit/split.py,sha256=ktGWzY4kyzjWyR86dhvzw-Zhl0lVk_LOX3NciTac6qo,2914
|
|
155
155
|
datachain/torch/__init__.py,sha256=gIS74PoEPy4TB3X6vx9nLO0Y3sLJzsA8ckn8pRWihJM,579
|
|
156
|
-
datachain-0.19.
|
|
157
|
-
datachain-0.19.
|
|
158
|
-
datachain-0.19.
|
|
159
|
-
datachain-0.19.
|
|
160
|
-
datachain-0.19.
|
|
161
|
-
datachain-0.19.
|
|
156
|
+
datachain-0.19.3.dist-info/licenses/LICENSE,sha256=8DnqK5yoPI_E50bEg_zsHKZHY2HqPy4rYN338BHQaRA,11344
|
|
157
|
+
datachain-0.19.3.dist-info/METADATA,sha256=cepmI_PMLRlKrdTOLwdBhl-752g3WoG41tbwvaY-jiY,13281
|
|
158
|
+
datachain-0.19.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
159
|
+
datachain-0.19.3.dist-info/entry_points.txt,sha256=0GMJS6B_KWq0m3VT98vQI2YZodAMkn4uReZ_okga9R4,49
|
|
160
|
+
datachain-0.19.3.dist-info/top_level.txt,sha256=lZPpdU_2jJABLNIg2kvEOBi8PtsYikbN1OdMLHk8bTg,10
|
|
161
|
+
datachain-0.19.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|