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.
1 parent 8c159dd commit c22927eCopy full SHA for c22927e
src/labthings/views/__init__.py
@@ -19,7 +19,7 @@
19
__all__ = ["MethodView", "View", "ActionView", "PropertyView", "op", "builder"]
20
21
# Type alias for convenience
22
-OptionalSchema = Optional[Union[Schema, Dict[str, Field]]]
+OptionalSchema = Optional[Union[Schema, Field, Dict[str, Field]]]
23
24
25
class View(MethodView):
0 commit comments