mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-09-28 01:10:54 -04:00
Add type annotations to tests.storage.test_appservice
. (#11488)
This commit is contained in:
parent
f61462e1be
commit
435f044807
5 changed files with 98 additions and 53 deletions
|
@ -13,6 +13,7 @@
|
|||
# limitations under the License.
|
||||
import logging
|
||||
import re
|
||||
from enum import Enum
|
||||
from typing import TYPE_CHECKING, Iterable, List, Match, Optional
|
||||
|
||||
from synapse.api.constants import EventTypes
|
||||
|
@ -27,7 +28,7 @@ if TYPE_CHECKING:
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ApplicationServiceState:
|
||||
class ApplicationServiceState(Enum):
|
||||
DOWN = "down"
|
||||
UP = "up"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue