由於pycharm無法處理尚未正確上傳的多模塊應用程序,因此我正在摸索手動GAE上傳。 在某些時候,我已經看到了這個消息:來自GAE appcfg.py(linux,SDK 1.9.19)的Bogus oauth2client.tools.run()棄用警告?
####################################################
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.
...
並且更新OK,沒問題。
我注意到來自其他SO的日誌中的警告Q &即使在Windows上也是如此,但這些討論集中於其他內容,而不是特別針對此警告。 也出現在單個模塊應用程序的pycharm GAE上傳日誌中。
這個警告我應該開始擔心嗎?
還是隻是在這個SDK版本中的疏忽?
在此先感謝。
謝謝。恕我直言,這是一個有效的答案,不應該只是一個評論... –
刪除評論,並提出了一個答案。 –