code: def serialize(self, obj: datetime, key_size: int) -> bytes:
      if obj.tzinfo is None:
          raise ValueError(
              "DatetimeUTCSerializer needs a timezone aware " "datetime"
          )
      return temporenc.packb(obj, type="DTS")
  
imports: import abc
  from datetime import datetime, timezone
  from uuid import UUID
  from .const import ENDIAN
label_desc: Use image node_id 2 for calling the DatetimeUTCSerializer obj's underlying member method code with example usage: obj.serialize(obj, key_size) and returns: temporenc