Any plans to allow runtime type enforcing?
I attempted to use the enforce decorator @runtime_validation but for the data types (coconut named tuples, while enforce expects typing.NamedTuple) I couldn't get it working.
Argument 'pinfo' was not of type <class 'sos.PathInfo'>. Actual type was untyped PathInfo
Do you have any opinion on supporting that or idea how to cope with it?
Any plans to allow runtime type enforcing? I attempted to use the enforce decorator
@runtime_validation
but for thedata
types (coconut named tuples, while enforce expectstyping.NamedTuple
) I couldn't get it working.Do you have any opinion on supporting that or idea how to cope with it?