Skip to content
Snippets Groups Projects
Commit 0bf8c5a4 authored by keyis2's avatar keyis2
Browse files

Merge branch 'main' of https://github.com/braught2/GraphGeneration into keyi_opt

parents c05c756d 387c8b7d
No related branches found
No related tags found
1 merge request!1Merge refactor to main
......@@ -137,6 +137,8 @@ class Lambda:
return a.value
elif isinstance(a, ast.Name):
return a.id
elif isinstance(a, ast.Index):
return a.value.id
else:
raise TypeError(f"weird annotation? {a}")
if isinstance(a.annotation, ast.Subscript) \
......
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