Skip to content

Commit df3562c

Browse files
authored
Merge pull request #44 from livestreamx/fix-test-users
Fix test users
2 parents 6554551 + 8b9a984 commit df3562c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

overhave/admin/views/testing_users.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
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}
17+
return {key: str(value.annotation) for key, value in model.model_fields.items() if value.annotation is not None}
1818

1919

2020
class TestUserView(ModelViewConfigured):

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "overhave"
3-
version = "5.1.4"
3+
version = "5.1.5"
44
description = "Overhave - web-framework for BDD"
55
readme = "README.rst"
66
authors = [

0 commit comments

Comments
 (0)