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

Function getCommandReaderTriggerCtx

plugins/python/redisgears_python.c:2926–2935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2924}
2925
2926static CommandReaderTriggerCtx* getCommandReaderTriggerCtx(PythonThreadCtx* ptctx){
2927 CommandReaderTriggerCtx* crtCtx = NULL;
2928 if(ptctx->currEctx){
2929 crtCtx = RedisGears_GetCommandReaderTriggerCtx(ptctx->currEctx);
2930 }else{
2931 crtCtx = ptctx->crtCtx;
2932 }
2933
2934 return crtCtx;
2935}
2936
2937static PyObject* getGearsSession(PyObject *cls, PyObject *args){
2938 PythonThreadCtx* ptctx = GetPythonThreadCtx();

Callers 2

getGearsSessionFunction · 0.85
callNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected