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

Function fetchPyError

plugins/python/redisgears_python.c:5248–5250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5246}
5247
5248void fetchPyError(ExecutionCtx* rctx) {
5249 RedisGears_SetError(rctx, getPyError());
5250}
5251
5252PyObject* RedisGearsPy_PyCallbackHandleCoroutine(ExecutionCtx* rctx, PyObject* coro, PythonThreadCtx* ptctx){
5253 // object is a coroutine, we need to hold and pass it to the event loop.

Calls 1

getPyErrorFunction · 0.85

Tested by

no test coverage detected