MCPcopy
hub / github.com/django/django / dumps

Method dumps

django/contrib/messages/storage/cookie.py:51–59  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

49
50class MessagePartSerializer:
51 def dumps(self, obj):
52 return [
53 json.dumps(
54 o,
55 separators=(",", ":"),
56 cls=MessageEncoder,
57 )
58 for o in obj
59 ]
60
61
62class MessagePartGatherSerializer:

Callers 15

encodeMethod · 0.45
_get_session_keyMethod · 0.45
save_manifestMethod · 0.45
prepare_valueMethod · 0.45
value_to_stringMethod · 0.45
value_to_stringMethod · 0.45
value_to_stringMethod · 0.45
CookieStorageClass · 0.45
_storeMethod · 0.45
_encodeMethod · 0.45
response_addMethod · 0.45
response_changeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected