epicsarchiver_mgmt.commands.repolicy ==================================== .. py:module:: epicsarchiver_mgmt.commands.repolicy .. autoapi-nested-parse:: Rearchive a pv to update the policy. Attributes ---------- .. autoapisummary:: epicsarchiver_mgmt.commands.repolicy.LOG Functions --------- .. autoapisummary:: epicsarchiver_mgmt.commands.repolicy.create_new_archive_requests epicsarchiver_mgmt.commands.repolicy.repolicy Module Contents --------------- .. py:data:: LOG :type: logging.Logger .. py:function:: create_new_archive_requests(pv_statuses: epicsarchiver_mgmt.archiver.info.InfoResultList) -> list[epicsarchiver_mgmt.archiver.mgmt.ArchivePVRequest] Create the archive requests from the appliance names in the pv statuses. :param pv_statuses: The statuses of the PVs. :type pv_statuses: InfoResultList :returns: The archive requests of the PVs. :rtype: list[ArchivePVRequest] .. py:function:: repolicy(archiver_fqdn: str, pvs: collections.abc.Sequence[str]) -> None Update the policy of pvs in arhiver. :param archiver_fqdn: The url of the archiver. :type archiver_fqdn: str :param pvs: The PVs to change type. :type pvs: list[str]