Skip to content

Feature request: Option for keyword-only constructor in make_init and friends #85

@burnpanck

Description

@burnpanck

Usually, I prefer dataclass-like objects to have keyword-only __init__. In general, I believe that invocations with more than one or two positional arguments are a risk to refactoring and make the code harder to read. and dataclasses with just one or two fields seem to defeat the purpose.

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