not_none# openstef_core.utils.not_none(value: T | None) → T[source]# Assert that a value is not None. Parameters: value (Optional[TypeVar(T)]) – The value to check. value Returns: The value if it is not None. Raises: ValueError – If the value is None. Return type: TypeVar(T)