epicsarchiver_mgmt.commands.statuses

Get the status of a pv.

Attributes

LOG

MAX_PVS

Functions

get_statuses_from_archiver(...)

Get the statuses of PVs from the archiver.

get_statuses(→ dict[str, list[str]])

Get the statues and print them.

Module Contents

epicsarchiver_mgmt.commands.statuses.LOG: logging.Logger[source]
epicsarchiver_mgmt.commands.statuses.MAX_PVS = 1000[source]
epicsarchiver_mgmt.commands.statuses.get_statuses_from_archiver(archiver_info: epicsarchiver_mgmt.archiver.info.ArchiverMgmtInfo, pvs: collections.abc.Sequence[str]) epicsarchiver_mgmt.archiver.info.InfoResultList[source]

Get the statuses of PVs from the archiver.

Fetches the statuses in chunks to avoid URL length limits.

Parameters:
Returns:

The statuses of the PVs.

Return type:

InfoResultList

epicsarchiver_mgmt.commands.statuses.get_statuses(archiver_fqdn: str, pvs: collections.abc.Sequence[str]) dict[str, list[str]][source]

Get the statues and print them.

Parameters:
  • archiver_fqdn (str) – The url of the archiver.

  • pvs (list[str]) – The PVs to get status.

Returns:

The PVs that match the filter.

Return type:

dict[str, list[str]]