v1.2.0
Enhancements
-
Client
now has a methodload_device
for searching the database for aContainer
and then loading the corresponding object based ondevice_class
,args
andkwargs
. This is a shortcut to combine two previously existing featuresClient.find_device
andhappi.loader.from_container
-
Client.from_config
will create aClient
object from a provided configuration file. You can either pass this file in explicitly, specify it via the the environment variable$HAPPI_CFG
, or it will be searched for in~config
or wherever you specify your `$XDG_CONFIG_HOME environment variable -
Additional keywords were added to the base
Device
container;lightpath
,documentation
andembedded_screen
,detailed_screen
andengineering_screen
-
There is now a base container for a
Motor
object.
Deprecations
screen
is longer a supported key. This was too generic and the three keys detailed above allow the user more specificity.
Fixes
- The
JSONBackend
no longer relies onfcntl
a Linux only module of the Python standard library.