You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/openlifu/plan/protocol.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,9 @@ class Protocol:
41
41
description: Annotated[str, OpenLIFUFieldData("Protocol description", "A more detailed description of the protocol")] =""
42
42
"""A more detailed description of the protocol"""
43
43
44
+
allowed_roles: Annotated[List[str], OpenLIFUFieldData("Allowed roles", "A list of user roles allowed to interact with this protocol")] =field(default_factory=list)
45
+
"""A list of user roles allowed to interact with this protocol"""
46
+
44
47
pulse: Annotated[bf.Pulse, OpenLIFUFieldData("Pulse definition", "The pulse definition used in the protocol")] =field(default_factory=bf.Pulse)
0 commit comments