Skip to content

Replace None defaults with Unset #192

@xelandernt

Description

@xelandernt

Currently, None is the default value in most places where an argument can be omitted. In such cases, None just means the value has been left unset.

It would be clearer to use the UNSET sentinel value for this purpose.

Todo:

  • Replace all instances of None default values with value: T | Unset = UNSET or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    v4Relevant to version 4.*

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions