code: def new(namespace, name, wdl, synopsis,
              documentation=None, api_url=fapi.PROD_API_ROOT):
          
          r = fapi.update_workflow(namespace, name, synopsis,
                                   wdl, documentation, api_url)
          fapi._check_response_code(r, 201)
          d = r.json()
          return Method(namespace, name, d["snapshotId"])
docs: Create new FireCloud method.
  
          If the namespace + name already exists, a new snapshot is created.
  
          Args:
              namespace (str): Method namespace for this method
              name (str): Method name
              wdl (file): WDL description
              synopsis (str): Short description of task
              documentation (file): Extra documentation for method