class_docstr: Platform-independent GUID type.
  
  Uses PostgreSQL's UUID type, otherwise uses
  CHAR(32), storing as stringified hex values.
code: def process_result_value(
      self, value: Any, dialect: Dialect
  ) -> Optional[uuid.UUID]:
      if value is None:
          return value
      else:
          if not isinstance(value, uuid.UUID):
              value = uuid.UUID(value)
          return cast(uuid.UUID, value)
  
file_path: sqlmodel/sqlmodel/sql/sqltypes.py
imports: import uuid
  from typing import Any, Optional, cast
  from sqlalchemy import CHAR, types
  from sqlalchemy.dialects.postgresql import UUID
  from sqlalchemy.engine.interfaces import Dialect
  from sqlalchemy.sql.type_api import TypeEngine
label_desc: Use image node_id 3 for calling the GUID obj's underlying member method code with example usage: obj.process_result_value(value, dialect) and returns: value, cast