Skip to content

Refactor the use of Namespaces everywhere.  #694

@PGijsbers

Description

@PGijsbers

To me it makes it much harder to see what information functions expect from their signatures, and at times code has to be carefully analyzed (or checked at runtime) to determine the exact content of arguments. I propose to replace (most) Namespaces by dataclasses or pydantic models, whenever dynamic assignment isn't necessary. Might need to use something like Pydantic's TypedDict to support merging out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    qualitySomething needs to be tested, keep the app functional

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions