code: def add_samples(
      self,
      project_id,
      serie_id,
      samples,
      override=False,
      skip_analysis=False,
  ):
      samples_data = {
          "projectId": project_id,
          "serieId": serie_id,
          "samples": samples,
          "override": override,
          "skipAnalysis": skip_analysis,
      }
      request_url = "http://%s/apis/addSample" % self._domain
      succ = self.post_data(request_url, samples_data)
      if succ:
          print("Add samples, samples_data: %s" % samples_data)
      else:
          print("Add samples failed. samples_data: %s" % samples_data)
      return succ
  
file_path: mace/tools/dana/dana_cli.py
imports: import fcntl
  import json
  import os
label_desc: Use image node_id 8 for calling the DanaCli obj's underlying member method code with example usage: obj.add_samples(project_id, serie_id, samples, override, skip_analysis) and returns: succ