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.
global ANNOTATIONS
1 parent 1b64aab commit 4238e13Copy full SHA for 4238e13
piccolo_api/fastapi/endpoints.py
@@ -121,6 +121,7 @@ def __init__(
121
122
self.alias = f"{piccolo_crud.table._meta.tablename}__{id(self)}"
123
124
+ global ANNOTATIONS # noqa: F824
125
ANNOTATIONS[self.alias]["ModelIn"] = self.ModelIn
126
ANNOTATIONS[self.alias]["ModelOut"] = self.ModelOut
127
ANNOTATIONS[self.alias]["ModelOptional"] = self.ModelOptional
0 commit comments