API reference

python:astx:astx.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

Declared as: python:astx:astx.templates.get_template_args

Return the explicit template arguments attached to one AST node.

Parameters

Returns

Type: tuple[astx.DataType, Ellipsis] | None

Search documentation

Type to search.