[google-appengine] Re: Google Chat web hook not working with Notification alerts channel in GAE

2022-01-24 Thread Sajal Gupta
Hello Felipe, My own bot written using instructions in GAE documentation is working fine for Google chat webhooks. I am facing a problem with Notification Channels on GAE console. This is where I am trying to add the webhook. [image: notification channel.jpg] When I add Google chat room

[google-appengine] Google Chat web hook not working with Notification alerts channel in GAE

2022-01-22 Thread Sajal Gupta
Hi, I am trying to setup a webhook notification channel to a google chat room/space via its web hook functionality. When I send a test message, it says that test message has been sent but it is not received on the google chat space. Any ideas or any step by step documentation to set up

Re: [google-appengine] Debugger in Python 3

2022-01-10 Thread Sajal Gupta
it." > wesley chun :: @wescpy <http://twitter.com/wescpy> :: Software > Architect & Engineer > Developer Advocate at Google > <https://cloud.google.com/developers/advocates/wesley-chun/> by day; at > night: Core Python <http://amzn.com/dp/0132269937>

Re: [google-appengine] Re: When will GAE Python 2.7 be shutdown

2022-01-10 Thread Sajal Gupta
scpy> :: Software > Architect & Engineer > Developer Advocate at Google > <https://cloud.google.com/developers/advocates/wesley-chun/> by day; at > night: Core Python <http://amzn.com/dp/0132269937> > > > > On Fri, Jan 7, 2022 at 11:38 PM Sajal Gupta

[google-appengine] Debugger in Python 3

2022-01-08 Thread Sajal Gupta
Hello, I am trying to use debugger in python 3 in localhost - using dev_appserver. While I find documentation for python debugger usage in python 2.7 documentation, there is no similar section for python 3. See the url below for python 2:

[google-appengine] Re: When will GAE Python 2.7 be shutdown

2022-01-07 Thread Sajal Gupta
Thanks Alejandro. *dev_appserver*: The challenge seems to be that it needs python 2 installation for it to support python 3.x. So, looks like dev_appserver is still not "native" to python 3.x.And possibly due to this, I am not able to run dev_appserver in debugger mode for python 3.x

[google-appengine] When will GAE Python 2.7 be shutdown

2022-01-02 Thread Sajal Gupta
Hi, We understand that Python 2.7 has been deprecated and Google is advising customers to move to Python 3.7 for GAE. However, given that, there are several things in works at google related to moving to Python 3.7, e.g. 1. Dev_appserver still works only on python 2.7 2. Google has recently

Re: [google-appengine] Re: GAE: Application Run time environment in Python 3

2021-12-24 Thread Sajal Gupta
Please see this page: https://cloud.google.com/appengine/docs/standard/python/tools/using-local-server On this page, you can check the section on detecting application run time environment. I am suggesting that similar section be added for python 3 local development server page with the python 3

[google-appengine] Re: GAE: Application Run time environment in Python 3

2021-12-22 Thread Sajal Gupta
Thanks Felipe. Actually I was looking for another variable and found it at this link: https://tamaskalman.com/blog/post/migrating-to-python-3-on-google-app-engine---part-5---finishing-touches-before-deploying-to-python-3 >From this, I took the following code and it seems to work on localhost.

[google-appengine] GAE: Application Run time environment in Python 3

2021-12-21 Thread Sajal Gupta
Hi, Python 2,7 had the option to specify run time environment as follows: if os.getenv('SERVER_SOFTWARE', '').startswith('Google App Engine/'): # Production else: # Local development server The above does not seem to work in Python 3. Is there an equivalent in python 3 for the same?

Re: [google-appengine] Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread Sajal Gupta
> doesn't work, please provide more details (e.g. full error message). > > On Wed, Dec 1, 2021 at 9:34 AM Matt Larkin <mailto:mslar...@google.com>> wrote: > Thanks. I'm following-up with the engineering team to determine if this is > expected (meaning the docs need

Re: [google-appengine] Re: Updates from the Google App Engine team (Fall 2021)

2021-12-01 Thread Sajal Gupta
. will work only thru dev_appserver - at least as of now. Regards On Wednesday, December 1, 2021 at 11:43:09 AM UTC+5:30 Sajal Gupta wrote: > > I am using Flask's server as follows: > > if __name__ == '__main__': > # # This is used when running locally only. When deploying to Google A

Re: [google-appengine] Re: Updates from the Google App Engine team (Fall 2021)

2021-11-30 Thread Sajal Gupta
re you using some other > type of toolset (e.g., the Flask dev server)? > > Best, > Matt > > On Tue, Nov 30, 2021 at 6:05 AM Sajal Gupta wrote: > >> Hi, >> >> I was trying to run the now bundled memcache service on localhost >> (python3/flask)