Skip to content

Centralize App and Project initializer kwarg declarations #4062

@bartfeenstra

Description

@bartfeenstra

Both classes have several functions to create new instances (__init__(), class methods, and test fixtures.

Every time we add or change a kwarg, we have to update all of these sites, and often one or more are forgotten, resulting in the different initialization methods being out of sync.

Proposal

Now that TypedDict supports extra items, can we leverage that to define and concatenate the kwargs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDeveloper Experience: issues that make things easier or friendlier for developersenhancementNew feature or requestpythonPull requests that update Python code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions