You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thing is, filters must be either mapping or iterable of key/value pairs, as it's passed to dict.update method, but current type annotation requires it to be a plain iterable of callables
if filters is not None:
env.filters.update(filters)
The text was updated successfully, but these errors were encountered:
Hi, I've found a small typing issue after updating
aiohttp_jinja2
from1.1.0
to1.2.0
mypy report:
and the example code is
PyCharm type checker also reports about typing issue
The thing is, filters must be either mapping or iterable of key/value pairs, as it's passed to
dict.update
method, but current type annotation requires it to be a plain iterable of callablesThe text was updated successfully, but these errors were encountered: