MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

graphs/data/base/defs.py:119–124  ·  view source on GitHub ↗
(self, handle, label, defaultValue, conditions=())

Source from the content-addressed store, hash-verified

117class InputCheckbox:
118
119 def __init__(self, handle, label, defaultValue, conditions=()):
120 self.handle = handle
121 self.label = label
122 self.defaultValue = defaultValue
123 # Format: ((x condition, y condition), (x condition, y condition), ...)
124 self.conditions = tuple(conditions)
125
126 def __hash__(self):
127 return hash((self.handle, self.label, self.defaultValue, self.conditions))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected