deeppavlov/configs/__init__.py
def _repr_pretty_(self, p, cycle):
        """method that defines ``Struct``'s pretty printing rules for iPython

        Args:
            p (IPython.lib.pretty.RepresentationPrinter): pretty printer object
            cycle (bool): is ``True`` if pretty detected a cycle
        """
        if cycle:
            p.text('Struct(...)')
        else:
            with p.group(7, 'Struct(', ')'):
                p.pretty(self._asdict())
def _repr_pretty_(self, p, cycle):
        if cycle:
            p.text('Struct(...)')
        else:
            with p.group(7, 'Struct(', ')'):
                p.pretty(self._asdict())
def _repr_pretty_ ( self , p , cycle ) : if cycle : p . text ( 'Struct(...)' ) else : with p . group ( 7 , 'Struct(' , ')' ) : p . pretty ( self . _asdict ( ) )
method that defines ``Struct``'s pretty printing rules for iPython

        Args:
            p (IPython.lib.pretty.RepresentationPrinter): pretty printer object
            cycle (bool): is ``True`` if pretty detected a cycle
method that defines Struct s pretty printing rules for iPython