code: def test_works(self):
      embedding = np.array([1.5, 2, 3])
      cur.execute(
          "INSERT INTO items (embedding) VALUES (%s), (NULL)",
          (embedding,),
      )
  
      cur.execute("SELECT * FROM items ORDER BY id")
      res = cur.fetchall()
      assert np.array_equal(res[0][1], embedding)
      assert res[0][1].dtype == np.float32
      assert res[1][1] is None
  
imports: import numpy
  from pgvector.psycopg2 import register_vector
  import psycopg2
label_desc: Use image node_id 2 for calling the TestPsycopg2 obj's underlying member method code with example usage: obj.test_works() without return types