Skip to content
Myr

🎨 Fix type annotation of `typer.run()` (#284)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by yassu · committed by GitHub · parent 5a5db51 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:typer/main.py+1 added-1 removed
1042 unmodified lines
1043 update_wrapper(wrapper, callback)1044 return wrapper104510461047def run(function: Callable[..., Any]) -> Any:1047def run(function: Callable[..., Any]) -> None:1048 app = Typer()1049 app.command()(function)1050 app()