U
vi
@ s d dl Z d dlmZ d dlmZmZmZmZmZ d dl m
Z
mZ d dl mZ
d dlmZmZmZ d dlmZ d dlmZ ed Zed
Ze dZe
e eege
e f eege
e f ee
e ge
eee
e f f dd
dZdgZdS ) N)OrderedDict)AnyCallableOptionalTupleTypeVar)
Observableabc) operators)CompositeDisposableRefCountDisposableSingleAssignmentDisposable)add_ref)Subject_TLeft_TRightZRx)rightleft_duration_mapperright_duration_mapperreturnc sB t ddddtt ttttt f d fdd}|S )a Correlates the elements of two sequences based on overlapping
durations, and groups the results.
Args:
right: The right observable sequence to join elements for.
left_duration_mapper: A function to select the duration (expressed
as an observable sequence) of each element of the left observable
sequence, used to determine overlap.
right_duration_mapper: A function to select the duration (expressed
as an observable sequence) of each element of the right observable
sequence, used to determine overlap.
Returns:
An observable sequence that contains elements combined into a tuple
from source elements that have an overlapping duration.
N)_r c S s d S N )r r r O/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_groupjoin.pynothing+ s zgroup_join_.