xn-model 1.0.15__tar.gz → 1.0.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xn-model
3
- Version: 1.0.15
3
+ Version: 1.0.16
4
4
  Summary: Base model for xn-api
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: MIT
@@ -1,10 +1,10 @@
1
- from pypika.terms import AggregateFunction
1
+ from pypika_tortoise.terms import AggregateFunction, Field
2
2
  from tortoise.expressions import Function
3
3
 
4
4
 
5
5
  class ArrayAgg(AggregateFunction):
6
6
  def __init__(self, term, alias=None):
7
- super(ArrayAgg, self).__init__("array_agg", term, alias=alias)
7
+ super(ArrayAgg, self).__init__("array_agg", Field(term), alias=alias)
8
8
 
9
9
 
10
10
  class Array(Function):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xn-model
3
- Version: 1.0.15
3
+ Version: 1.0.16
4
4
  Summary: Base model for xn-api
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes