mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
users: Avoid unchecked cast.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
086a3ef18b
commit
1e4fc8f2bf
@@ -10,7 +10,7 @@ ViewFuncT = TypeVar('ViewFuncT', bound=Callable[..., HttpResponse])
|
||||
ResultT = TypeVar("ResultT")
|
||||
Validator = Callable[[str, object], ResultT]
|
||||
ExtendedValidator = Callable[[str, str, object], str]
|
||||
RealmUserValidator = Callable[[int, List[int], bool], List[int]]
|
||||
RealmUserValidator = Callable[[int, object, bool], List[int]]
|
||||
|
||||
class ProfileDataElementBase(TypedDict):
|
||||
id: int
|
||||
|
||||
Reference in New Issue
Block a user