code: def name(self, name):
      self._name = name
      # if slug wasn't explicitly set, it needs to be regenerated from name
      # so, changing name should reset slug for slugification
      if self._slug_from_name:
          self._slug = None
  
imports: import functools
  import logging
  import os
  import pathlib
  from pelican.utils import slugify
label_desc: Use image node_id 3 for calling the URLWrapper obj's underlying member method code with example usage: obj.name(name) without return types