forked-synapse/synapse/rest/client/v1
Krombel 32fd6910d0 Use parse_{int,str} and assert from http.servlet
parse_integer and parse_string can take a request and raise errors
in case we have wrong or missing params.
This PR tries to use them more to deduplicate some code and make it
better readable
2018-07-13 21:40:14 +02:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
admin.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
base.py run isort 2018-07-09 16:09:20 +10:00
directory.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
events.py run isort 2018-07-09 16:09:20 +10:00
initial_sync.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
login.py run isort 2018-07-09 16:09:20 +10:00
logout.py run isort 2018-07-09 16:09:20 +10:00
presence.py run isort 2018-07-09 16:09:20 +10:00
profile.py run isort 2018-07-09 16:09:20 +10:00
push_rule.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
pusher.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
register.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
room.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
voip.py run isort 2018-07-09 16:09:20 +10:00