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 6b41db8 commit c80e45fCopy full SHA for c80e45f
src/labthings/server/schema.py
@@ -1,14 +1,21 @@
1
# -*- coding: utf-8 -*-
2
from flask import url_for
3
from werkzeug.routing import BuildError
4
-from marshmallow import Schema, pre_dump
+from marshmallow import Schema, pre_load, pre_dump
5
from collections.abc import Mapping
6
7
from .names import TASK_ENDPOINT, EXTENSION_LIST_ENDPOINT
8
from .utilities import view_class_from_endpoint, description_from_view
9
from . import fields
10
11
-__all__ = ["Schema", "FieldSchema", "TaskSchema", "ExtensionSchema"]
+__all__ = [
12
+ "Schema",
13
+ "FieldSchema",
14
+ "TaskSchema",
15
+ "ExtensionSchema",
16
+ "pre_load",
17
+ "pre_dump",
18
+]
19
20
21
class FieldSchema(Schema):
0 commit comments