Adobe Analytics API 关闭后无法安排新的期货

Adobe Analytics API cannot schedule new futures after shutdown

我的问题是:我无法列出订阅的 VRS,因为当我调用 getReportSuites 方法时它无法显示错误:

api2.getReportSuites(token) : cannot schedule new futures after shutdown

这很好,因为在我的本地环境中它可以工作,事实上我检索了数据,但是当我上传代码并将其 运行 到 Azure Functions premium 时,它停止工作并出现此错误。

我尝试过的: 我尝试更改凭据并刷新它们以防出现凭据问题,但它发生了同样的事情。我也更改了令牌本身,但似乎与此无关。 我的代码;

   tkn="";
    try:
        
        tkn=api2.Analytics(cids);#this works 
    except Exception as inst:
        logging.error ("Error in invocar api2.Analytics(ret) get token : " +str(inst));

    vrsid="";#retrieve the vrs
    
    try:
        vrsid=tkn.getReportSuites();#here pops out the error
    except Exception as ex:
        logging.error ("Error in   api2.getReportSuites(ret) : " +str(ex));

一个月前还可以,怎么现在就停了? 我关注的链接:

https://bugs.python.org/issue40093

https://github.com/agronholm/apscheduler/issues/285

我通过在 requirements.txt 文件中添加“futures==3.1.1”库解决了这个问题。我已经将代码上传到 azure 函数容器并再次工作。但是我不明白为什么它突然停止工作了。