@@ -66,6 +66,7 @@ def openapi_types(_):
66
66
"event_query" : (LogQueryDefinition ,),
67
67
"formulas" : ([WidgetFormula ],),
68
68
"increase_good" : (bool ,),
69
+ "limit" : (int ,),
69
70
"log_query" : (LogQueryDefinition ,),
70
71
"network_query" : (LogQueryDefinition ,),
71
72
"order_by" : (WidgetOrderBy ,),
@@ -87,6 +88,7 @@ def openapi_types(_):
87
88
"event_query" : "event_query" ,
88
89
"formulas" : "formulas" ,
89
90
"increase_good" : "increase_good" ,
91
+ "limit" : "limit" ,
90
92
"log_query" : "log_query" ,
91
93
"network_query" : "network_query" ,
92
94
"order_by" : "order_by" ,
@@ -109,6 +111,7 @@ def __init__(
109
111
event_query : Union [LogQueryDefinition , UnsetType ] = unset ,
110
112
formulas : Union [List [WidgetFormula ], UnsetType ] = unset ,
111
113
increase_good : Union [bool , UnsetType ] = unset ,
114
+ limit : Union [int , UnsetType ] = unset ,
112
115
log_query : Union [LogQueryDefinition , UnsetType ] = unset ,
113
116
network_query : Union [LogQueryDefinition , UnsetType ] = unset ,
114
117
order_by : Union [WidgetOrderBy , UnsetType ] = unset ,
@@ -158,6 +161,9 @@ def __init__(
158
161
:param increase_good: Whether to show increase as good.
159
162
:type increase_good: bool, optional
160
163
164
+ :param limit: The number of items to show.
165
+ :type limit: int, optional
166
+
161
167
:param log_query: The log query.
162
168
:type log_query: LogQueryDefinition, optional
163
169
@@ -206,6 +212,8 @@ def __init__(
206
212
kwargs ["formulas" ] = formulas
207
213
if increase_good is not unset :
208
214
kwargs ["increase_good" ] = increase_good
215
+ if limit is not unset :
216
+ kwargs ["limit" ] = limit
209
217
if log_query is not unset :
210
218
kwargs ["log_query" ] = log_query
211
219
if network_query is not unset :
0 commit comments