Skip to content

Python Part Group

Class full path: PythonPart.PythonPartGroup

Definition of class PythonPartGroup

Functions

__init__(name, parameter_list, hash_value, python_file, pythonparts=None)

Initialization of class PythonPartGroup

Parameters:

Name Type Description Default
name str

name

required
parameter_list list[str]

parameter list

required
hash_value str

hash value of the parameter

required
python_file str

name of the pyp file

required
pythonparts list[PythonPart] | None

list with the PythonParts. Defaults to None.

None

Raises:

Type Description
TypeError

in case of wrong PythonPart element

__str__()

create the element string

Returns:

Type Description
str

element string

create()

create the PythonPartGroup

Returns:

Type Description
list[Any]

list with the created elements for the PythonPartGroup