graphscope.framework.dag_utils.run_app

graphscope.framework.dag_utils.run_app(app, *args, **kwargs)[source]

Run bound app on the graph.

Parameters:
  • app (AppDAGNode) – A AppDAGNode instance which represent a bound app.

  • key (str) – Key of query results, can be used to retrieve results.

  • *args – Additional query params that will be used in evaluation.

  • **kwargs – Key-value formated query params that mostly used in Cython apps.

Returns:

An op to run app on the specified graph, with optional query parameters.