U vi@sddlmZmZmZmZddlmZmZddlmZddl m Z edZ edZ d ej e e feeje eee geee fd d d Zd gZdS) )CallableListOptionalTypeVar) Observabletyping)default_sub_comparer extrema_by_T_TKeyN) key_mappercomparerreturncs.|pttttttdfdd }|S)N)sourcercs t|S)aPartially 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 )rcmprK/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_maxby.pymax_byszmax_by_..max_by)rrr r)rrrrrrmax_by_ s"r)N)rrrrrZ reactivexrZreactivex.internal.basicrZ_minbyr r r ZMapperZ SubComparerr__all__rrrrs