We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3237226 commit 5616291Copy full SHA for 5616291
labthings/server/labthing.py
@@ -47,7 +47,14 @@ def __init__(
47
self.endpoints = set()
48
49
self.url_prefix = prefix
50
+
51
+ for t in types:
52
+ if ";" in t:
53
+ raise ValueError(
54
+ f'Error in type value "{t}". Thing types cannot contain ; character.'
55
+ )
56
self.types = types
57
58
self._description = description
59
self._title = title
60
self._version = version
0 commit comments