async def renew_expired_facts(self) -> None:
    '\n        Send out requests to renew expired facts\n        '
    LOGGER.info('Renewing expired parameters')
    updated_before = (datetime.datetime.now().astimezone() - datetime.timedelta(0, (self._fact_expire - self._fact_renew)))
    expired_params = (await data.Parameter.get_updated_before(updated_before))
    LOGGER.debug(('Renewing %d expired parameters' % len(expired_params)))
    for param in expired_params:
        if (param.environment is None):
            LOGGER.warning('Found parameter without environment (%s for resource %s). Deleting it.', param.name, param.resource_id)
            (await param.delete())
        else:
            LOGGER.debug('Requesting new parameter value for %s of resource %s in env %s', param.name, param.resource_id, param.environment)
            (await self.agentmanager.request_parameter(param.environment, param.resource_id))
    unknown_parameters = (await data.UnknownParameter.get_list(resolved=False))
    for u in unknown_parameters:
        if (u.environment is None):
            LOGGER.warning('Found unknown parameter without environment (%s for resource %s). Deleting it.', u.name, u.resource_id)
            (await u.delete())
        else:
            LOGGER.debug('Requesting value for unknown parameter %s of resource %s in env %s', u.name, u.resource_id, u.id)
            (await self.agentmanager.request_parameter(u.environment, u.resource_id))
    LOGGER.info('Done renewing expired parameters')
Send out requests to renew expired facts
async def renew_expired_facts(self) -> None:
    '\n        \n        '
    LOGGER.info('Renewing expired parameters')
    updated_before = (datetime.datetime.now().astimezone() - datetime.timedelta(0, (self._fact_expire - self._fact_renew)))
    expired_params = (await data.Parameter.get_updated_before(updated_before))
    LOGGER.debug(('Renewing %d expired parameters' % len(expired_params)))
    for param in expired_params:
        if (param.environment is None):
            LOGGER.warning('Found parameter without environment (%s for resource %s). Deleting it.', param.name, param.resource_id)
            (await param.delete())
        else:
            LOGGER.debug('Requesting new parameter value for %s of resource %s in env %s', param.name, param.resource_id, param.environment)
            (await self.agentmanager.request_parameter(param.environment, param.resource_id))
    unknown_parameters = (await data.UnknownParameter.get_list(resolved=False))
    for u in unknown_parameters:
        if (u.environment is None):
            LOGGER.warning('Found unknown parameter without environment (%s for resource %s). Deleting it.', u.name, u.resource_id)
            (await u.delete())
        else:
            LOGGER.debug('Requesting value for unknown parameter %s of resource %s in env %s', u.name, u.resource_id, u.id)
            (await self.agentmanager.request_parameter(u.environment, u.resource_id))
    LOGGER.info('Done renewing expired parameters')