U
vi @ s d dl mZmZmZmZ d dlmZm Z d dlmZ ddl m
Z
edZedZde j
eef ee je eee geee f d d
dZdgZdS )
)CallableListOptionalTypeVar)
Observabletyping)default_sub_comparer
extrema_by_T_TKeyN)
key_mappercomparerreturnc s. |pt tt ttt d fdd}|S )N)sourcer c s t | S )a Partially applied max_by operator.
Returns the elements in an observable sequence with the maximum
key value.
Examples:
>>> res = max_by(source)
Args:
source: The source observable sequence to.
Returns:
An observable sequence containing a list of zero or more
elements that have a maximum key value.
r
)r cmpr K/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_maxby.pymax_by s zmax_by_.