MCPcopy
hub / github.com/htdt/godogen / _resolve_preset

Function _resolve_preset

asset-gen/tools/asset_gen.py:261–265  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

259
260
261def _resolve_preset(name: str) -> dict:
262 if name not in QUALITY_PRESETS:
263 result_json(False, error=f"Unknown quality: {name}. Use: {', '.join(QUALITY_PRESETS)}")
264 sys.exit(1)
265 return QUALITY_PRESETS[name]
266
267
268def _resume_hint(output: Path) -> str:

Callers 2

cmd_glbFunction · 0.85
cmd_rigFunction · 0.85

Calls 1

result_jsonFunction · 0.85

Tested by

no test coverage detected