Skip to content

Commit

Permalink
Removed extensions and tasks from Thing Description properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Jan 21, 2020
1 parent daed3c9 commit e4e8886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions labthings/server/views/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
from ..view import View
from ..find import registered_extensions
from ..schema import ExtensionSchema
from ..decorators import marshal_with, ThingProperty
from ..decorators import marshal_with


@ThingProperty
class ExtensionList(View):
"""
List and basic documentation for all enabled Extensions
Expand Down
3 changes: 1 addition & 2 deletions labthings/server/views/tasks.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from flask import abort, url_for

from ..decorators import marshal_with, ThingProperty, Tag
from ..decorators import marshal_with, Tag
from ..view import View
from ..schema import TaskSchema

from ...core import tasks


@ThingProperty
@Tag("tasks")
class TaskList(View):
@marshal_with(TaskSchema(many=True))
Expand Down

0 comments on commit e4e8886

Please sign in to comment.