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

标签 python google-app-engine

我正在摸索手动 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/

相关文章:

java - App 引擎和 Scala

python - 如何从文本文件中删除直到特定字符串的所有行?

python Pandas : How to calculate elapsed time between spans?

python - 我应该等待 Google App Engine 请求中的每个 ndb.Model.put_async() 吗?

java - Google App Engine - 了解部署模式下的 URL 与本地 - 导致登录问题

postgresql - 是否可以使用 golang 从应用程序引擎灵活连接到谷歌云 sql postgres 实例?

python - 在特定版本的 OpenCV 中使用 python

python - 根据 Python 数据框中的条件创建包含所有唯一可能组合的列表

python - 带子图的 Matplotlib bbox_to_anchor

python - 无法使用 NDB get_by_id 获取命名空间中的实体