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
{{ message }}
flobject updates: command instancing, and deprecate the <state_object>.__call__() alias for get_state() #5579
flobject doesn't currently have command instancing. Note that the object_model framework has that via the create_instance() method, but seems to have no command instance access method. Whatever we do in flobject should end up aligned with both object_model and with PyCFX's flobject. E.g.
cmd=cmd_cont.create() # implies an object_model name change for the command creation method: create_instance -> create.cmd_=cmd_cont[cmd.name()] # accesses an object representing the same underlying command instanceassertcmd_ .name() ==cmd.name()
cmd.x=4# sets an argumentcmd() # executes
So that state access and command execution are not confused with each other, also deprecate __call__() as an alias to get_state() throughout flobject and object_model. PyCFX are committing to the same step.
changed the title [-]flobject updates: command instancing, and deprecate the `<state_object>.__call__()` alias for `get_state`[/-][+]flobject updates: command instancing, and deprecate the `<state_object>.__call__()` alias for `get_state()`[/+]on Nov 9, 2026
Activity
[-]flobject updates: command instancing, and deprecate the `<state_object>.__call__()` alias for `get_state`[/-][+]flobject updates: command instancing, and deprecate the `<state_object>.__call__()` alias for `get_state()`[/+]