Open hezhefly opened 1 day ago
File "/data/heweicheng/miniconda3/envs/xinference/lib/python3.10/site-packages/pydantic_typer/main.py", line 156 return origin[*updated_args] ^ SyntaxError: invalid syntax
Thanks for reporting. Seems like this syntax was introduced in Python 3.11 with PEP 646. I just pushed a fix and released version 0.0.12.
0.0.12
Looks like the tests are still failing, I'm having another look later.