ygg 0.1.41__py3-none-any.whl → 0.1.42__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ygg
3
- Version: 0.1.41
3
+ Version: 0.1.42
4
4
  Summary: Type-friendly utilities for moving data between Python objects, Arrow, Polars, Pandas, Spark, and Databricks
5
5
  Author: Yggdrasil contributors
6
6
  License: Apache License
@@ -1,10 +1,10 @@
1
- ygg-0.1.41.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
1
+ ygg-0.1.42.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
2
2
  yggdrasil/__init__.py,sha256=PfH7Xwt6uue6oqe6S5V8NhDJcVQClkKrBE1KXhdelZc,117
3
- yggdrasil/version.py,sha256=MW_v7YHPKwbcPR_PtCE3ALJ0csFwgMewFF071yAYGCE,22
3
+ yggdrasil/version.py,sha256=Vbw1QPOwG94uaQ4sbn54-mAMNN12dtZH8VjsOibNxY0,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=Ejc3VlS56QzyjFX1-wNXHC4BNc2MpDRfFFafVxPF8rE,40968
7
- yggdrasil/databricks/compute/execution_context.py,sha256=nxrNXoarq_JAB-Cpj0udHhq2jx-DmMbRWJdAezLrPis,22347
6
+ yggdrasil/databricks/compute/cluster.py,sha256=6OQ_OJphR4hmapX-XGz4wzM4OvI3v1DQG7T7p5fE-LM,41011
7
+ yggdrasil/databricks/compute/execution_context.py,sha256=RusrzOrVsOJTEu8yyXjx16BnKBjjV_HjbjXoAhV7ePw,22696
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.41.dist-info/METADATA,sha256=EYXc8625quuP-JkcUD5FIK-5AmgYMddSWj2t4mnN2bg,19204
59
- ygg-0.1.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
60
- ygg-0.1.41.dist-info/entry_points.txt,sha256=6q-vpWG3kvw2dhctQ0LALdatoeefkN855Ev02I1dKGY,70
61
- ygg-0.1.41.dist-info/top_level.txt,sha256=iBe9Kk4VIVbLpgv_p8OZUIfxgj4dgJ5wBg6vO3rigso,10
62
- ygg-0.1.41.dist-info/RECORD,,
58
+ ygg-0.1.42.dist-info/METADATA,sha256=TFxifFMH1TtHp6xEpeQetuxYqFAqD7j_jHl2c81AJ6U,19204
59
+ ygg-0.1.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
60
+ ygg-0.1.42.dist-info/entry_points.txt,sha256=6q-vpWG3kvw2dhctQ0LALdatoeefkN855Ev02I1dKGY,70
61
+ ygg-0.1.42.dist-info/top_level.txt,sha256=iBe9Kk4VIVbLpgv_p8OZUIfxgj4dgJ5wBg6vO3rigso,10
62
+ ygg-0.1.42.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
@@ -149,11 +149,19 @@ meta["version_info"] = current_env.version_info
149
149
 
150
150
  print(json.dumps(meta))"""
151
151
 
152
- content = self.execute_command(
153
- command=cmd,
154
- result_tag="<<RESULT>>",
155
- print_stdout=False,
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.wait_installed_libraries()
160
+ content = self.execute_command(
161
+ command=cmd,
162
+ result_tag="<<RESULT>>",
163
+ print_stdout=False,
164
+ )
157
165
 
158
166
  self._remote_metadata = RemoteMetadata(**json.loads(content))
159
167
 
yggdrasil/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.41"
1
+ __version__ = "0.1.42"
File without changes