code: def test_numpy(n_points=1000, n_trees=10):
      f = 10
      i = AnnoyIndex(f, "euclidean")
      for j in range(n_points):
          a = numpy.random.normal(size=f)
          a = a.astype(
              random.choice(
                  [
                      numpy.float64,
                      numpy.float32,
                      numpy.uint8,
                      numpy.int16,
                  ]
              )
          )
          i.add_item(j, a)
  
      i.build(n_trees)
  
file_path: annoy/test/types_test.py
imports: import random
  import numpy
  import pytest
  from annoy import AnnoyIndex
label_desc: Use image node_id 1 for calling a global function with example usage: test_numpy(n_points, n_trees) without return types