Skip to content

Commit

Permalink
Merge pull request #134 from gisce/patchnewcursor_with_args
Browse files Browse the repository at this point in the history
Evitar que lanze errores de parametros al usar PatchNewCursors con metodos que tengan cursores con parametros
  • Loading branch information
tinogis authored Aug 12, 2022
2 parents 1f45296 + a83bdf1 commit 38188e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion destral/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, connection, cursor):
def __getattr__(self, item):
return getattr(self._connection, item)

def cursor(self, serialized=False):
def cursor(self, serialized=False, *args, **kwargs):
"""Wrapped function to return the same cursor
"""
return self._cursor
Expand Down

0 comments on commit 38188e0

Please sign in to comment.