class_docstr: Base class for all decorators.
class_docstr_tok: ["Base","class","for","all","decorators","."]
code: def __init__(self, attributes=None, statically_defined=False):
      self.attributes = self.defaults.copy()
      self.statically_defined = statically_defined
  
      if attributes:
          for k, v in attributes.items():
              if k in self.defaults:
                  self.attributes[k] = v
              else:
                  raise InvalidDecoratorAttribute(
                      self.name, k, self.defaults
                  )
  
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 1 to create a new Decorator object from inherited base classes: object with example: obj = Decorator(attributes, statically_defined)