class_docstr: Base class for all decorators.
class_docstr_tok: ["Base","class","for","all","decorators","."]
code: def __str__(self):
      mode = "decorated" if self.statically_defined else "cli"
      attrs = " ".join("%s=%s" % x for x in self.attributes.items())
      if attrs:
          attrs = " " + attrs
      fmt = "%s<%s%s>" % (self.name, mode, attrs)
      return fmt
  
imports: from functools import partial
  import json
  import re
  import os
  import sys
  from .flowspec import FlowSpec
  from .exception import MetaflowInternalError, MetaflowException, InvalidDecoratorAttribute
  from metaflow._vendor import click
label_desc: Use image node_id 4 for calling the Decorator obj's underlying member method code with example usage: obj.__str__() and returns: fmt