Skip to content

Commit ca8b2bc

Browse files
committed
improved method signature of output query clause
1 parent 9b55430 commit ca8b2bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

piccolo/query/methods/select.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def order_by(self, *columns: Column, ascending=True) -> Select:
128128
self.order_by_delegate.order_by(*_columns, ascending=ascending)
129129
return self
130130

131-
def output(self, **kwargs) -> Select:
132-
self.output_delegate.output(**kwargs)
131+
def output(self, as_list: bool = False, as_json: bool = False) -> Select:
132+
self.output_delegate.output(as_list=as_list, as_json=as_json)
133133
return self
134134

135135
def where(self, where: Combinable) -> Select:

0 commit comments

Comments
 (0)