We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddef342 commit e7dffe0Copy full SHA for e7dffe0
dtyper/__init__.py
@@ -338,7 +338,7 @@ def make_dataclass_args(
338
# is called twice on the same function.
339
typer_command = getattr(typer_command, '_dtyper_dec', typer_command)
340
341
- def param_to_field_desc(p) -> t.Tuple[t.Any, ...]: # type: ignore[no-untyped-def]
+ def param_to_field_desc(p) -> t.Tuple[t.Any, ...]:
342
if p.default is inspect.Parameter.empty:
343
return p.name, p.annotation
344
else:
0 commit comments