API reference

python:astx:astx.get_template_params

function get_template_params

get_template_params(node: astx.AST) -> tuple[TemplateParam, ...]

Source: packages/astx/src/astx/templates.py:62

Declared as: python:astx:astx.templates.get_template_params

Return the template parameters attached to one AST node.

Parameters

Returns

Type: tuple[TemplateParam, Ellipsis]

Search documentation

Type to search.