Replies: 1 comment
-
So the answer is to create a subclass and use it insteadmodels.py class TypedSvg(Svg) :
graphql_fields = [... ]
class Meta:
proxy = True # most important |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to type Svg model from the package "wagtailsvg" but i'm getting errors
pip freeze
core/schema.py
core/models.py
so the error is
Error traceback
I also tried using a different method but got errors again
core/schema.py
Error
Traceback
What can I do to fix errors or type package model?
Beta Was this translation helpful? Give feedback.
All reactions