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 dd18664 commit 615e1b1Copy full SHA for 615e1b1
.gitignore
@@ -20,3 +20,4 @@ build/
20
*.so
21
html/dist.css
22
38venv
23
+39venv
src/view/_loader.py
@@ -160,7 +160,7 @@ def __view_construct__(**kwargs):
160
try:
161
hints = get_type_hints(tp)
162
except KeyError:
163
- hints = tp._field_types # type: ignore
+ hints = getattr(tp, "_field_types", tp.__annotations__)
164
165
for k, v in hints.items():
166
if k in defaults:
0 commit comments