rx/core/observablebase.py
def last(self, predicate=None) -> 'ObservableBase':
        """Returns the last element of an observable sequence that
        satisfies the condition in the predicate if specified, else the
        last element.

        Examples:
            >>> res = source.last()
            >>> res = source.last(lambda x: x > 3)

        Args:
            predicate: A predicate function to evaluate for elements in
            the source sequence.

        Returns:
            Sequence containing the last element in the observable
            sequence that satisfies the condition in the predicate.
        """
        from ..operators.observable.last import last
        return last(self, predicate)
Returns the last element of an observable sequence that
        satisfies the condition in the predicate if specified, else the
        last element.

        Examples:
            >>> res = source.last()
            >>> res = source.last(lambda x: x > 3)

        Args:
            predicate: A predicate function to evaluate for elements in
            the source sequence.

        Returns:
            Sequence containing the last element in the observable
            sequence that satisfies the condition in the predicate.
        
Returns the last element of an observable sequence that
satisfies the condition in the predicate if specified, else the
last element.



A predicate function to evaluate for elements in
the source sequence.

Sequence containing the last element in the observable
sequence that satisfies the condition in the predicate.
Returns the last element of an observable sequence that satisfies the condition in the predicate if specified else the last element . A predicate function to evaluate for elements in the source sequence . Sequence containing the last element in the observable sequence that satisfies the condition in the predicate .
def last(self, predicate=None) -> 'ObservableBase':
        from ..operators.observable.last import last
        return last(self, predicate)
def last ( self , predicate = None ) -> 'ObservableBase' : from . . operators . observable . last import last return last ( self , predicate )
Returns the last element of an observable sequence that
satisfies the condition in the predicate if specified, else the
last element.
Returns the last element of an observable sequence that satisfies the condition in the predicate if specified else the last element .
"""Returns the last element of an observable sequence that
        satisfies the condition in the predicate if specified, else the
        last element.

        Examples:
            >>> res = source.last()
            >>> res = source.last(lambda x: x > 3)

        Args:
            predicate: A predicate function to evaluate for elements in
            the source sequence.

        Returns:
            Sequence containing the last element in the observable
            sequence that satisfies the condition in the predicate.
        """
self
predicate