File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.0.20 (Apr 5, 2023)
2
+
3
+ * Corrected issue with from, size and track_total_hits in DSL object not being sent to server if the defaults weren't changed
4
+
1
5
## 0.0.19 (Mar 30, 2023)
2
6
3
7
* Renamed environment variable used to specify the Atlan URL from ATLAN_HOST to ATLAN_BASE_URL
Original file line number Diff line number Diff line change @@ -1735,6 +1735,10 @@ class DSL(AtlanObject):
1735
1735
class Config :
1736
1736
json_encoders = {Query : lambda v : v .to_dict (), SortItem : lambda v : v .to_dict ()}
1737
1737
1738
+ def __init__ (__pydantic_self__ , ** data : Any ) -> None :
1739
+ super ().__init__ (** data )
1740
+ __pydantic_self__ .__fields_set__ .update (["from_" , "size" , "track_total_hits" ])
1741
+
1738
1742
@validator ("query" , always = True )
1739
1743
def validate_query (cls , v , values ):
1740
1744
if not v and ("post_filter" not in values or not values ["post_filter" ]):
Original file line number Diff line number Diff line change 1
- 0.0.19
1
+ 0.0.20
You can’t perform that action at this time.
0 commit comments