Skip to content

Question: optionally suppress generation of closed=True for typed dictionariesΒ #2951

@jacopoabramo

Description

@jacopoabramo

I'm generating a TypedDict class from a JSON schema and the latest release automatically adds closed=True to the subclass constructor. This makes our typing check fail as we rely on mypy which doesn't yet support PEP 728. Is there an option to disable such generation so to maintain the original implementation of a standard TypedDict?

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