O2-DQ User Interface 1.0.0
Loading...
Searching...
No Matches
NoAction Class Reference
Inheritance diagram for NoAction:

Public Member Functions

def __call__ (self, parser, namespace, values, option_string=None)
 
def __init__ (self, **kwargs)
 

Detailed Description

NoAction class adds dummy positional arguments to an argument,
so sub helper messages can be created

Args:
    argparse (Class): Input as args

Definition at line 19 of file actionHandler.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
**  kwargs 
)

Definition at line 29 of file actionHandler.py.

29 def __init__(self, **kwargs):
30 kwargs.setdefault("default", argparse.SUPPRESS)
31 kwargs.setdefault("nargs", 0)
32 super(NoAction, self).__init__(**kwargs)
33

Member Function Documentation

◆ __call__()

def __call__ (   self,
  parser,
  namespace,
  values,
  option_string = None 
)

Definition at line 34 of file actionHandler.py.

34 def __call__(self, parser, namespace, values, option_string = None):
35 pass
36
37

The documentation for this class was generated from the following file: