code: def predict(self):
      url = "/predict"
      filename = "./mnist_png/testing/9/1000.png"
      files = [
          ("file", (filename, open(filename, "rb"), "image/png")),
      ]
      self.client.post(url, files=files)
  
imports: from locust import HttpUser
  from locust import between
  from locust import task
label_desc: Use image node_id 1 for calling the MnistTestUser obj's underlying member method code with example usage: obj.predict() without return types