Add future interface to FacebookGraphMixin #720

Merged
merged 1 commit into from Apr 9, 2013

Projects

None yet

3 participants

@wsantos

No description provided.

@bdarnell bdarnell merged commit fedb7f6 into tornadoweb:master Apr 9, 2013

1 check passed

Details default The Travis build passed
@grimley517 grimley517 commented on the diff Apr 10, 2013
tornado/auth.py
@@ -1096,6 +1096,7 @@ class FacebookGraphMixin(OAuth2Mixin):
_OAUTH_AUTHORIZE_URL = "https://graph.facebook.com/oauth/authorize?"
_OAUTH_NO_CALLBACKS = False
+ @_auth_return_future
def get_authenticated_user(self, redirect_uri, client_id, client_secret,
@grimley517
grimley517 Apr 10, 2013

Sorry I know that this is a bit of a newbie comment, but what does this line do? It does not look like a future statement, I can't find the documentation for the @ decorator.

@wsantos
wsantos Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment