LoadModule.serialize#

LoadModule.serialize(dumper_stream)[source]#

Serialize module. The result is passed to a YAML dumper.

Parameters#

dumper_streamfile-like object or None.

The stream that the object will be dumped to.

Returns#

dict

The serialized module.