From 9d61baa7becf105b8c421124b71b36e02d308770 Mon Sep 17 00:00:00 2001 From: Jacob Beck Date: Wed, 18 Dec 2019 10:56:06 -0700 Subject: [PATCH] add jinja macro fields (#3548) --- third_party/2and3/jinja2/nodes.pyi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/third_party/2and3/jinja2/nodes.pyi b/third_party/2and3/jinja2/nodes.pyi index 4fb410d55..84871975d 100644 --- a/third_party/2and3/jinja2/nodes.pyi +++ b/third_party/2and3/jinja2/nodes.pyi @@ -1,3 +1,4 @@ +import typing from typing import Any, Optional class Impossible(Exception): ... @@ -54,6 +55,10 @@ class If(Stmt): class Macro(Stmt): fields: Any + name: str + args: typing.List[Any] + defaults: typing.List[Any] + body: typing.List[Any] class CallBlock(Stmt): fields: Any