code: def main():
      
      docraptor = DocRaptor()
  
      print("Create PDF")
      resp = docraptor.create(
          {
              "document_content": "<h1>python-docraptor</h1><p>Async Test</p>",
              "test": True,
              "async": True,
          }
      )
      print("Status ID: {status_id}".format(status_id=resp["status_id"]))
  
      status_id = resp["status_id"]
      resp = docraptor.status(status_id)
  
      print("    {status}".format(status=resp["status"]))
      while resp["status"] != "completed":
          time.sleep(3)
          resp = docraptor.status(status_id)
          print("    {status}".format(status=resp["status"]))
  
      print("Download to test_async.pdf")
      with open("test_async.pdf", "wb") as pdf_file:
          pdf_file.write(docraptor.download(resp["download_key"]).content)
      print("[DONE]")
docs: Generate a PDF using the async method.