For None
type to be read from python use null
in yaml
A YAML file test.yml
like this
foo: null
bar: null
will be read by python as
import yaml
test = yaml.load(open('./test.yml'))
print(test)
foo: None
bar: None
For None
type to be read from python use null
in yaml
A YAML file test.yml
like this
foo: null
bar: null
will be read by python as
import yaml
test = yaml.load(open('./test.yml'))
print(test)
foo: None
bar: None