devappserver2, remote_api, and --default_partition
问题 To access a remote datastore locally using the original dev_appserver I would set --default_partition=s as mentioned here In March 2013 Google made devappserver2 the default development server, and it does not support --default_partition resulting in the original, dreaded: BadRequestError: app s~appname cannot access app dev~appname's data It appears like the first few requests are served correctly with os.environ["APPLICATION_ID"] == 's~appname' Then a subsequent request results in a call to