MCPcopy
hub / github.com/PrefectHQ/prefect / dumps

Method dumps

src/prefect/serializers.py:152–154  ·  view source on GitHub ↗

Encode the object into a blob of bytes.

(self, obj: D)

Source from the content-addressed store, hash-verified

150 type: str
151
152 def dumps(self, obj: D) -> bytes:
153 """Encode the object into a blob of bytes."""
154 raise NotImplementedError
155
156 def loads(self, blob: bytes) -> D:
157 """Decode the blob of bytes into an object."""

Callers 15

mainFunction · 0.45
_send_to_dlqMethod · 0.45
_message_fieldsMethod · 0.45
redis_setFunction · 0.45
_serialize_leaseMethod · 0.45
create_leaseMethod · 0.45
_submit_adhoc_runMethod · 0.45
_make_hashableFunction · 0.45
ainvokeMethod · 0.45

Calls

no outgoing calls