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 df54bb6 commit 715d113Copy full SHA for 715d113
labthings/server/decorators.py
@@ -20,6 +20,32 @@
20
21
import logging
22
23
+# Useful externals to have included here
24
+from marshmallow import pre_dump, pre_load
25
+
26
+__all__ = [
27
+ "pre_dump",
28
+ "pre_load",
29
+ "marshal_with",
30
+ "marshal_task",
31
+ "ThingAction",
32
+ "thing_action",
33
+ "Safe",
34
+ "safe",
35
+ "Idempotent",
36
+ "idempotent",
37
+ "ThingProperty",
38
+ "thing_property",
39
+ "PropertySchema",
40
+ "use_body",
41
+ "use_args",
42
+ "Doc",
43
+ "doc",
44
+ "Tag",
45
+ "tag",
46
+ "doc_response",
47
+]
48
49
50
class marshal_with:
51
def __init__(self, schema, code=200):
0 commit comments