YamlDictionary

(class from pyomo.dataportal.plugins.json_dict)

class pyomo.dataportal.plugins.json_dict.YamlDictionary[source]

Bases: object

__init__()[source]

Methods

__init__()

add_options(**kwds)

available()

clear()

close()

initialize(**kwds)

open()

process(model, data, default)

Set the data for the selected components

read()

This function loads data from a YAML file and tuplizes the nested dictionaries and lists of lists.

requirements()

write(data)

This function creates a YAML file for the specified data.

Member Documentation

process(model, data, default)[source]

Set the data for the selected components

read()[source]

This function loads data from a YAML file and tuplizes the nested dictionaries and lists of lists.

write(data)[source]

This function creates a YAML file for the specified data.