(connection, panel)
| 32 | |
| 33 | |
| 34 | def wrap_cursor(connection, panel): |
| 35 | if not hasattr(connection, "_graphene_cursor"): |
| 36 | connection._graphene_cursor = connection.cursor |
| 37 | |
| 38 | def cursor(): |
| 39 | return state.Wrapper(connection._graphene_cursor(), connection, panel) |
| 40 | |
| 41 | connection.cursor = cursor |
| 42 | return cursor |
| 43 | |
| 44 | |
| 45 | def unwrap_cursor(connection): |
no outgoing calls
no test coverage detected
searching dependent graphs…