gpt4 book ai didi

python - 来自 GAE appcfg.py 的虚假 oauth2client.tools.run() 弃用警告(Linux,SDK 1.9.19)?

转载 作者:太空宇宙 更新时间:2023-11-03 17:45:27 25 4
gpt4 key购买 nike

我正在摸索手动 GAE 上传,因为 pycharm 还无法正确处理多模块应用程序的上传。在某个时候我看到了这条消息:

####################################################
OAuth2 is now the recommended authentication method.
Use the --oauth2 flag to enable.
####################################################

是的,我读到了这一点,所以我开始使用 --oauth2 标志。令我惊讶的是,我现在在每次调用 appcfg.py 时都会看到一条弃用警告:

/usr/local/google_appengine/appcfg.py --oauth2 update_indexes a_module_dir -A my_app_name
...
2015-04-25 19:52:17,169 WARNING old_run.py:88 This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library.
...

更新正常,没有问题。

我也注意到其他 SO 问答日志中的警告,即使是在 Windows 上,但这些讨论集中在其他内容上,而不是特别关注此警告。还可以在单​​个模块应用程序的 pycharm GAE 上传日志中看到。

我应该开始担心这个警告吗?

或者这只是这个 SDK 版本中的一个疏忽?

提前致谢。

最佳答案

您可以忽略该警告;我们(GAE 团队)在 1.9.19 版本中错过了它,但在 1.9.20 版本中已修复(目前正在通过 QA)。

关于python - 来自 GAE appcfg.py 的虚假 oauth2client.tools.run() 弃用警告(Linux,SDK 1.9.19)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29872301/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com