hutch_python.happi.get_happi_objs¶
- hutch_python.happi.get_happi_objs(db, hutch)¶
Get the relevant items for
hutch
fromdb
.This depends on a JSON
happi
database stored somewhere in the file system and handles setting up thehappi.Client
and querying the data base for items.- Parameters
db (
str
) – Path to databasehutch (
str
) – Name of hutch
- Returns
objs – A mapping from item name to item
- Return type
dict