Class encoding a blocks dependence on other blocks.
Definition at line 23 of file ConfigBlock.py.
◆ __init__()
def python.ConfigBlock.ConfigBlockDependency.__init__ |
( |
|
self, |
|
|
|
blockName, |
|
|
|
required = True |
|
) |
| |
Definition at line 26 of file ConfigBlock.py.
26 def __init__(self, blockName, required=True):
27 self.blockName = blockName
28 self.required = required
◆ __eq__()
def python.ConfigBlock.ConfigBlockDependency.__eq__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 31 of file ConfigBlock.py.
31 def __eq__(self, name):
32 return self.blockName == name
◆ __repr__()
def python.ConfigBlock.ConfigBlockDependency.__repr__ |
( |
|
self | ) |
|
Definition at line 39 of file ConfigBlock.py.
40 return f
'ConfigBlockDependency(blockName="{self.blockName}", required={self.required})'
◆ __str__()
def python.ConfigBlock.ConfigBlockDependency.__str__ |
( |
|
self | ) |
|
◆ blockName
python.ConfigBlock.ConfigBlockDependency.blockName |
◆ required
python.ConfigBlock.ConfigBlockDependency.required |
The documentation for this class was generated from the following file: