(value: str)
| 70 | |
| 71 | |
| 72 | def name_callback(value: str): |
| 73 | if not value: |
| 74 | return value |
| 75 | dl = available_dataloaders() |
| 76 | if value not in dl: |
| 77 | raise typer.BadParameter(f"Supported dataloaders are:\n{', '.join(dl)}") |
| 78 | return value |
| 79 | |
| 80 | |
| 81 | app = typer.Typer(add_completion=False, rich_markup_mode="rich") |
nothing calls this directly
no test coverage detected