You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for yarl URL and/or pydantic HttpUrl as python-decouple package parser currently does.
To me, if a variable as url as suffix, it means that it must be treated as an URL, therefore, typing it with either yarl or pydantic would be an awesome feature to have
Currently, Typer would raise the following exception for both cases
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
To me, if a variable as url as suffix, it means that it must be treated as an URL, therefore, typing it with either yarl or pydantic would be an awesome feature to have
Currently, Typer would raise the following exception for both cases
yarl
pydantinc
Operating System
macOS
Operating System Details
No response
Typer Version
0.12.5
Python Version
3.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions