ruff: Fix UP035 Import from collections.abc, typing instead.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-07-11 17:30:25 -07:00
committed by Tim Abbott
parent 531b34cb4c
commit 0fa5e7f629
240 changed files with 460 additions and 332 deletions

View File

@@ -1,7 +1,8 @@
import logging
from collections.abc import Mapping
from datetime import timedelta
from importlib import import_module
from typing import Any, Mapping, Protocol, cast
from typing import Any, Protocol, cast
from django.conf import settings
from django.contrib.auth import SESSION_KEY, get_user_model