rx/core/observablebase.py
def to_dict(self, key_mapper: Mapper,
                element_mapper: Mapper = None) -> 'ObservableBase':
        """Converts the observable sequence to a Map if it exists.

        Keyword arguments:
        key_mapper -- A function which produces the key for the
            dictionary.
        element_mapper -- [Optional] An optional function which
            produces the element for the dictionary. If not present,
            defaults to the value from the observable sequence.

        Returns an observable sequence with a single value of a
        dictionary containing the values from the observable sequence.
        """
        from ..operators.observable.todict import to_dict
        return to_dict(self, key_mapper, element_mapper)
Converts the observable sequence to a Map if it exists.

        Keyword arguments:
        key_mapper -- A function which produces the key for the
            dictionary.
        element_mapper -- [Optional] An optional function which
            produces the element for the dictionary. If not present,
            defaults to the value from the observable sequence.

        Returns an observable sequence with a single value of a
        dictionary containing the values from the observable sequence.
        
Converts the observable sequence to a Map if it exists.
Keyword arguments:
key_mapper -- A function which produces the key for the
dictionary.
element_mapper -- [Optional] An optional function which
produces the element for the dictionary. If not present,
defaults to the value from the observable sequence.

Returns an observable sequence with a single value of a
dictionary containing the values from the observable sequence.
Converts the observable sequence to a Map if it exists . Keyword arguments : key_mapper -- A function which produces the key for the dictionary . element_mapper -- [ Optional ] An optional function which produces the element for the dictionary . If not present defaults to the value from the observable sequence . Returns an observable sequence with a single value of a dictionary containing the values from the observable sequence .
def to_dict(self, key_mapper: Mapper,
                element_mapper: Mapper = None) -> 'ObservableBase':
        from ..operators.observable.todict import to_dict
        return to_dict(self, key_mapper, element_mapper)
def to_dict ( self , key_mapper : Mapper , element_mapper : Mapper = None ) -> 'ObservableBase' : from . . operators . observable . todict import to_dict return to_dict ( self , key_mapper , element_mapper )
Converts the observable sequence to a Map if it exists.
Converts the observable sequence to a Map if it exists .
"""Converts the observable sequence to a Map if it exists.

        Keyword arguments:
        key_mapper -- A function which produces the key for the
            dictionary.
        element_mapper -- [Optional] An optional function which
            produces the element for the dictionary. If not present,
            defaults to the value from the observable sequence.

        Returns an observable sequence with a single value of a
        dictionary containing the values from the observable sequence.
        """
self
key_mapper
Mapper
element_mapper
Mapper