API reference
python:astx:astx.templates.get_template_params
function get_template_params
get_template_params(node: astx.AST) -> tuple[TemplateParam, ...]
Source: packages/astx/src/astx/templates.py:55
Return the template parameters attached to one AST node.
Parameters
- node — Syntax node to process.; Type: astx.AST
Returns
The template parameters attached to one AST node.; Type: tuple[TemplateParam, ...]