Skip to content

Commit 8bf6097

Browse files
committed
fix mypy warnings
1 parent 99ac352 commit 8bf6097

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/django_idom/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ViewComponentIframe:
5555

5656
@dataclass
5757
class QueryOptions:
58-
"""A Django ORM query function, alongside some configuration values."""
58+
"""Configuration options that can be provided to `use_query`."""
5959

6060
postprocessor_options: dict[str, Any] = field(
6161
default_factory=lambda: {"many_to_many": False, "many_to_one": False}

src/django_idom/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from fnmatch import fnmatch
88
from importlib import import_module
99
from inspect import iscoroutinefunction
10-
from typing import Any, Callable, Sequence, overload
10+
from typing import Any, Callable, Sequence
1111

1212
from channels.db import database_sync_to_async
1313
from django.http import HttpRequest, HttpResponse
@@ -16,7 +16,6 @@
1616
from django.views import View
1717

1818
from django_idom.config import IDOM_REGISTERED_COMPONENTS
19-
from django_idom.types import QueryOptions, _Params, _Result
2019

2120

2221
_logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)