@@ -8,14 +8,12 @@ class FilterConditionOp(BaseOp):
88 """Operator: filter_condition"""
99 _name = "filter_condition"
1010 _params_schema = {
11- "field" : {"type" : "string" , "required" : True },
1211 "value" : {"type" : "any" , "required" : True },
1312 }
1413
1514 def __call__ (
1615 self ,
1716 * ,
18- field : str = ...,
1917 value : Any = ...,
2018 common_input : list [str ] | None = None ,
2119 common_output : list [str ] | None = None ,
@@ -28,7 +26,6 @@ def __call__(
2826 ) -> "FilterConditionOp" :
2927 return self ._apply (
3028 params = {
31- "field" : field ,
3229 "value" : value ,
3330 },
3431 common_input = common_input ,
@@ -79,14 +76,12 @@ class MergeDedupOp(BaseOp):
7976 """Operator: merge_dedup"""
8077 _name = "merge_dedup"
8178 _params_schema = {
82- "dedup_by" : {"type" : "string" , "required" : True },
8379 "strategy" : {"type" : "string" , "required" : False , "default" : "first" },
8480 }
8581
8682 def __call__ (
8783 self ,
8884 * ,
89- dedup_by : str = ...,
9085 strategy : str = "" ,
9186 common_input : list [str ] | None = None ,
9287 common_output : list [str ] | None = None ,
@@ -99,7 +94,6 @@ def __call__(
9994 ) -> "MergeDedupOp" :
10095 return self ._apply (
10196 params = {
102- "dedup_by" : dedup_by ,
10397 "strategy" : strategy ,
10498 },
10599 common_input = common_input ,
@@ -185,14 +179,12 @@ class ReorderSortOp(BaseOp):
185179 """Operator: reorder_sort"""
186180 _name = "reorder_sort"
187181 _params_schema = {
188- "field" : {"type" : "string" , "required" : True },
189182 "order" : {"type" : "string" , "required" : False , "default" : "desc" },
190183 }
191184
192185 def __call__ (
193186 self ,
194187 * ,
195- field : str = ...,
196188 order : str = "" ,
197189 common_input : list [str ] | None = None ,
198190 common_output : list [str ] | None = None ,
@@ -205,7 +197,6 @@ def __call__(
205197 ) -> "ReorderSortOp" :
206198 return self ._apply (
207199 params = {
208- "field" : field ,
209200 "order" : order ,
210201 },
211202 common_input = common_input ,
@@ -262,15 +253,11 @@ class TransformDispatchOp(BaseOp):
262253 """Operator: transform_dispatch"""
263254 _name = "transform_dispatch"
264255 _params_schema = {
265- "common_field" : {"type" : "string" , "required" : True },
266- "item_field" : {"type" : "string" , "required" : True },
267256 }
268257
269258 def __call__ (
270259 self ,
271260 * ,
272- common_field : str = ...,
273- item_field : str = ...,
274261 common_input : list [str ] | None = None ,
275262 common_output : list [str ] | None = None ,
276263 item_input : list [str ] | None = None ,
@@ -282,8 +269,6 @@ def __call__(
282269 ) -> "TransformDispatchOp" :
283270 return self ._apply (
284271 params = {
285- "common_field" : common_field ,
286- "item_field" : item_field ,
287272 },
288273 common_input = common_input ,
289274 common_output = common_output ,
@@ -299,17 +284,13 @@ class TransformNormalizeOp(BaseOp):
299284 """Operator: transform_normalize"""
300285 _name = "transform_normalize"
301286 _params_schema = {
302- "field" : {"type" : "string" , "required" : True },
303287 "method" : {"type" : "string" , "required" : False , "default" : "min_max" },
304- "output_field" : {"type" : "string" , "required" : False },
305288 }
306289
307290 def __call__ (
308291 self ,
309292 * ,
310- field : str = ...,
311293 method : str = "" ,
312- output_field : str = "" ,
313294 common_input : list [str ] | None = None ,
314295 common_output : list [str ] | None = None ,
315296 item_input : list [str ] | None = None ,
@@ -321,9 +302,7 @@ def __call__(
321302 ) -> "TransformNormalizeOp" :
322303 return self ._apply (
323304 params = {
324- "field" : field ,
325305 "method" : method ,
326- "output_field" : output_field ,
327306 },
328307 common_input = common_input ,
329308 common_output = common_output ,
0 commit comments