U
vâ’iã ã @ s– d dl mZmZmZmZ d dlmZmZ d dlmZ d dl
mZ d dlm
Z
ddlmZ edƒZd
ee
e eee gee f d
œdd„ZdgZd S )é )ÚCallableÚOptionalÚTypeVarÚcast)Ú
ObservableÚcompose)Ú operators)Úidentity)ÚCompareré )Ú
first_onlyÚ_TN)ÚcomparerÚreturnc C s( t t tttgtf tƒ| ¡t t¡ƒS )aÓ Returns the maximum value in an observable sequence according to
the specified comparer.
Examples:
>>> op = max()
>>> op = max(lambda x, y: x.value - y.value)
Args:
comparer: [Optional] Comparer used to compare elements.
Returns:
An operator function that takes an observable source and returns
an observable sequence containing a single element with the
maximum element in the source sequence.
) r ÚopsZmax_byr r r
r Úmapr )r © r úI/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_max.pyÚmax_
s þr )N)Útypingr r r r Z reactivexr r r r Zreactivex.internal.basicr Zreactivex.typingr
Ú_minr r
r Ú__all__r r r r Ú