Skip to content

Commit 80dd2fa

Browse files
author
Joel Collins
committed
Removed old semtype decorator
1 parent eb6615f commit 80dd2fa

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/labthings/server/decorators.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -304,19 +304,6 @@ def __call__(self, f):
304304
tag = Tag
305305

306306

307-
class Semtype:
308-
def __init__(self, semtype: str):
309-
self.semtype = semtype
310-
311-
def __call__(self, f):
312-
# Pass params to call function attribute for external access
313-
update_spec(f, {"@type": self.semtype})
314-
return f
315-
316-
317-
semtype = Semtype
318-
319-
320307
class doc_response:
321308
def __init__(self, code, description=None, mimetype=None, **kwargs):
322309
self.code = code

0 commit comments

Comments
 (0)