graphscope.framework.dag_utils.run_app

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

Run app on the graph.

Parameters
  • graph (Graph) – A loaded graph.

  • app (App) – A loaded app that will be queried.

  • 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.