Skip to content

Centralized Defaults #104

@bh2smith

Description

@bh2smith

Currently we have default configurations being set in many places:

  • at parsing time dict.get(value, default)
  • on the function parameters def func(x: bool = True)
  • dataclass attribute declarations field: type = x

We should decide on a single appropriate place to do this and stick with it.

My thoughts are the defaults to be applied at config parsing time and all the functions, field declarations require them to be set. The downside to this might be having to be very explicit in unit tests.

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