diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-01-27 07:27:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 07:27:55 -0500 |
commit | 265735db9d7b0698a511fc9389db4d6f104f1aa8 (patch) | |
tree | ca495a3241d62ffa8da7cb29df90c467497ff8ed /synapse/handlers/admin.py | |
parent | Add missing type hints in tests (#14879) (diff) | |
download | synapse-265735db9d7b0698a511fc9389db4d6f104f1aa8.tar.xz |
Use an enum for direction. (#14927)
For better type safety we use an enum instead of strings to configure direction (backwards or forwards).
Diffstat (limited to 'synapse/handlers/admin.py')
-rw-r--r-- | synapse/handlers/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/admin.py b/synapse/handlers/admin.py |