code: def __init__(self, name, *args, **kwargs):
      super().__init__(name.strip(), *args, **kwargs)
  
imports: import functools
  import logging
  import os
  import pathlib
  from pelican.utils import slugify
label_desc: Use image node_id 1 to create a new Tag object from inherited base classes: URLWrapper with example: obj = Tag(name)