Skip to content

Selectors to start/stop subscriptions and ability to unsubscribe from a specific parameter

Changes that are descibed here: https://wikis.cern.ch/display/DEV/PyDM+vs+Inspector#PyDMvsInspector-PyJAPCrelatedissues

Previously, subscribe/start/stop was not symmetrical. You could subscribe to a specific parameter with a timing user, but starting/stopping subscription would not let you do that. Now, in addition to japc.setSelector() you can pass additional selector argument in startSubscriptions()/stopSubscriptions() to really affect only given timing users. The API should be backwards compatible, as only optional parameters has been added.

Finally, pytest was listed explicitly so that all dependencies are installed when using pip and venv.

Edited by Ivan Sinkarenko

Merge request reports