MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / to_redis_dict

Method to_redis_dict

backend/tkhelper/models/entity.py:20–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 # -- serialization --
19
20 def to_redis_dict(self) -> Dict:
21 return self.model_dump()
22
23 def to_response_dict(self) -> Dict:
24 response_dict = self.model_dump()

Callers 1

setMethod · 0.80

Calls 1

model_dumpMethod · 0.45

Tested by

no test coverage detected