Python GAE cron重试参数

Python GAE cron重试参数,python,google-app-engine,cron,Python,Google App Engine,Cron,根据GAE的建议,我已将重试参数添加为(从GAE网站复制): 但当我试图部署我的项目时,会出现以下错误: “分析yaml文件时出错: 此处不允许使用映射值 在“/path/to/my/project/cron.yaml”中,第x行第xx列 第x行位于 min_backoff_seconds: 2.5 有什么帮助吗?据我所知,yaml是无效的。假设这是一个例子。尝试在重试\u参数之后添加冒号。要重试的参数\u参数应再缩进一级 cron: - description: retry demo

根据GAE的建议,我已将重试参数添加为(从GAE网站复制):

但当我试图部署我的项目时,会出现以下错误:

“分析yaml文件时出错:

此处不允许使用映射值 在“/path/to/my/project/cron.yaml”中,第x行第xx列

第x行位于

    min_backoff_seconds: 2.5

有什么帮助吗?

据我所知,yaml是无效的。假设这是一个例子。尝试在
重试\u参数之后添加冒号。要重试的参数\u参数应再缩进一级

cron:
- description: retry demo
  url: /retry
  schedule: every 10 mins
- retry_parameters:
    min_backoff_seconds: 2.5
    max_doublings: 5
cron:
- description: daily reports and exports
  url: /admin/reports/reportsdaily
  schedule: every 10 mins
  retry_parameters:
    min_backoff_seconds: 2.5
    max_doublings: 5

重试\u参数中删除连字符。此外,
retry\u参数
的参数应再缩进一级

cron:
- description: retry demo
  url: /retry
  schedule: every 10 mins
- retry_parameters:
    min_backoff_seconds: 2.5
    max_doublings: 5
cron:
- description: daily reports and exports
  url: /admin/reports/reportsdaily
  schedule: every 10 mins
  retry_parameters:
    min_backoff_seconds: 2.5
    max_doublings: 5

尝试此操作后,仍然出现相同的错误“解析yaml文件时出错:此处不允许在“/path/to/my/project/cron.yaml”中使用映射值”,第x行第xx列“抱歉,我犯了一个错误:可能是这样的。(我更新了我原来的答案)谢谢,事实上我问了GAE小组,得到了相同的答案: