MCPcopy Create free account
hub / github.com/graphql-python/graphene-django / unwrap_cursor

Function unwrap_cursor

graphene_django/debug/sql/tracking.py:45–49  ·  view source on GitHub ↗
(connection)

Source from the content-addressed store, hash-verified

43
44
45def unwrap_cursor(connection):
46 if hasattr(connection, "_graphene_cursor"):
47 previous_cursor = connection._graphene_cursor
48 connection.cursor = previous_cursor
49 del connection._graphene_cursor
50
51
52class ExceptionCursorWrapper:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…