zenml-nightly 0.66.0.dev20240910__py3-none-any.whl → 0.66.0.dev20240911__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.
- zenml/VERSION +1 -1
- zenml/stack/stack_component.py +50 -17
- {zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/METADATA +1 -1
- {zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/RECORD +7 -7
- {zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/entry_points.txt +0 -0
zenml/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.66.0.
|
1
|
+
0.66.0.dev20240911
|
zenml/stack/stack_component.py
CHANGED
@@ -421,23 +421,56 @@ class StackComponent:
|
|
421
421
|
else:
|
422
422
|
user_id = None
|
423
423
|
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
424
|
+
try:
|
425
|
+
return flavor.implementation_class(
|
426
|
+
user=user_id,
|
427
|
+
workspace=component_model.workspace.id,
|
428
|
+
name=component_model.name,
|
429
|
+
id=component_model.id,
|
430
|
+
config=configuration,
|
431
|
+
labels=component_model.labels,
|
432
|
+
flavor=component_model.flavor,
|
433
|
+
type=component_model.type,
|
434
|
+
created=component_model.created,
|
435
|
+
updated=component_model.updated,
|
436
|
+
connector_requirements=flavor.service_connector_requirements,
|
437
|
+
connector=component_model.connector.id
|
438
|
+
if component_model.connector
|
439
|
+
else None,
|
440
|
+
connector_resource_id=component_model.connector_resource_id,
|
441
|
+
)
|
442
|
+
except ImportError as e:
|
443
|
+
from zenml.integrations.registry import integration_registry
|
444
|
+
|
445
|
+
integration_requirements = " ".join(
|
446
|
+
integration_registry.select_integration_requirements(
|
447
|
+
flavor_model.integration
|
448
|
+
)
|
449
|
+
)
|
450
|
+
|
451
|
+
if integration_registry.is_installed(flavor_model.integration):
|
452
|
+
raise ImportError(
|
453
|
+
f"{e}\n\n"
|
454
|
+
f"Something went wrong while trying to import from the "
|
455
|
+
f"`{flavor_model.integration}` integration. Please make "
|
456
|
+
"sure that all its requirements are installed properly by "
|
457
|
+
"reinstalling the integration either through our CLI: "
|
458
|
+
f"`zenml integration install {flavor_model.integration} "
|
459
|
+
"-y` or by manually installing its requirements: "
|
460
|
+
f"`pip install {integration_requirements}`. If the error"
|
461
|
+
"persists, please contact the ZenML team."
|
462
|
+
) from e
|
463
|
+
else:
|
464
|
+
raise ImportError(
|
465
|
+
f"{e}\n\n"
|
466
|
+
f"The `{flavor_model.integration}` integration that you "
|
467
|
+
"are trying to use is not installed in your current "
|
468
|
+
"environment. Please make sure that it is installed by "
|
469
|
+
"either using our CLI: `zenml integration install "
|
470
|
+
f"{flavor_model.integration}` or by manually installing "
|
471
|
+
f"its requirements: `pip install "
|
472
|
+
f"{integration_requirements}`"
|
473
|
+
) from e
|
441
474
|
|
442
475
|
@property
|
443
476
|
def config(self) -> StackComponentConfig:
|
{zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/RECORD
RENAMED
@@ -6,7 +6,7 @@ RELEASE_NOTES.md,sha256=GjuHlUd-5AcepXC8ETMkIRMxKVQtBekiuY_CW0oP4XQ,365106
|
|
6
6
|
ROADMAP.md,sha256=hiLSmr16BH8Dfx7SaQM4JcXCGCVl6mFZPFAwJeDTrJU,407
|
7
7
|
SECURITY.md,sha256=9DepA8y03yvCZLHEfcXLTDH4lUyKHquAdukBsccNN7c,682
|
8
8
|
zenml/README.md,sha256=827dekbOWAs1BpW7VF1a4d7EbwPbjwccX-2zdXBENZo,1777
|
9
|
-
zenml/VERSION,sha256=
|
9
|
+
zenml/VERSION,sha256=z587lueMfLtk_cl6JsTB3mS4HLQXyMCR82stHJFvprU,19
|
10
10
|
zenml/__init__.py,sha256=X_JnjAYTBG2ZYgcM2_FDPssygdj7z7VTAmU9HEi17p0,2306
|
11
11
|
zenml/actions/__init__.py,sha256=mrt6wPo73iKRxK754_NqsGyJ3buW7RnVeIGXr1xEw8Y,681
|
12
12
|
zenml/actions/base_action.py,sha256=UcaHev6BTuLDwuswnyaPjdA8AgUqB5xPZ-lRtuvf2FU,25553
|
@@ -717,7 +717,7 @@ zenml/stack/authentication_mixin.py,sha256=sg7GkpB-Ao9Gsa7Po0jxMn-_mVYUB42etmspZ
|
|
717
717
|
zenml/stack/flavor.py,sha256=rut-jFQFB6OGm25RRyMtYlJ3mm_6wrHYVI54Hmf9te4,9726
|
718
718
|
zenml/stack/flavor_registry.py,sha256=IL0fRrxxQJ9YkCYCeADP7nwWEQo4XBElJY4owMjKGbQ,6108
|
719
719
|
zenml/stack/stack.py,sha256=5pgR30_Xgj4Qi09zKYyleuaWwMhe0zvi4k7yF1r8_BM,38021
|
720
|
-
zenml/stack/stack_component.py,sha256=
|
720
|
+
zenml/stack/stack_component.py,sha256=9sgAu2EGZ2yiEn_D0dq_kmytFmlt8spJ3iG0GlHIFVU,31634
|
721
721
|
zenml/stack/stack_validator.py,sha256=hWbvvGIeWLj6NwSsF4GCc6RAxAWvxHXTcBZL9nJvcak,3111
|
722
722
|
zenml/stack/utils.py,sha256=dcJsbLZf-hJYM9Ut8BfNzrWygmz6shHegqHPRVLoLWE,5840
|
723
723
|
zenml/stack_deployments/__init__.py,sha256=-7593cQ_ZgRn774Ol-8AKXXQquIU4DSiaThVEr6TfWM,644
|
@@ -1399,8 +1399,8 @@ zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=Bq1djrUP9saoD7vECjS7
|
|
1399
1399
|
zenml/zen_stores/sql_zen_store.py,sha256=4z458K5ItHkAO0bEUAl6rWJDHKh6GS-sRrt2RPridnE,392435
|
1400
1400
|
zenml/zen_stores/template_utils.py,sha256=UB_CBoMIfBequa8g3H7aTI6V_ke1SJr4IW1qwFCL1jc,8932
|
1401
1401
|
zenml/zen_stores/zen_store_interface.py,sha256=kzR_i8vHjULld3MquSaMorcab8lJk1e9RZquw1VXjHY,93510
|
1402
|
-
zenml_nightly-0.66.0.
|
1403
|
-
zenml_nightly-0.66.0.
|
1404
|
-
zenml_nightly-0.66.0.
|
1405
|
-
zenml_nightly-0.66.0.
|
1406
|
-
zenml_nightly-0.66.0.
|
1402
|
+
zenml_nightly-0.66.0.dev20240911.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
|
1403
|
+
zenml_nightly-0.66.0.dev20240911.dist-info/METADATA,sha256=HAq5cQQeGuNKMEtBHcs08RrVLjQ7cRiGLxqX0UC0e38,20961
|
1404
|
+
zenml_nightly-0.66.0.dev20240911.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1405
|
+
zenml_nightly-0.66.0.dev20240911.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
|
1406
|
+
zenml_nightly-0.66.0.dev20240911.dist-info/RECORD,,
|
{zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/LICENSE
RENAMED
File without changes
|
{zenml_nightly-0.66.0.dev20240910.dist-info → zenml_nightly-0.66.0.dev20240911.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|