Closed frankenjoe closed 1 year ago
Currently, encoding a value that is None will raise an error:
None
class MyObject(audobject.Object): @audobject.init_decorator( resolvers={ 'arg': audobject.resolver.Tuple, } ) def __init__( self, arg: typing.Tuple = None, ): super().__init__() self.arg = arg MyObject().to_yaml_s(include_version=False)
TypeError: 'NoneType' object is not iterable
Currently, encoding a value that is
None
will raise an error: