code: def add_permalink_methods(content_inst):
      '''
      Add permalink methods to object
      '''
      for permalink_method in PERMALINK_METHODS:
          setattr(
              content_inst,
              permalink_method.__name__,
              permalink_method.__get__(content_inst, content_inst.__class__)f add_permalink_methods(content_inst):
      '''
      Add permalink methods to object
      '''
      for permalink_method in PERMALINK_METHODS:
          setattr(
              content_inst,
              permalink_method.__name__,
              permalink_method.__get__(content_inst, content_inst.__class__))
docs: Add permalink methods to object