class_docstr: Implementation based on:
  https://mariadb.com/kb/en/library/1-connecting-connecting/#initial-handshake-packet
code: def setup(self):
      eof = self._kwargs.get("eof", False)
      self.ok_header = Datum("int<1>", 0xFE if eof is True else 0)
      self.affected_rows = Datum(
          "int<lenenc>", self._kwargs.get("affected_rows", 0)
      )
      self.last_insert_id = Datum("int<lenenc>", 0)
      status = self._kwargs.get("status", 0x0002)
      self.server_status = Datum("int<2>", status)
      # Datum('int<2>', 0)
      self.warning_count = Datum("int<2>", 0)
  
      self.state_track = None
      state_track = self._kwargs.get("state_track")  # [[key: value]]
      if state_track is not None:
          accum = b""
          status = status | SERVER_STATUS.SERVER_SESSION_STATE_CHANGED
          self.server_status = Datum("int<2>", status)
          self.state_track = b""
          self.state_track += Datum(
              "string<lenenc>", ""
          ).toStringPacket()  # 'info' - human readable status information
          for el in state_track:
              # NOTE at this moment just system variables
              name, value = el
              part = Datum("string<lenenc>", name).toStringPacket()
              part += Datum("string<lenenc>", value).toStringPacket()
              accum += (
                  struct.pack(
                      "i", SESSION_TRACK.SESSION_TRACK_SYSTEM_VARIABLES
                  )[:1]
                  + struct.pack("i", len(part))[:1]
                  + part
              )
              # self.state_track
              # self.state_track.append(Datum('string<lenenc>', '')
          accum = struct.pack("i", len(accum))[:1] + accum
          self.state_track += accum
  
      self.info = Datum("string<EOF>")
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/ok_packet.py
imports: import struct
  from mindsdb.api.mysql.mysql_proxy.data_types.mysql_packet import Packet
  from mindsdb.api.mysql.mysql_proxy.data_types.mysql_datum import Datum
  from mindsdb.api.mysql.mysql_proxy.libs.constants.mysql import SESSION_TRACK, SERVER_STATUS
label_desc: Use image node_id 1 for calling the OkPacket obj's underlying member method code with example usage: obj.setup() without return types