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
- simplified — Type: bool
Returns
Type: str