Replies: 1 comment
-
There is Model.describe that returns a dictionary containing the model description. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I need it to find a field by it's name, since
Model.id
(let's assumeid = IntField(....)
) gives me anAttributeError
.I did find a way involving
_meta
, but since it's seemingly a private field (has_
prefix), I'd like to find a more "official" solution.For context, I made something like this for my Sanic app:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions