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:95
Return the explicit template arguments attached to one AST node.
Parameters
- node — Syntax node to process.; Type: astx.AST
Returns
The explicit template arguments attached to one AST node.; Type: tuple[astx.DataType, ...] | None