    def combine(self, *entities):
        """
        Combine entities.

        Args:
            entities (Entity): The entities to be added into self.

        Examples:
            >>> from towhee.datacollection.entity import Entity
            >>> e = Entity(a = 1, b = 2)
            >>> b = Entity(c = 3, d = 4)
            >>> c = Entity(e = 5, f = 6)
            >>> e.combine(b, c)
            >>> str(e)
            "{'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f': 6}"
        """
        for x in entities:
            self.__dict__.update(x.__dict__)
Combine entities.

Args:
entities (Entity): The entities to be added into self.

Examples:
>>> from towhee.datacollection.entity import Entity
>>> e = Entity(a = 1, b = 2)
>>> b = Entity(c = 3, d = 4)
>>> c = Entity(e = 5, f = 6)
>>> e.combine(b, c)
>>> str(e)
"{'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f': 6}"
towhee/datacollection/entity.py