Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for parsing variadic generics #282

Closed
rsokl opened this issue Jun 14, 2022 · 1 comment
Closed

Add tests for parsing variadic generics #282

rsokl opened this issue Jun 14, 2022 · 1 comment
Labels
test suite Changes to hydra-zen's test suite

Comments

@rsokl
Copy link
Contributor

rsokl commented Jun 14, 2022

PEP 646 was accepted and Unpack is available as a Python 3.7+ compatible implementation.

E.g. we should be able to parse the signatures of:

Ts = TypeVarTuple('Ts')

def f(*args: *Ts): ...

def g(shape: Tuple[*Ts, int]): ...
@rsokl rsokl added the test suite Changes to hydra-zen's test suite label Jun 14, 2022
@rsokl
Copy link
Contributor Author

rsokl commented Jun 16, 2022

Closed by #283

@rsokl rsokl closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test suite Changes to hydra-zen's test suite
Projects
None yet
Development

No branches or pull requests

1 participant