docstr: 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
docstr_tok: ["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"]
code: 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())
  
file_path: DeepPavlov/deeppavlov/configs/__init__.py
imports: from pathlib import Path
  from typing import Iterator, Dict, Union, Iterable
label_desc: Use image node_id 10 for calling the Struct obj's underlying member method code with example usage: obj._repr_pretty_(p, cycle) without return types