MCPcopy
hub / github.com/Anionex/banana-slides / not_found

Function not_found

backend/utils/response.py:57–58  ·  view source on GitHub ↗
(resource: str = "Resource")

Source from the content-addressed store, hash-verified

55
56
57def not_found(resource: str = "Resource"):
58 return error_response(f"{resource.upper()}_NOT_FOUND", f"{resource} not found", 404)
59
60
61def invalid_status(message: str = "Invalid status for this operation"):

Callers 15

_build_material_queryFunction · 0.90
generate_material_imageFunction · 0.90
delete_materialFunction · 0.90
download_materials_zipFunction · 0.90
get_projectFunction · 0.90
update_projectFunction · 0.90
delete_projectFunction · 0.90
generate_outlineFunction · 0.90
generate_descriptionsFunction · 0.90

Calls 1

error_responseFunction · 0.85

Tested by

no test coverage detected