ygg 0.1.41__py3-none-any.whl → 0.1.43__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.
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/METADATA +1 -1
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/RECORD +9 -9
- yggdrasil/databricks/compute/cluster.py +3 -2
- yggdrasil/databricks/compute/execution_context.py +14 -5
- yggdrasil/version.py +1 -1
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/WHEEL +0 -0
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/entry_points.txt +0 -0
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/licenses/LICENSE +0 -0
- {ygg-0.1.41.dist-info → ygg-0.1.43.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
ygg-0.1.
|
|
1
|
+
ygg-0.1.43.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
2
2
|
yggdrasil/__init__.py,sha256=PfH7Xwt6uue6oqe6S5V8NhDJcVQClkKrBE1KXhdelZc,117
|
|
3
|
-
yggdrasil/version.py,sha256=
|
|
3
|
+
yggdrasil/version.py,sha256=UoVHMD6MTDcIuCiAGXBFICsOFwtnni_KEOLxLK-bMlk,22
|
|
4
4
|
yggdrasil/databricks/__init__.py,sha256=skctY2c8W-hI81upx9F_PWRe5ishL3hrdiTuizgDjdw,152
|
|
5
5
|
yggdrasil/databricks/compute/__init__.py,sha256=NvdzmaJSNYY1uJthv1hHdBuNu3bD_-Z65DWnaJt9yXg,289
|
|
6
|
-
yggdrasil/databricks/compute/cluster.py,sha256=
|
|
7
|
-
yggdrasil/databricks/compute/execution_context.py,sha256=
|
|
6
|
+
yggdrasil/databricks/compute/cluster.py,sha256=RLXEKgGAeIOPH6lzX3J8brBoqDu_RsjiZam-yymiabM,40933
|
|
7
|
+
yggdrasil/databricks/compute/execution_context.py,sha256=E86b-VF9hZ4WbqHt43ATR-YYvgPZ91_17DQ5oaQFNgg,22688
|
|
8
8
|
yggdrasil/databricks/compute/remote.py,sha256=nEN_Fr1Ouul_iKOf4B5QjEGscYAcl7nHjGsl2toRzrU,2874
|
|
9
9
|
yggdrasil/databricks/jobs/__init__.py,sha256=snxGSJb0M5I39v0y3IR-uEeSlZR248cQ_4DJ1sYs-h8,154
|
|
10
10
|
yggdrasil/databricks/jobs/config.py,sha256=9LGeHD04hbfy0xt8_6oobC4moKJh4_DTjZiK4Q2Tqjk,11557
|
|
@@ -55,8 +55,8 @@ yggdrasil/types/cast/registry.py,sha256=_zdFGmUBB7P-e_LIcJlOxMcxAkXoA-UXB6HqLMgT
|
|
|
55
55
|
yggdrasil/types/cast/spark_cast.py,sha256=_KAsl1DqmKMSfWxqhVE7gosjYdgiL1C5bDQv6eP3HtA,24926
|
|
56
56
|
yggdrasil/types/cast/spark_pandas_cast.py,sha256=BuTiWrdCANZCdD_p2MAytqm74eq-rdRXd-LGojBRrfU,5023
|
|
57
57
|
yggdrasil/types/cast/spark_polars_cast.py,sha256=btmZNHXn2NSt3fUuB4xg7coaE0RezIBdZD92H8NK0Jw,9073
|
|
58
|
-
ygg-0.1.
|
|
59
|
-
ygg-0.1.
|
|
60
|
-
ygg-0.1.
|
|
61
|
-
ygg-0.1.
|
|
62
|
-
ygg-0.1.
|
|
58
|
+
ygg-0.1.43.dist-info/METADATA,sha256=UWEaa2zwto1jGhoHMzROMgAsrXlPddS5qQkBHCAZjoI,19204
|
|
59
|
+
ygg-0.1.43.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
60
|
+
ygg-0.1.43.dist-info/entry_points.txt,sha256=6q-vpWG3kvw2dhctQ0LALdatoeefkN855Ev02I1dKGY,70
|
|
61
|
+
ygg-0.1.43.dist-info/top_level.txt,sha256=iBe9Kk4VIVbLpgv_p8OZUIfxgj4dgJ5wBg6vO3rigso,10
|
|
62
|
+
ygg-0.1.43.dist-info/RECORD,,
|
|
@@ -390,6 +390,8 @@ class Cluster(WorkspaceService):
|
|
|
390
390
|
|
|
391
391
|
sleep_time = min(max_sleep_time, sleep_time * backoff)
|
|
392
392
|
|
|
393
|
+
self.wait_installed_libraries()
|
|
394
|
+
|
|
393
395
|
self.raise_for_status()
|
|
394
396
|
|
|
395
397
|
return self
|
|
@@ -816,7 +818,6 @@ class Cluster(WorkspaceService):
|
|
|
816
818
|
if wait_timeout:
|
|
817
819
|
self.clusters_client().start(cluster_id=self.cluster_id)
|
|
818
820
|
self.wait_for_status(timeout=wait_timeout.total_seconds())
|
|
819
|
-
self.wait_installed_libraries(timeout=wait_timeout)
|
|
820
821
|
else:
|
|
821
822
|
self.clusters_client().start(cluster_id=self.cluster_id)
|
|
822
823
|
|
|
@@ -835,7 +836,7 @@ class Cluster(WorkspaceService):
|
|
|
835
836
|
if self.is_running:
|
|
836
837
|
logger.info("Restarting %s", self)
|
|
837
838
|
self.details = self.clusters_client().restart_and_wait(cluster_id=self.cluster_id)
|
|
838
|
-
return self.
|
|
839
|
+
return self.wait_for_status()
|
|
839
840
|
|
|
840
841
|
return self.start()
|
|
841
842
|
|
|
@@ -149,11 +149,20 @@ meta["version_info"] = current_env.version_info
|
|
|
149
149
|
|
|
150
150
|
print(json.dumps(meta))"""
|
|
151
151
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
try:
|
|
153
|
+
content = self.execute_command(
|
|
154
|
+
command=cmd,
|
|
155
|
+
result_tag="<<RESULT>>",
|
|
156
|
+
print_stdout=False,
|
|
157
|
+
)
|
|
158
|
+
except ImportError:
|
|
159
|
+
self.cluster.ensure_running()
|
|
160
|
+
|
|
161
|
+
content = self.execute_command(
|
|
162
|
+
command=cmd,
|
|
163
|
+
result_tag="<<RESULT>>",
|
|
164
|
+
print_stdout=False,
|
|
165
|
+
)
|
|
157
166
|
|
|
158
167
|
self._remote_metadata = RemoteMetadata(**json.loads(content))
|
|
159
168
|
|
yggdrasil/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.43"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|