ecflow.PrintStyle

class ecflow.PrintStyle

Bases: pybind11_object

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() ecflow.Style

Returns the style, static method

static PrintStyle.set_style(arg0: ecflow.Style) None

Set the style, static method