Proxy¶
- class astroid.bases.Proxy(proxied: ClassDef | FunctionDef | Lambda | UnboundMethod | None = None)[source]¶
Bases:
objectA simple proxy object.
Note:
Subclasses of this object will need a custom __getattr__ if new instance attributes are created. See the Const class
- infer(context: InferenceContext | None = None) collections.abc.Generator[InferenceResult, None, InferenceErrorInfo | None][source]¶