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.
@@ -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.11.5b0
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.12,>=3.11
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.7
33
+ Requires-Dist: cloe-logging[databricks,log-analytics]<0.4,>=0.3.8
34
34
 
35
35
  # cloe-nessy
36
36
 
37
37
  [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
38
38
  [![python](https://img.shields.io/badge/Python-3.11-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org)
39
+ [![python](https://img.shields.io/badge/Python-3.12-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org)
39
40
  [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
40
41
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json)](https://github.com/charliermarsh/ruff)
41
42
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](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=T1tw08OohuFkSaAA-ToI7Gogm5dY-JZTyeZYJyc5Qks,2457
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.11.5b0.dist-info/METADATA,sha256=ujLV1H3c4aLGooIc3Bmz0uLRsAS6p8eacVwCY3ZGwPw,3166
98
- cloe_nessy-0.3.11.5b0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
99
- cloe_nessy-0.3.11.5b0.dist-info/top_level.txt,sha256=Z7izn8HmQpg2wBUb-0jzaKlYKMU7Ypzuc9__9vPtW_I,11
100
- cloe_nessy-0.3.11.5b0.dist-info/RECORD,,
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,,