cloe-nessy 0.3.11.5b0__py3-none-any.whl → 0.3.12__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.
- cloe_nessy/models/volume.py +6 -7
- {cloe_nessy-0.3.11.5b0.dist-info → cloe_nessy-0.3.12.dist-info}/METADATA +4 -3
- {cloe_nessy-0.3.11.5b0.dist-info → cloe_nessy-0.3.12.dist-info}/RECORD +5 -5
- {cloe_nessy-0.3.11.5b0.dist-info → cloe_nessy-0.3.12.dist-info}/WHEEL +0 -0
- {cloe_nessy-0.3.11.5b0.dist-info → cloe_nessy-0.3.12.dist-info}/top_level.txt +0 -0
cloe_nessy/models/volume.py
CHANGED
|
@@ -64,14 +64,13 @@ class Volume(TemplateLoaderMixin, LoggerMixin, BaseModel):
|
|
|
64
64
|
Returns:
|
|
65
65
|
The rendered create statement as a string.
|
|
66
66
|
"""
|
|
67
|
-
template_name = "create_volume.sql.j2"
|
|
68
|
-
|
|
67
|
+
template_name: str = "create_volume.sql.j2"
|
|
69
68
|
templates = Path(__file__).parent / "templates"
|
|
70
|
-
template = self.get_template(templates, template_name)
|
|
71
|
-
|
|
72
|
-
if template is None:
|
|
73
|
-
self._console_logger.error(f"Template [ {template_name} ] not found in any location.")
|
|
74
|
-
raise TemplateNotFound(template_name)
|
|
75
69
|
|
|
70
|
+
try:
|
|
71
|
+
template = self.get_template(templates, template_name)
|
|
72
|
+
except TemplateNotFound as err:
|
|
73
|
+
self._console_logger.error(f"Template [ {template_name} ] not found.")
|
|
74
|
+
raise err
|
|
76
75
|
render = template.render(volume=self, if_not_exists=if_not_exists)
|
|
77
76
|
return render
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloe-nessy
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Your friendly datalake monster.
|
|
5
5
|
Author-email: initions <ICSMC_EXT_PYPIORG@accenture.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Intended Audience :: Developers
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
14
|
Classifier: Topic :: Database
|
|
15
|
-
Requires-Python: <3.
|
|
15
|
+
Requires-Python: <3.13,>=3.11
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
Requires-Dist: pydantic<3.0.0,>=2.7.2
|
|
18
18
|
Requires-Dist: pyyaml<7.0.0,>=6.0.1
|
|
@@ -30,12 +30,13 @@ Requires-Dist: networkx<4.0,>=3.3
|
|
|
30
30
|
Requires-Dist: matplotlib<4.0.0,>=3.9.2
|
|
31
31
|
Requires-Dist: types-networkx<4.0.0.0,>=3.2.1.20240820
|
|
32
32
|
Requires-Dist: fsspec<2025.6.0,>=2025.5.1
|
|
33
|
-
Requires-Dist: cloe-logging[databricks,log-analytics]<0.4,>=0.3.
|
|
33
|
+
Requires-Dist: cloe-logging[databricks,log-analytics]<0.4,>=0.3.8
|
|
34
34
|
|
|
35
35
|
# cloe-nessy
|
|
36
36
|
|
|
37
37
|
[](https://github.com/copier-org/copier)
|
|
38
38
|
[](https://www.python.org)
|
|
39
|
+
[](https://www.python.org)
|
|
39
40
|
[](https://github.com/astral-sh/uv)
|
|
40
41
|
[](https://github.com/charliermarsh/ruff)
|
|
41
42
|
[](https://mypy-lang.org/)
|
|
@@ -44,7 +44,7 @@ cloe_nessy/models/foreign_key.py,sha256=DwRVHs9sShqqPV-NL7ow_3AmPPWX0Od26yZn_I56
|
|
|
44
44
|
cloe_nessy/models/schema.py,sha256=yUrjjEhAH5zbCymE67Az_jPnVB8hGO-_UNfqzeZCD_Y,3376
|
|
45
45
|
cloe_nessy/models/table.py,sha256=O9vcJ1XBIb6kA-NAI3SNpB5b7MGDo3p4wMJdonPaBfA,12076
|
|
46
46
|
cloe_nessy/models/types.py,sha256=XRbuJGdTNa6aXyE3IAzs_J9gVjbfkzMDLfGl-k6jI_4,223
|
|
47
|
-
cloe_nessy/models/volume.py,sha256=
|
|
47
|
+
cloe_nessy/models/volume.py,sha256=51BE06FrL1Wv6zblFwJ_HTiR6WQqH7pSmrdH90rqwLg,2444
|
|
48
48
|
cloe_nessy/models/adapter/__init__.py,sha256=m36W_mqwB3dCYnCIt0fLOSHS4E1VU8FRGoaum4Gf95o,90
|
|
49
49
|
cloe_nessy/models/adapter/unity_catalog_adapter.py,sha256=a-14Ys-AevVYQd0xeJU1syLxjT5Wzo4uog1hFSEs76M,12651
|
|
50
50
|
cloe_nessy/models/mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -94,7 +94,7 @@ cloe_nessy/settings/__init__.py,sha256=ZbkneO3WaKOxon7qHFHnou7EnBOSnBFyKMDZblIEv
|
|
|
94
94
|
cloe_nessy/settings/settings.py,sha256=I4n129lrujriW-d8q4as2Kb4_kI932ModfZ5Ow_UpVM,3653
|
|
95
95
|
cloe_nessy/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
96
|
cloe_nessy/utils/file_and_directory_handler.py,sha256=r2EVt9xG81p6ScaJCwETC5an6pMT6WseB0jMOR-JlpU,602
|
|
97
|
-
cloe_nessy-0.3.
|
|
98
|
-
cloe_nessy-0.3.
|
|
99
|
-
cloe_nessy-0.3.
|
|
100
|
-
cloe_nessy-0.3.
|
|
97
|
+
cloe_nessy-0.3.12.dist-info/METADATA,sha256=ar5pOTOetm9cvCHEuvr1tz45WavglMpU3uo46ATXE4I,3290
|
|
98
|
+
cloe_nessy-0.3.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
99
|
+
cloe_nessy-0.3.12.dist-info/top_level.txt,sha256=Z7izn8HmQpg2wBUb-0jzaKlYKMU7Ypzuc9__9vPtW_I,11
|
|
100
|
+
cloe_nessy-0.3.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|