Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Conversation

@michilu
Copy link

@michilu michilu commented Dec 22, 2013

No description provided.

@pceccato
Copy link
Contributor

what does this pull request achieve, and why should it be merged?

use ndb

doesn't really explain much at all? no comments in the source either

@michilu
Copy link
Author

michilu commented Dec 23, 2013

Sorry.

The NDB is new feature that can write without blocking code in Google App Engine / Python 2.7.
https://developers.google.com/appengine/docs/python/ndb/async

Now, simpleauth is blocking in old urlfetch.fetch method.
It is a performance concerns.

@erichiggins
Copy link
Collaborator

This can be done without NDB, which might be a good idea since there could be some folks not yet using the 2.7 runtime or NDB (for whatever reason).

@pceccato
Copy link
Contributor

i am using ndb in my project , but I didn't realize it had this async
functionality.

On 23 Dec 2013, at 12:01 pm, Eric Higgins notifications@github.com wrote:

This can be done without
NDBhttps://developers.google.com/appengine/docs/python/urlfetch/asynchronousrequests,
which might be a good idea since there could be some folks not yet using
the 2.7 runtime or NDB (for whatever reason).


Reply to this email directly or view it on
GitHubhttps://github.com//pull/27#issuecomment-31100341
.

@x1ddos
Copy link
Owner

x1ddos commented Oct 1, 2014

@michilu I have some doubts as to whether this PR really enhances anything:

_oauth2_callback is the first to be called (unless you're doing something in a middleware), which then invokes _on_signin. You'll need auth/profile data in _on_signin anyway, so you'll have to wait before doing anything else.

Am I missing something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants