flyteplugins-dask 2.0.0b28__py3-none-any.whl → 2.0.0b29__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 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
- asyncio.run(download_code_bundle(self.code_bundle))
85
+ await download_code_bundle(self.code_bundle)
87
86
 
88
87
 
89
88
  @dataclass(kw_only=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flyteplugins-dask
3
- Version: 2.0.0b28
3
+ Version: 2.0.0b29
4
4
  Summary: Dask plugin for flyte
5
5
  Author-email: Kevin Su <pingsutw@users.noreply.github.com>
6
6
  Requires-Python: >=3.10
@@ -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.0b29.dist-info/METADATA,sha256=16RIHOMU_ERPYqhgKdqynHVecQC5SBPnVHhTqBxo4KI,948
4
+ flyteplugins_dask-2.0.0b29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ flyteplugins_dask-2.0.0b29.dist-info/top_level.txt,sha256=cgd779rPu9EsvdtuYgUxNHHgElaQvPn74KhB5XSeMBE,13
6
+ flyteplugins_dask-2.0.0b29.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,,