Skip to content

Commit e4e8886

Browse files
author
Joel Collins
committed
Removed extensions and tasks from Thing Description properties
1 parent daed3c9 commit e4e8886

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

labthings/server/views/extensions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
from ..view import View
55
from ..find import registered_extensions
66
from ..schema import ExtensionSchema
7-
from ..decorators import marshal_with, ThingProperty
7+
from ..decorators import marshal_with
88

99

10-
@ThingProperty
1110
class ExtensionList(View):
1211
"""
1312
List and basic documentation for all enabled Extensions

labthings/server/views/tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
from flask import abort, url_for
22

3-
from ..decorators import marshal_with, ThingProperty, Tag
3+
from ..decorators import marshal_with, Tag
44
from ..view import View
55
from ..schema import TaskSchema
66

77
from ...core import tasks
88

99

10-
@ThingProperty
1110
@Tag("tasks")
1211
class TaskList(View):
1312
@marshal_with(TaskSchema(many=True))

0 commit comments

Comments
 (0)