MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / escape_str

Function escape_str

tortoise/converters.py:91–92  ·  view source on GitHub ↗
(value: str, mapping=None)

Source from the content-addressed store, hash-verified

89
90
91def escape_str(value: str, mapping=None) -> str:
92 return f"'{escape_string(str(value), mapping)}'"
93
94
95def escape_None(value: None, mapping=None) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…