Skip to content
Myr

💡 Add comments to document overload definitions in code (#752)

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

authored by Sofie Van Landeghem · committed by GitHub · parent 86aad36 · Browse files · 1 file+4 added−0 removed
This commit

State

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

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:typer/params.py+4 added
6 unmodified lines
7if TYPE_CHECKING: # pragma: no cover8 import click.shell_completion91011# Overload for Option created with custom type 'parser'12@overload13def Option(14 # Parameter15 default: Optional[Any] = ...,
55 unmodified lines
71) -> Any:72 ...737475# Overload for Option created with custom type 'click_type'76@overload77def Option(78 # Parameter79 default: Optional[Any] = ...,
172 unmodified lines
252 rich_help_panel=rich_help_panel,253 )254255256# Overload for Argument created with custom type 'parser'257@overload258def Argument(259 # Parameter260 default: Optional[Any] = ...,
47 unmodified lines
308) -> Any:309 ...310311312# Overload for Argument created with custom type 'click_type'313@overload314def Argument(315 # Parameter316 default: Optional[Any] = ...,
152 unmodified lines