MCPcopy Create free account
hub / github.com/fastapi/fastapi / remove_removable

Function remove_removable

scripts/translate.py:327–332  ·  view source on GitHub ↗
(language: Annotated[str, typer.Option(envvar="LANGUAGE")])

Source from the content-addressed store, hash-verified

325
326@app.command()
327def remove_removable(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
328 removable_paths = list_removable(language)
329 for path in removable_paths:
330 path.unlink()
331 print(f"Removed: {path}")
332 print("Done removing all removable paths")
333
334
335@app.command()

Callers

nothing calls this directly

Calls 1

list_removableFunction · 0.85

Tested by

no test coverage detected