| Total Complexity | 1 |
| Total Lines | 6 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from plugin.core.database.wrapper.base import APSWBaseWrapper |
||
| 10 | class APSWConnectionWrapper(apsw.Connection, APSWBaseWrapper): |
||
| 11 | def cursor(self, *args, **kwargs): |
||
| 12 | cursor = super(APSWConnectionWrapper, self).cursor(*args, **kwargs) |
||
| 13 | |||
| 14 | # Return wrapped cursor |
||
| 15 | return APSWCursorWrapper(self, cursor) |
||
| 16 | |||
| 34 |