mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Hint the correct type
This commit is contained in:
parent
ff3dd4a3ba
commit
6fa8375cb5
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Client:
|
||||||
self.update_handler = None
|
self.update_handler = None
|
||||||
|
|
||||||
# TODO: Better update handler
|
# TODO: Better update handler
|
||||||
def set_update_handler(self, callback):
|
def set_update_handler(self, callback: callable):
|
||||||
self.update_handler = callback
|
self.update_handler = callback
|
||||||
|
|
||||||
def send(self, data: Object):
|
def send(self, data: Object):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue