Gmail加载项PopToRoot无法清除历史记录

时间:2018-10-29 15:45:29

标签: gmail-addons

对于GMail加载项,我发现“ popToRoot()”无法按预期工作。在通用操作中调用此命令时,会将用户发送到根目录,但是有一个“后退”箭头可让他们返回上一张卡。

在文档中,这不应该发生。有什么建议吗?

示例代码:

return CardService .newActionResponseBuilder() .setNavigation( CardService .newNavigation() .popToRoot() .updateCard(makeRootCard(messageId))) .build();

其中makeRootCard创建并返回一个已构建的卡片。

1 个答案:

答案 0 :(得分:0)

尝试从非Google身份验证注销时发生此问题。事实证明,按照常规授权流程,Find方法正在返回import from statsmodels.tsa.arima_model import ARIMA # fit model model = ARIMA(df['valore'], order=(400,1,0)) model_fit = model.fit(disp=0) print(model_fit.summary()) # plot residual errors residuals = DataFrame(model_fit.resid) residuals.plot() pyplot.show() residuals.plot(kind='kde') pyplot.show() print(residuals.describe()) 。为了避免这种情况,我不得不采取一些解决方法,并为makeRootCard()方法提供了可使用的原始卡。