Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
541
def
quote(s: str) -> str:
542
""
"Wrap string in quotes."
""
543
return
f
'"{s}"'
544
545
546
class
_InputField:
Callers
2
generate
Function · 0.85
as_arg
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected