diff options
author | Erik Johnston <erik@matrix.org> | 2020-08-11 18:00:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2020-08-11 18:00:17 +0100 |
commit | 0f1afbe8dc853c8726de797ede10cad2fe336b16 (patch) | |
tree | b80df118d1c2a0a35fb745b47153284a9f97a9aa /synapse/_scripts | |
parent | Merge remote-tracking branch 'origin/master' into develop (diff) | |
download | synapse-0f1afbe8dc853c8726de797ede10cad2fe336b16.tar.xz |
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.
Diffstat (limited to 'synapse/_scripts')
0 files changed, 0 insertions, 0 deletions