We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0865253 commit e937f49Copy full SHA for e937f49
1 file changed
graphene_pydantic/objecttype.py
@@ -86,7 +86,8 @@ def __init_subclass_with_meta__(
86
if not registry:
87
registry = get_global_registry(PydanticObjectType)
88
89
- cls.__doc__ = model.__doc__
+ if not cls.__doc__:
90
+ cls.__doc__ = model.__doc__
91
92
pydantic_fields = yank_fields_from_attrs(
93
construct_fields(
0 commit comments