forked from STI/Astroport.ONE
9 lines
139 B
Python
9 lines
139 B
Python
|
from typing import Awaitable, TypeVar, Union
|
||
|
|
||
|
__all__ = ["AwaitableOrValue"]
|
||
|
|
||
|
|
||
|
T = TypeVar("T")
|
||
|
|
||
|
AwaitableOrValue = Union[Awaitable[T], T]
|