API reference
python:astx:astx.templates.get_template_args
function get_template_args
get_template_args(node: astx.AST) -> tuple[astx.DataType, ...] | None
Source: packages/astx/src/astx/templates.py:108
Return the explicit template arguments attached to one AST node.
Parameters
- node — Type: astx.AST
Returns
Type: tuple[astx.DataType, Ellipsis] | None