File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ Generate json objects
447447
448448 [[alias.stage]]
449449 command = "eval"
450- options = {expression ="pairs", autocall=false }
450+ options = {pipeline ="pairs"}
451451
452452 [[alias.stage]]
453453 command = "map"
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ async def async_chain(items, exit_stack):
172172 "dropwhile" ,
173173 short_help = "Evaluate <predicate> on function and drop values until first falsy." ,
174174 ),
175+ click .Command ("eval" , short_help = "Evaluate a python expression <pipeline>" ),
175176]
176177
177178
@@ -226,12 +227,12 @@ def _reduce(function_name, **parameters):
226227 ]
227228
228229
229- @registry .add_cli (name = "eval" )
230- @click .command ("eval" , short_help = "Call <pipeline> without any input." )
231- @option_exec_before
232- @click .argument ("expression" )
233- def _eval (expression , ** parameters ):
234- return [{"pipeline" : expression , "name" : "eval" , "parameters" : parameters }]
230+ # @registry.add_cli(name="eval")
231+ # @click.command("eval", short_help="Call <pipeline> without any input.")
232+ # @option_exec_before
233+ # @click.argument("expression")
234+ # def _eval(expression, **parameters):
235+ # return [{"pipeline": expression, "name": "eval", "parameters": parameters}]
235236
236237
237238more_commands = [
You can’t perform that action at this time.
0 commit comments