otp.Source.show_special_msgs#
- Source.show_special_msgs(inplace=False)#
Shows ticks that represent internal events generated by OneTick analytics to facilitate graph processing.
Currently, only ticks that represent PREPARE_FOR_RUNNING_QUERY events are produced.
- Parameters:
- Return type:
SourceorNone
Examples
PREPARE_FOR_RUNNING_QUERY event is generated in running queries:
>>> data = otp.Tick(X=1, bucket_interval=1) >>> data = data.show_special_msgs() >>> otp.run(data, running=True, start=otp.now(), end=otp.now() + otp.Second(1)) Time MSG_TYPE MSG_VAL 0 ... PREPARE_FOR_RUNNING_QUERY
See also
SHOW_SPECIAL_MSGS OneTick event processor