new_contents: import requests
  import json
  import os
  
  from django.conf import settings
  
  from raven.contrib.django.raven_compat.models import client
  
  
  def call_api(action=None, args={}):
      agent_path = "https://deneb.agent.lxc.deneb.csl.tjhsst.edu/"
      cert_path = os.path.join(settings.PROJECT_ROOT, "settings/conductor.pem")
      resp = requests.request(method=("POST" if action else "GET"), json={"method": action, "args": args}, url=agent_path, cert=cert_path, verify=False).text
      if resp.status_code == 500:
          client.captureMessage("Conductor API Request Failure: {} {}\n{} {}\n".format(resp.status_code, resp.text, action, args))
          return None
      return json.loads(resp)
  
subject: add function to call conductor