mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-29 06:06:17 +00:00
0f1afbe8dc
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.