@@ -24,11 +24,35 @@ class Library:
2424 def tag (self , name : str | None = None , compile_function : None = None ) -> Callable [[_C ], _C ]: ...
2525 def tag_function (self , func : _C ) -> _C : ...
2626 @overload
27- def filter (self , name : _C , filter_func : None = None , ** flags : Any ) -> _C : ...
27+ def filter (
28+ self ,
29+ name : _C ,
30+ filter_func : None = None ,
31+ * ,
32+ is_safe : bool = False ,
33+ needs_autoescape : bool = False ,
34+ expects_localtime : bool = False ,
35+ ) -> _C : ...
2836 @overload
29- def filter (self , name : str | None , filter_func : _C , ** flags : Any ) -> _C : ...
37+ def filter (
38+ self ,
39+ name : str | None ,
40+ filter_func : _C ,
41+ * ,
42+ is_safe : bool = False ,
43+ needs_autoescape : bool = False ,
44+ expects_localtime : bool = False ,
45+ ) -> _C : ...
3046 @overload
31- def filter (self , name : str | None = None , filter_func : None = None , ** flags : Any ) -> Callable [[_C ], _C ]: ...
47+ def filter (
48+ self ,
49+ name : str | None = None ,
50+ filter_func : None = None ,
51+ * ,
52+ is_safe : bool = False ,
53+ needs_autoescape : bool = False ,
54+ expects_localtime : bool = False ,
55+ ) -> Callable [[_C ], _C ]: ...
3256 def filter_function (self , func : _C , ** flags : Any ) -> _C : ...
3357 @overload
3458 def simple_tag (self , func : _C , takes_context : bool | None = None , name : str | None = None ) -> _C : ...
0 commit comments