Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: change Verbosity enum values #84

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

lukany
Copy link
Contributor

@lukany lukany commented Aug 11, 2023

Having all values positive allows convenient constructs such as
section_verbosity = section_verbosity or default_verbosity,
where section_verbosity can be optional, i.e. Verbosity | None.

BREAKING CHANGE: Change Verbosity values. LOW is now 1 (was 0), MEDIUM
is 2 (was 1) and HIGH is 3 (was 2).

Having all values positive allows convenient constructs such as
`section_verbosity = section_verbosity or default_verbosity`,
where `section_verbosity` can be optional, i.e. `Verbosity | None`.

BREAKING CHANGE: Change Verbosity values. LOW is now 1 (was 0), MEDIUM
is 2 (was 1) and HIGH is 3 (was 2).
@mbelak-dtml mbelak-dtml added this pull request to the merge queue Aug 11, 2023
Merged via the queue into main with commit 6a2bbcf Aug 11, 2023
5 checks passed
@mbelak-dtml mbelak-dtml deleted the feat/change-verbosity-enum-values branch August 11, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants