Skip to content

Commit

Permalink
commands: update annotation from typing.Dict -> dict in cli.py
Browse files Browse the repository at this point in the history
Signed-off-by: John Mulligan <jmulligan@redhat.com>
  • Loading branch information
phlogistonjohn committed May 3, 2022
1 parent 34e1f34 commit 3042db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sambacc/commands/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def assemble(
add_command(subparsers, cmd)
return parser

def dict(self) -> typing.Dict[str, Command]:
def dict(self) -> dict[str, Command]:
"""Return a dict mapping command names to Command object."""
return {c.name: c for c in self._commands}

Expand Down

0 comments on commit 3042db4

Please sign in to comment.