MCPcopy
hub / github.com/psycopg/psycopg / dump

Method dump

tests/test_adapt.py:520–521  ·  view source on GitHub ↗
(self, obj: str)

Source from the content-addressed store, hash-verified

518
519class StrNoneDumper(StrDumper):
520 def dump(self, obj: str) -> Buffer | None:
521 return super().dump(obj) if obj else None
522
523
524class StrNoneBinaryDumper(StrBinaryDumper):

Callers

nothing calls this directly

Calls 1

dumpMethod · 0.45

Tested by

no test coverage detected