☰
Debian Codegraph
@
3.2.12-1
3.2.11-1
/
/
src
/
graphql
/
pyutils
/
awaitable_or_value.py
☽
☼
src/graphql/pyutils/awaitable_or_value.py
code
plain
raw
MIT
Christoph Zwerschke <
[email protected]
>; Syrus Akbary <
[email protected]
>; Jake Heinz; GraphQL Contributors
debian/copyright
1
from typing import Awaitable, TypeVar, Union
2
3
__all__ = ["AwaitableOrValue"]
4
5
6
T = TypeVar("T")
7
8
AwaitableOrValue = Union[Awaitable[T], T]