mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Update Pyright to v1.1.394
This commit is contained in:
1 parent
1cdf710908
commit
8953938a53
30 files changed
+94
-81
No files matched your search
+1
-1
@@ -286,7 +286,7 @@ class Role(Hashable):
|
||||
self._flags: int = data.get('flags', 0)
|
||||
|
||||
try:
|
||||
self.tags = RoleTags(data['tags'])
|
||||
self.tags = RoleTags(data['tags']) # pyright: ignore[reportTypedDictNotRequiredAccess]
|
||||
except KeyError:
|
||||
self.tags = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user