def help_datamanagers(options): import pyomo.environ from pyomo.dataportal import DataManagerFactory wrapper = textwrap.TextWrapper() wrapper.initial_indent = ' ' wrapper.subsequent_indent = ' ' print("") print("Pyomo Data Managers") print("-------------------") for xform in sorted(DataManagerFactory.services()): print(" " + xform) print(wrapper.fill(DataManagerFactory.doc(xform)))
def help_datamanagers(options): import pyomo.environ from pyomo.dataportal import DataManagerFactory wrapper = textwrap.TextWrapper() wrapper.initial_indent = ' ' wrapper.subsequent_indent = ' ' print("") print("Pyomo Data Managers") print("-------------------") for xform in sorted(DataManagerFactory): print(" "+xform) print(wrapper.fill(DataManagerFactory.doc(xform)))