flyteplugins-dask 2.0.0b28__py3-none-any.whl → 2.0.0b30__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.
- flyteplugins/dask/task.py +2 -3
- {flyteplugins_dask-2.0.0b28.dist-info → flyteplugins_dask-2.0.0b30.dist-info}/METADATA +1 -1
- flyteplugins_dask-2.0.0b30.dist-info/RECORD +6 -0
- flyteplugins_dask-2.0.0b28.dist-info/RECORD +0 -6
- {flyteplugins_dask-2.0.0b28.dist-info → flyteplugins_dask-2.0.0b30.dist-info}/WHEEL +0 -0
- {flyteplugins_dask-2.0.0b28.dist-info → flyteplugins_dask-2.0.0b30.dist-info}/top_level.txt +0 -0
flyteplugins/dask/task.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
import sys
|
|
3
2
|
from dataclasses import dataclass, field
|
|
4
3
|
from typing import Any, Dict, Optional
|
|
@@ -78,12 +77,12 @@ class DownloadCodeBundleWorkerPlugin(WorkerPlugin):
|
|
|
78
77
|
def __init__(self, code_bundle: CodeBundle):
|
|
79
78
|
self.code_bundle = code_bundle
|
|
80
79
|
|
|
81
|
-
def setup(self, worker):
|
|
80
|
+
async def setup(self, worker):
|
|
82
81
|
"""
|
|
83
82
|
Runs on each worker as it is initialized.
|
|
84
83
|
"""
|
|
85
84
|
sys.path.insert(0, ".")
|
|
86
|
-
|
|
85
|
+
await download_code_bundle(self.code_bundle)
|
|
87
86
|
|
|
88
87
|
|
|
89
88
|
@dataclass(kw_only=True)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
flyteplugins/dask/__init__.py,sha256=UwmJjPRVqDyCTobQlT5a2g2oZJvK0vlDiv6rwugNs-g,112
|
|
2
|
+
flyteplugins/dask/task.py,sha256=-pEEB8CF9sbMHtnZtoEhBVH8Zsv5fG3uBkby1UOnTzE,4194
|
|
3
|
+
flyteplugins_dask-2.0.0b30.dist-info/METADATA,sha256=fksrRAqK3MJ3I-vk2muyD3tXOFRNaT5vUUTEqTaIR9s,948
|
|
4
|
+
flyteplugins_dask-2.0.0b30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
+
flyteplugins_dask-2.0.0b30.dist-info/top_level.txt,sha256=cgd779rPu9EsvdtuYgUxNHHgElaQvPn74KhB5XSeMBE,13
|
|
6
|
+
flyteplugins_dask-2.0.0b30.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
flyteplugins/dask/__init__.py,sha256=UwmJjPRVqDyCTobQlT5a2g2oZJvK0vlDiv6rwugNs-g,112
|
|
2
|
-
flyteplugins/dask/task.py,sha256=2jmKzyhmsTXv8Ap8xNse3YATtnvYVXATzEEq1WP5L_8,4210
|
|
3
|
-
flyteplugins_dask-2.0.0b28.dist-info/METADATA,sha256=HijZQu4OF3_hGZuHOaYQCTLIkfKYhFo-ePsAYT-71E4,948
|
|
4
|
-
flyteplugins_dask-2.0.0b28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
flyteplugins_dask-2.0.0b28.dist-info/top_level.txt,sha256=cgd779rPu9EsvdtuYgUxNHHgElaQvPn74KhB5XSeMBE,13
|
|
6
|
-
flyteplugins_dask-2.0.0b28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|