ecflow.PrintStyle

class ecflow.PrintStyle

Bases: instance

Singleton used to control the print Style. See ecflow.Style

Usage:

old_style = PrintStyle.get_style()
PrintStyle.set_style(PrintStyle.STATE)
...
print(defs)                     # show the node state
PrintStyle.set_style(old_style) # reset previous style
static PrintStyle.get_style() Style :

Returns the style, static method

static PrintStyle.set_style((Style)arg1) None :

Set the style, static method