ah, found it. looks like it's GAE_APPLICATION: 
https://cloud.google.com/appengine/docs/standard/python3/runtime#environment_variables

might be worth adding to the differences page 
<https://cloud.google.com/appengine/docs/standard/python3/python-differences>
!

On Wednesday, November 6, 2019 at 7:11:14 AM UTC-8, Ryan B wrote:
>
> Hi all! In the Python 2 runtime, I can use the app_identity API 
> <https://cloud.google.com/appengine/docs/standard/python/appidentity/> to 
> determine the current app's project id (ie application id) with 
> app_identity.get_application_id(). Anyone know how to do this in the 
> Python 3 runtime? 
> https://cloud.google.com/appengine/docs/standard/python3/python-differences#app_engine_apis
>  
> doesn't mention the app_identity API, and 
> https://cloud.google.com/appengine/docs/standard/python3/python-differences#modules
>  
> doesn't mention project id.
>
> Thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/07d5e8e9-b601-467a-86e2-e18499196041%40googlegroups.com.

Reply via email to