| 2924 | } |
| 2925 | |
| 2926 | static 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 | |
| 2937 | static PyObject* getGearsSession(PyObject *cls, PyObject *args){ |
| 2938 | PythonThreadCtx* ptctx = GetPythonThreadCtx(); |
no outgoing calls
no test coverage detected