Skip to content

Instantly share code, notes, and snippets.

@mrahtz
Created February 20, 2021 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrahtz/e73cb4760a128cd92d6ac97d85f78987 to your computer and use it in GitHub Desktop.
Save mrahtz/e73cb4760a128cd92d6ac97d85f78987 to your computer and use it in GitHub Desktop.
R = TypeVar('R')
Rs = TypeVarTuple('Rs')
class Query(Generic[R]):
...
def execute(*args: *Map[Query, Rs]) -> Tuple[*Rs]:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment