MCPcopy Create free account
hub / github.com/RedisGears/RedisGears / PyObjRecordGet

Function PyObjRecordGet

plugins/python/redisgears_python.c:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static PyObject* PyObjRecordGet(Record* base){
124 RedisModule_Assert(base->type == pythonRecordType);
125 PythonRecord* r = (PythonRecord*)base;
126 return r->obj;
127}
128
129static void PyObjRecordSet(Record* base, PyObject* obj){
130 RedisModule_Assert(base->type == pythonRecordType);

Calls

no outgoing calls

Tested by

no test coverage detected