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

RuntimeError: Type not yet supported: typing.Literal['sgd', 'adamw', 'adam'] #61

Closed
1 task done
cvmilesight opened this issue Sep 23, 2024 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@cvmilesight
Copy link

Search before asking

  • I have searched the Multimodal Maestro issues and found no similar feature requests.

Question

I saw a commit:59c99fc, But the most recent version of Typer (V0.12.5) currently lacks support for "typing.Literal". I noticed that the associated pull request has not yet been merged: fastapi/typer#429. Am I possibly misunderstanding something?

Additional

OS:ubuntu 20.04
python 3.10
typer 0.12.5
click 8.1.7

@SkalskiP
Copy link
Collaborator

Hi @cvmilesight 👋🏻 Thanks a lot for being vigilant! This change was accidentally introduced during the mypy check integration. We're already working on a fix.

@SkalskiP SkalskiP added bug Something isn't working and removed question Further information is requested labels Sep 24, 2024
@SkalskiP
Copy link
Collaborator

The fix got merged. I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants