-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archive.get_item
type hint is wrong
#196
Comments
Why would it be sad to fix the signature? Is this type useless? If so the issue should be about deleting it rather than this collateral |
The |
The problem is that today I can't use |
Ah I thought it was the other way around. Indeed we should return it. |
In fact type hint is wrong, it is a writing item. We should fix type hint with libzim reading item which is sufficient. |
Archive.get_item
type hint suggest that it returns azimscraperlib.zim.items.Item
while in fact it return alibzim.writer.Item
.We should either fix the code (preferably) or the type hint (would be sad)
The text was updated successfully, but these errors were encountered: