Commits

Roel van Os committed c37e1fa

visit_function sometimes takes additional keyword arguments

  • Participants
  • Parent commits 678e88b

Comments (0)

Files changed (1)

sqlalchemy_access/base.py

                           'current_timestamp': 'now',
                           'length': 'len',
                           }
-    def visit_function(self, func):
+    def visit_function(self, func, **kwargs):
         """Access function names differ from the ANSI SQL names;
         rewrite common ones"""
         func.name = self.function_rewrites.get(func.name, func.name)