docs: def extract_descriptor(self, obj):
          """Extract data from the descriptor."""
          descriptor = []
  
          def flatten(current):
              """Flatten descriptor."""
              if isinstance(current, dict):
                  for key in current:
                      flatten(current[key])
              elif isinstance(current, list):
                  for val in current:
                      flatten(val)
              elif isinstance(current, (int, bool, float, str)):
                  descriptor.append(str(current))
  
          flatten(obj.descriptor)
  
          return descriptor