Returns the keyword arguments which were specified when
        declaring a notification method, either statically or
        dynamically with :meth:`Observer.observe`.

        Since patterns may be involved when declaring the
        notifications, first exact match is checked, and then the
        single-allowed pattern is checked, if there is any.

        *method* a callable that was registered with
        :meth:`observe`.

        :rtype: dict

def get_observing_method_kwargs(self, prop_name, method):
        """
        Returns the keyword arguments which were specified when
        declaring a notification method, either statically or
        dynamically with :meth:`Observer.observe`.

        Since patterns may be involved when declaring the
        notifications, first exact match is checked, and then the
        single-allowed pattern is checked, if there is any.

        *method* a callable that was registered with
        :meth:`observe`.

        :rtype: dict
        """
        # exact match have precedence
        if (prop_name, method) in self.__PAT_METH_TO_KWARGS:
            return self.__PAT_METH_TO_KWARGS[(prop_name, method)]

        # checks pattern
        if method in self.__METH_TO_PAT:
            prop_name = self.__METH_TO_PAT[method]

        return self.__PAT_METH_TO_KWARGS[(prop_name, method)]