File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+
15## 0.0.19 (Mar 30, 2023)
26
37* 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):
17351735 class Config :
17361736 json_encoders = {Query : lambda v : v .to_dict (), SortItem : lambda v : v .to_dict ()}
17371737
1738+ def __init__ (__pydantic_self__ , ** data : Any ) -> None :
1739+ super ().__init__ (** data )
1740+ __pydantic_self__ .__fields_set__ .update (["from_" , "size" , "track_total_hits" ])
1741+
17381742 @validator ("query" , always = True )
17391743 def validate_query (cls , v , values ):
17401744 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