We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3b111 commit ddf3baeCopy full SHA for ddf3bae
1 file changed
open_alchemy/cache.py
@@ -138,9 +138,11 @@ def schemas_are_valid(filename: str) -> None:
138
"""
139
path = pathlib.Path(filename)
140
if not path.exists():
141
- raise exceptions.CacheError(f"the spec file does not exists, {filename=}")
+ raise exceptions.CacheError(
142
+ f"the spec file does not exists, filename={filename}"
143
+ )
144
if not path.is_file():
- raise exceptions.CacheError(f"the spec file is not a file, {filename=}")
145
+ raise exceptions.CacheError(f"the spec file is not a file, filename={filename}")
146
file_hash = calculate_hash(path.read_text())
147
148
cache_path = calculate_cache_path(path)
0 commit comments