wxyz.yaml#

Isomorphic widgets for parsing and dumping YAML

class wxyz.yaml.UnYAML(**kwargs: Any)[source]#

Bases: UnJSON, YAMLBase

A Widget that dumps… something into YAML

mode#

whether to execute transformations on the client and/or the kernel

source: any#

the source

the_function(source, indent)[source]#

“safely” dump some YAML

the_observer(*_)#

Base observer that updates value and/or error

value: any#

the value produced by evaluating the function

class wxyz.yaml.YAML(**kwargs: Any)[source]#

Bases: JSON, YAMLBase

A Widget that parses YAML source into… something

mode#

whether to execute transformations on the client and/or the kernel

source: any#

the source

the_function(source)[source]#

“safely” load some YAML

the_observer(*_)#

Base observer that updates value and/or error

value: any#

the value produced by evaluating the function