anonymousland-synapse/synapse
Erik Johnston 0f1afbe8dc Change HomeServer definition to work with typing.
Duplicating function signatures between server.py and server.pyi is
silly. This commit changes that by changing all `build_*` methods to
`get_*` methods and changing the `_make_dependency_method` to work work
as a descriptor that caches the produced value.

There are some changes in other files that were made to fix the typing
in server.py.
2020-08-11 18:00:17 +01:00
..
_scripts Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
api Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
app Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
appservice Convert the SimpleHttpClient to async. (#8016) 2020-08-04 07:22:04 -04:00
config Typo 2020-08-10 11:23:24 +01:00
crypto Add a comment about SSLv23_METHOD (#8043) 2020-08-07 15:14:29 +01:00
events Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
federation Merge branch 'master' into develop 2020-07-30 15:18:36 +01:00
groups Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00
handlers Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
http Don't log OPTIONS request at INFO (#8049) 2020-08-07 14:53:05 +01:00
logging Fix error reporting when using opentracing.trace (#7961) 2020-07-27 16:20:24 +01:00
metrics Convert run_as_background_process inner function to async. (#8032) 2020-08-06 08:20:42 -04:00
module_api Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
push Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
replication Reduce unnecessary whitespace in JSON. (#7372) 2020-08-07 08:02:55 -04:00
res/templates Element CSS and logo in email templates (#7919) 2020-07-21 11:58:01 +01:00
rest Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
server_notices Fix some comments and types in service notices (#7996) 2020-07-31 16:22:06 -04:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
streams Convert streams to async. (#8014) 2020-08-04 07:21:47 -04:00
util Remove unnecessary maybeDeferred calls (#8044) 2020-08-07 09:44:48 -04:00
__init__.py Merge branch 'master' into develop 2020-07-30 15:18:36 +01:00
event_auth.py Fix recursion error when fetching auth chain over federation (#7817) 2020-07-10 18:15:35 +01:00
notifier.py Convert streams to async. (#8014) 2020-08-04 07:21:47 -04:00
python_dependencies.py re-implement daemonize (#8011) 2020-08-04 10:03:41 +01:00
secrets.py Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
server.py Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00