hutch_python.happi.get_happi_objs

hutch_python.happi.get_happi_objs(db, hutch)

Get the relevant items for hutch from db.

This depends on a JSON happi database stored somewhere in the file system and handles setting up the happi.Client and querying the data base for items.

Parameters
  • db (str) – Path to database

  • hutch (str) – Name of hutch

Returns

objs – A mapping from item name to item

Return type

dict