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.
2 parents 617089d + 4580929 commit 2244717Copy full SHA for 2244717
graphene_pydantic/objecttype.py
@@ -86,6 +86,9 @@ def __init_subclass_with_meta__(
86
if not registry:
87
registry = get_global_registry(PydanticObjectType)
88
89
+ if not cls.__doc__:
90
+ cls.__doc__ = model.__doc__
91
+
92
pydantic_fields = yank_fields_from_attrs(
93
construct_fields(
94
obj_type=cls,
0 commit comments