models.board.board_task
¶
Overview¶
Enumerates Bpod BoardTask supported operations.
Implementation¶
-
class
pybpodgui_api.models.setup.board_task.
BoardTask
(setup)[source]¶ Represents the association between one board and one task
Variables: setup (Setup) – Setup to which the BoardTask belongs to -
create_variable
(name=None, value=None, datatype='string')[source]¶ Create a variable
Return type: TaskVariable
-
save
()[source]¶ Save board task data on filesystem.
Variables: setup_path (str) – Setup path. Returns: Dictionary containing the board task info to save. Return type: dict
-
update_variables
¶ Get and set a flag that indicates if the variables should be updated at the end of the session
Return type: bool
-
variables
¶ Get and set list of variables
Return type: list(TaskVariable)
-