Skip to content

Creator.add_item_for content param hint is incorrect #107

@rgaudin

Description

@rgaudin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions