def __init__(self, templates: List[Union[(ASTTemplateParams, ASTTemplateIntroduction)]]) -> None:
    self.templates = templates
def __init__(self, templates: List[Union[(ASTTemplateParams, ASTTemplateIntroduction)]]) -> None:
    self.templates = templates