Skip to content
Myr

🐛 Add missing `default_factory` in `Argument` overloads (#750)

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

authored by m9810223 · committed by GitHub · parent fa5a649 · Browse files · 1 file+2 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:typer/params.py+2 added
266 unmodified lines
267 Union[List["click.shell_completion.CompletionItem"], List[str]],268 ]269 ] = None,270 autocompletion: Optional[Callable[..., Any]] = None,271 default_factory: Optional[Callable[[], Any]] = None,272 # Custom type273 parser: Optional[Callable[[str], Any]] = None,274 # TyperArgument275 show_default: Union[bool, str] = True,
46 unmodified lines
322 Union[List["click.shell_completion.CompletionItem"], List[str]],323 ]324 ] = None,325 autocompletion: Optional[Callable[..., Any]] = None,326 default_factory: Optional[Callable[[], Any]] = None,327 # Custom type328 click_type: Optional[click.ParamType] = None,329 # TyperArgument330 show_default: Union[bool, str] = True,
134 unmodified lines