Skip to content

Commit fd2144b

Browse files
Remove unused imports
1 parent 81b4b48 commit fd2144b

File tree

6 files changed

+2
-17
lines changed

6 files changed

+2
-17
lines changed

src/labthings/json/encoder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from flask import make_response, current_app
21

32
# Flask JSON encoder so we get UUID, datetime etc support
43
from flask.json import JSONEncoder

src/labthings/json/marshmallow_jsonschema/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
from marshmallow import fields, missing, Schema, validate
77
from marshmallow.class_registry import get_class
8-
from marshmallow.decorators import post_dump
9-
from marshmallow import RAISE, INCLUDE, EXCLUDE
108

119
from .exceptions import UnsupportedValueError
1210
from .validation import handle_length, handle_one_of, handle_range, handle_regexp

src/labthings/server/schema.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
from ..schema import (
2-
Schema,
3-
FieldSchema,
4-
TaskSchema,
5-
ExtensionSchema,
6-
ActionSchema,
7-
build_action_schema,
8-
pre_load,
9-
pre_dump,
10-
)
1+

src/labthings/sync/event.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import gevent
33
import time
44
import logging
5-
6-
from gevent.monkey import get_original
75
from gevent.lock import BoundedSemaphore
86

97
from gevent.event import Event

src/labthings/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from zeroconf import IPVersion, ServiceInfo, Zeroconf, get_all_addresses
88

99
from geventwebsocket.handler import WebSocketHandler as _WebSocketHandler
10-
from logging import getLogger, StreamHandler, getLoggerClass, Formatter, DEBUG
10+
from logging import getLogger
1111

1212
from .find import current_labthing
1313

tests/test_td.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pytest
22

33
from labthings import fields
4-
from labthings import td
54

65
from labthings.view import View
76

0 commit comments

Comments
 (0)