API reference

python:astx:astx.AST.to_yaml

method to_yaml

to_yaml(simplified: bool = False) -> str

Source: packages/astx/src/astx/base.py:400

Declared as: python:astx:astx.base.AST.to_yaml

Return an yaml string that represents the object.

Parameters

Returns

Type: str

Search documentation

Type to search.