mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 11:04:17 -05:00
3413f1e284
Add some type annotations to help PyCharm (in particular) to figure out the types of a bunch of things.
22 lines
546 B
Python
22 lines
546 B
Python
import synapse.handlers
|
|
import synapse.handlers.auth
|
|
import synapse.handlers.device
|
|
import synapse.storage
|
|
import synapse.state
|
|
|
|
class HomeServer(object):
|
|
def get_auth_handler(self) -> synapse.handlers.auth.AuthHandler:
|
|
pass
|
|
|
|
def get_datastore(self) -> synapse.storage.DataStore:
|
|
pass
|
|
|
|
def get_device_handler(self) -> synapse.handlers.device.DeviceHandler:
|
|
pass
|
|
|
|
def get_handlers(self) -> synapse.handlers.Handlers:
|
|
pass
|
|
|
|
def get_state_handler(self) -> synapse.state.StateHandler:
|
|
pass
|