MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / __getattr__

Function __getattr__

src/task/__init__.py:12–21  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

10
11
12def __getattr__(name: str):
13 if name in {"ConditionContext", "ConditionKernel", "EvalResult", "RelationThresholds"}:
14 from . import conditions
15
16 return getattr(conditions, name)
17 if name in {"TaskEvaluator", "TaskEvaluatorConfig", "StepEvaluation"}:
18 from . import evaluation
19
20 return getattr(evaluation, name)
21 raise AttributeError(f"module 'src.task' has no attribute {name!r}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected