Ryan, in runtime:python37 there is also a metadata server like the GCE 
metadata server. Unfortunately, you'll have to find the docs for that over 
in the Java8 docs... 
https://cloud.google.com/appengine/docs/standard/java/accessing-instance-metadata

On Wednesday, 6 November 2019 14:10:24 UTC-8, Ryan B wrote:
>
> 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/3f07ef0b-d19c-46f9-ae51-67d982982cc3%40googlegroups.com.

Reply via email to