Skip to content

Commit

Permalink
making mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalik committed Sep 29, 2023
1 parent b1287ee commit 428a288
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion ninja/params/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
from typing import TYPE_CHECKING, Any, Callable, Dict, Optional, TypeVar

from typing_extensions import Annotated, TypedDict
from typing_extensions import Annotated

from ninja.params import functions as param_functions


__all__ = [
"Body",
"Cookie",
"File",
"Form",
"Header",
"Path",
"Query",
"BodyEx",
"CookieEx",
"FileEx",
"FormEx",
"HeaderEx",
"PathEx",
"QueryEx",
"Router",
"P",
]


class ParamShortcut:
def __init__(self, base_func: Callable) -> None:
self._base_func = base_func
Expand Down

0 comments on commit 428a288

Please sign in to comment.