MCPcopy
hub / github.com/django/django / dump

Method dump

django/contrib/gis/db/backends/postgis/base.py:38–40  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

36
37 class BaseTextDumper(Dumper):
38 def dump(self, obj):
39 # Return bytes as hex for text formatting
40 return obj.ewkb.hex().encode()
41
42 class BaseBinaryDumper(Dumper):
43 format = Format.BINARY

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.45
hexMethod · 0.45

Tested by

no test coverage detected