Skip to content

Relax save and load APIs to accept IO[Any] #253

Closed
@omry

Description

@omry

Per comment here:

open(fn, 'rb') will now return IO[bytes] while open(fn, 'r') will return IO[str]

For easier to use API, it's best to change to IO[Any] to accept files opened in either modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions