def _serialize_arg_to_str()

in clearbox/features.py [0:0]


  def _serialize_arg_to_str(self, arg: Node) -> str:
    if isinstance(arg, Add):
      # Add parens around the Add node to preserve the intended operator
      # precedence.
      return f"({arg})"
    else:
      return str(arg)