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

Function quote

sdk/python/codegen/src/codegen/generator.py:541–543  ·  view source on GitHub ↗

Wrap string in quotes.

(s: str)

Source from the content-addressed store, hash-verified

539
540
541def quote(s: str) -> str:
542 """Wrap string in quotes."""
543 return f'"{s}"'
544
545
546class _InputField:

Callers 2

generateFunction · 0.85
as_argMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected