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

Public Member Functions

def __init__ (self, taskName)
 
def __str__ (self)
 

Public Attributes

 taskName
 

Detailed Description

Exception raised if taskname not found in json config file.

Attributes:
    taskName: input main task name

Definition at line 19 of file dqExceptions.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  taskName 
)

Definition at line 27 of file dqExceptions.py.

27 def __init__(self, taskName):
28 self.taskName = taskName
29 super().__init__()
30

Member Function Documentation

◆ __str__()

def __str__ (   self)

Definition at line 31 of file dqExceptions.py.

31 def __str__(self):
32 return f"The JSON config does not include {self.taskName} task"
33
34

Member Data Documentation

◆ taskName

taskName

Definition at line 28 of file dqExceptions.py.


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