|
def | __init__ (self, grant) |
|
def | grants (self, *args) |
|
def | process (self, data_set, value_if_granted, value_else) |
|
Definition at line 67 of file gate.py.
◆ __init__()
def hardwareprofile.gate._FakeGate.__init__ |
( |
|
self, |
|
|
|
grant |
|
) |
| |
>>> gate = _FakeGate(grant=True)
>>> gate.grants("whatever")
True
>>> gate = _FakeGate(grant=False)
>>> gate.grants("whatever")
False
Definition at line 68 of file gate.py.
◆ grants()
def hardwareprofile.gate._FakeGate.grants |
( |
|
self, |
|
|
* |
args |
|
) |
| |
◆ _granted
hardwareprofile.gate._FakeGate._granted |
|
private |
The documentation for this class was generated from the following file: