MCPcopy Create free account
hub / github.com/dagger/dagger / _format_name

Function _format_name

sdk/python/codegen/src/codegen/generator.py:465–467  ·  view source on GitHub ↗
(match: re.Match[str])

Source from the content-addressed store, hash-verified

463 reason = reason.strip()
464
465 def _format_name(match: re.Match[str]) -> str:
466 name = format_name(match.group(1))
467 return f"{prefix}{name}{suffix}"
468
469 return DEPRECATION_RE.sub(_format_name, reason)
470

Callers

nothing calls this directly

Calls 1

format_nameFunction · 0.85

Tested by

no test coverage detected