mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
ruff: Fix UP035 Import from collections.abc, typing instead.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
531b34cb4c
commit
0fa5e7f629
@@ -1,6 +1,7 @@
|
||||
import re
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, Callable, Generic, Iterable, Sequence, TypeVar
|
||||
from typing import Any, Generic, TypeAlias, TypeVar
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib.auth.models import AnonymousUser
|
||||
@@ -29,7 +30,7 @@ from sqlalchemy.sql import (
|
||||
)
|
||||
from sqlalchemy.sql.selectable import SelectBase
|
||||
from sqlalchemy.types import ARRAY, Boolean, Integer, Text
|
||||
from typing_extensions import TypeAlias, override
|
||||
from typing_extensions import override
|
||||
|
||||
from zerver.lib.addressee import get_user_profiles, get_user_profiles_by_ids
|
||||
from zerver.lib.exceptions import ErrorCode, JsonableError, MissingAuthenticationError
|
||||
|
||||
Reference in New Issue
Block a user