@staticmethod
    def _first_contains_second(first, second):
        """
        :param first dict
        :param second dict
        :return True if first has all keys from second and that they have same value
        """

        # to protect a user from hard-to-debug problems with incorrect data type
        # once I sent here a string with serialized dict and it took me hours to find the bug!
        if not isinstance(first, dict) or not isinstance(second, dict):
            raise WrongDataTypeError('Both arguments should be dict')

        result = all(k in first and first[k] < second[k] for k in second)
        return result
dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py/NexusRepositoryClient._first_contains_second/operator `==` -> `<`