graphscope.framework.operation.Operation.__init__¶
- Operation.__init__(session_id, op_type, inputs=None, output_types=None, config=None, large_attr=None, query_args=None)[source]¶
Creates an
graphscope.framework.operation.Operation
.- Parameters:
op_type –
types_pb2.OperationType
Value for the “op” attribute of the OpDef proto.inputs – A list of Operations that will be the parents to self
output_types – The operation’s output type
config – Dictionary where the key is the attribute name (a string) and the value is the respective “attr” attribute of the OpDef proto (an AttrValue).
large_attr – List of LargeAttrValue for large chunk.
query_args – Values that used as query parameters when evaluating app.
- Raises:
TypeError – value in inputs is not a
Operation