def METHOD_NAME(key: KeyStoreKeys) -> Optional[float]:
    """
    Get the value for the given key.
    :param key: Key to get the value for
    """
    kv = _KeyValueStoreModel.session.query(_KeyValueStoreModel).filter(
        _KeyValueStoreModel.key == key,
        _KeyValueStoreModel.value_type == ValueTypesEnum.FLOAT).first()
    if kv is None:
        return None
    return kv.float_value