Skip to content

Commit

Permalink
Update typing for level during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
userlerueda authored Nov 1, 2023
1 parent 17230ab commit c88d067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daiquiri/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def getLogger(


def setup(
level: int = logging.WARNING,
level: typing.Union[int, str] = logging.WARNING,
outputs: typing.Iterable[typing.Union[output.Output, str]] = [output.STDERR],
program_name: typing.Optional[str] = None,
capture_warnings: bool = True,
Expand Down

0 comments on commit c88d067

Please sign in to comment.