Skip to content
Snippets Groups Projects
Commit 608d02ec authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Fix broken if/elif/else statement

parent ca591499
No related branches found
No related tags found
2 merge requests!143Release 0.15.0,!135Add and fix more type hints
......@@ -213,7 +213,7 @@ unique: bool, optional
for key in items.keys()), "Keys must be strings or integers."
elif kind == AccessType.PATH:
assert all(isinstance(key, str) for key in items.keys()), "Keys must be strings."
elif kind == _:
else:
raise ValueError(f"Unknown AccessType: {kind}")
# 1. add the given items to the corresponding dummy dict cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment