class documentation

Special node representing new style typing unions. Proxied class is set once for all in raw_building.

Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method bool_value Undocumented
Method callable Undocumented
Method display_type Undocumented
Method pytype Undocumented
Instance Variable left Undocumented
Instance Variable parent Undocumented
Instance Variable right Undocumented
Class Variable _proxied Undocumented

Inherited from BaseInstance:

Method getattr Undocumented
Method igetattr Inferred getattr.
Method infer_call_result Infer what a class instance is returning when called.
Class Variable special_attributes Undocumented
Method _wrap_attr Wrap bound methods of attrs in a InstanceMethod proxies.

Inherited from Proxy (via BaseInstance):

Method __getattr__ Undocumented
Method infer Undocumented
def __repr__(self) -> str: (source)

Undocumented

def __str__(self) -> str: (source)

Undocumented

def bool_value(self, context: InferenceContext|None = None) -> Literal[True]: (source)

Undocumented

def callable(self) -> Literal[False]: (source)

Undocumented

def display_type(self) -> str: (source)
def pytype(self) -> Literal['types.UnionType']: (source)

Undocumented

Undocumented

Undocumented

Undocumented