U vâ’i•ã@s®ddlmZmZmZmZmZddlmZmZddlm Z ddl m Z ddl mZddlmZedƒZeeedœd d „Zdeeeeeegeefd œd d„ZdgZd S)é)ÚCallableÚListÚOptionalÚTypeVarÚcast)Ú ObservableÚcompose)Ú operators)Úidentity©ÚSequenceContainsNoElementsError)ÚComparerÚ_T)ÚxÚreturncCs|s tƒ‚|dS)Nrr )r©rúI/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_min.pyÚ first_only srN)ÚcomparerrcCs(tt tttgtftƒ|¡t t¡ƒS)aßThe `min` operator. Returns the minimum element in an observable sequence according to the optional comparer else a default greater than less than check. Examples: >>> res = source.min() >>> res = source.min(lambda x, y: x.value - y.value) Args: comparer: [Optional] Comparer used to compare elements. Returns: An observable sequence containing a single element with the minimum element in the source sequence. ) rÚopsZmin_byrrrr Úmapr)rrrrÚmin_sþr)N)ÚtypingrrrrrZ reactivexrrr rZreactivex.internal.basicr Zreactivex.internal.exceptionsr Zreactivex.typingr rrrÚ__all__rrrrÚs    ÿ þ