Skip to content

Commit 00fe6dc

Browse files
author
Joel Collins
committed
Fixed builder
1 parent d5853ba commit 00fe6dc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/labthings/server/view/builder.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from . import View, ActionView, PropertyView
22
from .. import fields
3+
from ..semantics.base import Semantic
34

45
import os
56
import glob
@@ -77,11 +78,6 @@ def _update(self, args):
7778
logging.error(
7879
"Unsupported type for semtype. Must be a string or Semantic object"
7980
)
80-
81-
# Compile the generated views spec
82-
# Useful if its being attached to something other than a LabThing instance
83-
compile_view_spec(generated_class)
84-
8581
return generated_class
8682

8783

0 commit comments

Comments
 (0)