Skip to content
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

Creator.add_item_for content param hint is incorrect #107

Closed
rgaudin opened this issue Jul 18, 2023 · 0 comments · Fixed by #108
Closed

Creator.add_item_for content param hint is incorrect #107

rgaudin opened this issue Jul 18, 2023 · 0 comments · Fixed by #108
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@rgaudin
Copy link
Member

rgaudin commented Jul 18, 2023

zim.creator.Creator.add_item_for() accepts a content param declared as content: Optional[bytes] = None.

This is wrong as it also accepts str… and is used mostly using it.

@rgaudin rgaudin added bug Something isn't working good first issue Good for newcomers labels Jul 18, 2023
AmirAflak added a commit to AmirAflak/python-scraperlib that referenced this issue Jul 18, 2023
rgaudin added a commit that referenced this issue Jul 18, 2023
@kelson42 kelson42 added this to the 3.2.0 milestone Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants