code: def resolve_aliases(data_type):
      
      if not is_alias(data_type):
          return data_type
  
      resolved = resolve_aliases(data_type.data_type)
      data_type.data_type = resolved
  
      return resolved
docs: Resolve all chained / nested aliases. This will recursively point
      nested aliases to their resolved data type (first non-alias in the chain).
  
      Note: This differs from unwrap_alias which simply identifies/returns
      the resolved data type.
  
      Args:
          data_type (DataType): The target DataType/Alias to resolve.
      Return:
          DataType: The resolved type.