We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6554551 + 8b9a984 commit df3562cCopy full SHA for df3562c
overhave/admin/views/testing_users.py
@@ -14,7 +14,7 @@
14
15
16
def _make_dict_from_model(model: type[BaseModel]) -> dict[str, int | str]:
17
- return {key: value.annotation.__name__ for key, value in model.model_fields.items() if value.annotation is not None}
+ return {key: str(value.annotation) for key, value in model.model_fields.items() if value.annotation is not None}
18
19
20
class TestUserView(ModelViewConfigured):
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "overhave"
3
-version = "5.1.4"
+version = "5.1.5"
4
description = "Overhave - web-framework for BDD"
5
readme = "README.rst"
6
authors = [
0 commit comments