API reference

python:astx:astx.UnionType.__str__

method __str__

__str__() -> str

Source: packages/astx/src/astx/types/generic.py:47

Declared as: python:astx:astx.types.generic.UnionType.__str__

Render one finite union type as text.

Returns

String representation of this instance.; Type: str

Search documentation

Type to search.