numat / alicat

Python driver and command line tool for Alicat mass flow controllers.
GNU General Public License v2.0
21 stars 27 forks source link

Unable to pass kwargs to FlowController #51

Closed alexrudd2 closed 1 year ago

alexrudd2 commented 1 year ago

The FlowMeter constructor allows passing arbitrary keyword arguments that get passed through to the underlying client. This could be used, for instance, to change the default baud. https://github.com/numat/alicat/blob/32de6218d312e43de7f0a4f074b4735678611a84/alicat/driver.py#L31-L41

The **kwargs passthrough isn't present in the FlowController constructor for some reason. https://github.com/numat/alicat/blob/32de6218d312e43de7f0a4f074b4735678611a84/alicat/driver.py#L304-L311