typer/docs_src
Ryan Miller Galamb 458a492ed9
Add support for PEP-593 Annotated for specifying options and arguments (#584)
*  Add support for PEP-593 `Annotated` for specifying options and arguments

Implements #184

* Revert things I did to get a 3.6 virtualenv 😅

A lot of the dev dependency packages weren't installable on 3.6, so I
had to remove them from the pyproject.toml.

This commit adds them back

* Fix mypy/lint errors

* Skip coverage on test lines that shouldn't execute

* Missed a spot

* ♻️ Tweak examples and tests with Annotated, add extra examples and tests

* 🔥 Remove Pydantic-specific logic from _typing.py

* 📝 Update docs to use new Annotated examples

* 📝 Add docs introducing Annotated and previous versions

* 🔧 Add commented out MkDocs config for highlighting docs examples

*  Fix tests for Click 7

---------

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-01 21:19:19 -07:00
..
app_dir Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
arguments Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
commands Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
exceptions Refactor and document handling pretty exceptions (#422) 2022-07-12 21:06:51 +02:00
first_steps Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
launch Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
multiple_values Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
options Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
options_autocompletion Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
parameter_types Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
printing Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
progressbar 📝 Add docs for using Rich with Typer (#421) 2022-07-12 18:38:50 +00:00
prompt 📝 Add docs for using Rich with Typer (#421) 2022-07-12 18:38:50 +00:00
subcommands Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
terminating Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00
testing Add support for PEP-593 Annotated for specifying options and arguments (#584) 2023-05-01 21:19:19 -07:00
using_click Richify, add integrations with Rich everywhere (#419) 2022-07-12 16:45:43 +00:00