Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions examples/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

patch_all()

# Import requirements
import logging

from labthings.server.quick import create_app
from labthings.server import semantics
from labthings.server import fields
Expand Down
1 change: 0 additions & 1 deletion examples/nested_thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import logging

from labthings.server.quick import create_app
from labthings.server.decorators import ThingProperty, PropertySchema
from labthings.server.view import PropertyView
from labthings.server.find import find_component
from labthings.server.schema import Schema
Expand Down
1 change: 0 additions & 1 deletion src/labthings/server/sockets/gevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from werkzeug.exceptions import NotFound
from werkzeug.http import parse_cookie
from flask import request
import gevent

from flask.helpers import _endpoint_from_view_func
from werkzeug.routing import Map, Rule, BuildError
Expand Down
2 changes: 0 additions & 2 deletions src/labthings/server/spec/apispec.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
from .paths import rule_to_path, rule_to_params
from .utilities import convert_to_schema_or_json

from ..schema import Schema

from labthings.core.utilities import get_docstring, get_summary

from werkzeug.routing import Rule
Expand Down
5 changes: 1 addition & 4 deletions src/labthings/server/spec/utilities.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
from apispec import APISpec
from apispec.ext.marshmallow import MarshmallowPlugin

from ...core.utilities import merge, get_docstring, get_summary, snake_to_camel

from ..fields import Field
from ..schema import Schema, build_action_schema
from ..view import ActionView
from ..schema import Schema

from collections.abc import Mapping

Expand Down