Belle II Software development
Script Class Reference
Inheritance diagram for Script:
JsonBase

Public Member Functions

def __init__ (self, name, path, status, log_url=None, return_code=None, input=None, output=None, issues=None)
 

Public Attributes

 name
 the name of the script file
 
 path
 path the script file is located
 
 status
 Output status of the script execution, can be one of the strings "failed", "finished", "running", "skipped", "waiting".
 
 log_url
 location where the log output of the script execution can be found
 
 return_code
 integer which is the return code of the script execution
 
 input
 input files for the script as declared in the header
 
 output
 output files produced by the script as declared in the header
 
 issues
 linked issues
 

Detailed Description

Contains information about a script and its execution output

Definition at line 89 of file json_objects.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  path,
  status,
  log_url = None,
  return_code = None,
  input = None,
  output = None,
  issues = None 
)
Create a new Script object and fill all members

Definition at line 95 of file json_objects.py.

105 ):
106 """
107 Create a new Script object and fill all members
108 """
109
110
111 self.name = name
112
113 self.path = path
114
117 self.status = status
118
120 self.log_url = log_url
121
123 self.return_code = return_code
124
126 self.input = input
127
129 self.output = output
130
131 if not issues:
132 issues = []
133 self.issues = issues
134
135

Member Data Documentation

◆ input

input

input files for the script as declared in the header

Definition at line 126 of file json_objects.py.

◆ issues

issues

linked issues

Definition at line 133 of file json_objects.py.

◆ log_url

log_url

location where the log output of the script execution can be found

Definition at line 120 of file json_objects.py.

◆ name

name

the name of the script file

Definition at line 111 of file json_objects.py.

◆ output

output

output files produced by the script as declared in the header

Definition at line 129 of file json_objects.py.

◆ path

path

path the script file is located

Definition at line 113 of file json_objects.py.

◆ return_code

return_code

integer which is the return code of the script execution

Definition at line 123 of file json_objects.py.

◆ status

status

Output status of the script execution, can be one of the strings "failed", "finished", "running", "skipped", "waiting".

Definition at line 117 of file json_objects.py.


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