Removed unused function argument from Window.as_sql().

Unused since its introduction in d549b88050.
This commit is contained in:
Mariusz Felisiak 2018-08-20 22:16:27 +02:00 committed by GitHub
parent 49b679371f
commit ac29fec111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1237,7 +1237,7 @@ class Window(Expression):
def set_source_expressions(self, exprs):
self.source_expression, self.partition_by, self.order_by, self.frame = exprs
def as_sql(self, compiler, connection, function=None, template=None):
def as_sql(self, compiler, connection, template=None):
connection.ops.check_expression_support(self)
expr_sql, params = compiler.compile(self.source_expression)
window_sql, window_params = [], []