FlowInfo
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Indicates the flow information of DataFlow.
Prototype
1 | FlowInfo(start_time=0, end_time=0, flow_flags=0, transaction_id=0) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
start_time |
int |
Start time, in ms. |
end_time |
int |
End time, in ms. |
flow_flags |
int |
dataflow.FlowFlag. For details, see dataflow.FlowFlag. |
transaction_id |
int |
Transaction ID used for DataFlow data transmission. This parameter is valid only when the value is not 0. |
Returns
None is returned in normal scenarios.
TypeError is returned when the parameter type is incorrect.
Examples
1 2 3 4 | import dataflow as df graph = df.FlowGraph(...) flow_info = FlowInfo(...) graph.feed_data(...,flow_info) |
Constraints
None
Parent topic: dataflow.FlowInfo