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
callback argument of zim.creater.Creator.add_item_for is reported by pyright as partially unknown when in strict mode due to the use of generic Callable.
This is a problem in projects setting pyright in strict mode.
The same generic Callable seems to be an issue in other parts of the code.
We should probably fix this with a more precise type hint,
The text was updated successfully, but these errors were encountered:
Callable typing issue are fixed with #221, #227 and soon #220 . We might want to define a signature/interface, but this is beyond 5.0.0 for me, so postponing to later.
callback
argument ofzim.creater.Creator.add_item_for
is reported by pyright as partially unknown when instrict
mode due to the use of genericCallable
.This is a problem in projects setting
pyright
in strict mode.The same generic
Callable
seems to be an issue in other parts of the code.We should probably fix this with a more precise type hint,
The text was updated successfully, but these errors were encountered: