@@ -71,14 +71,14 @@ def __getitem__(self, children: C | None) -> R:
7171 #
7272 # my_component["My content"]
7373 #
74- return self .wrapped (children ) # type: ignore[call-arg] # pyright: ignore[reportCallIssue]
74+ return self .wrapped (children ) # type: ignore[call-arg]
7575
7676 def __str__ (self ) -> _Markup :
7777 # This is the unbound component being rendered to a string:
7878 #
7979 # str(my_component)
8080 #
81- return _Markup (self .wrapped (None )) # type: ignore[call-arg] # pyright: ignore[reportCallIssue]
81+ return _Markup (self .wrapped (None )) # type: ignore[call-arg]
8282
8383 __html__ = __str__
8484
@@ -89,7 +89,7 @@ def iter_chunks(
8989 self ,
9090 context : Mapping [htpy .Context [t .Any ], t .Any ] | None = None ,
9191 ) -> Iterator [str ]:
92- return self .wrapped (None ).iter_chunks (context ) # type: ignore[call-arg] # pyright: ignore
92+ return self .wrapped (None ).iter_chunks (context ) # type: ignore[call-arg]
9393
9494
9595class _WithChildrenBound (t .Generic [C , P , R ]):
@@ -136,7 +136,7 @@ def iter_chunks(
136136 self ,
137137 context : Mapping [htpy .Context [t .Any ], t .Any ] | None = None ,
138138 ) -> Iterator [str ]:
139- return self ._func (None , * self ._args , ** self ._kwargs ).iter_chunks (context ) # pyright: ignore
139+ return self ._func (None , * self ._args , ** self ._kwargs ).iter_chunks (context )
140140
141141
142142with_children = _WithChildrenUnbound
0 commit comments