Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores

This commit is contained in:
Bryan Forbes
2022-08-04 21:46:02 -05:00
committed by GitHub
parent 60079aee1b
commit d707019348
14 changed files with 30 additions and 30 deletions

View File

@ -442,7 +442,7 @@ class Choice(Generic[ChoiceT]):
)
def to_dict(self) -> ApplicationCommandOptionChoice:
return {
return { # type: ignore
'name': self.name,
'value': self.value,
}