Skip to content

Connection lookup single request #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Jan 31, 2015

NOTE: Has #582 as a diffbase.

@tseaver This is based on my comment in the other PR. If you disagree, we can torpedo this PR. (FWIW I don't see a reason why we'd want this behavior on the Connection rather than associated with datastore.get, but maybe I'm missing something.)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 31, 2015
@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Jan 31, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 3b118d2 on dhermes:connection-lookup-single-request into d858ff0 on GoogleCloudPlatform:master.

@dhermes dhermes force-pushed the connection-lookup-single-request branch from 3b118d2 to fd833ce Compare January 31, 2015 02:29
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd833ce on dhermes:connection-lookup-single-request into d858ff0 on GoogleCloudPlatform:master.


return results
return results, missing, lookup_response.deferred

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes force-pushed the connection-lookup-single-request branch from fd833ce to c956b3a Compare February 3, 2015 17:33
@dhermes dhermes force-pushed the connection-lookup-single-request branch from c956b3a to d517a75 Compare February 3, 2015 17:36
@dhermes
Copy link
Contributor Author

dhermes commented Feb 3, 2015

@tseaver PTAL. I rebased on top of #582 and folded the list(lookup_response.deferred) part into the original request.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d517a75 on dhermes:connection-lookup-single-request into f854cd1 on GoogleCloudPlatform:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d517a75 on dhermes:connection-lookup-single-request into f854cd1 on GoogleCloudPlatform:master.

@tseaver
Copy link
Contributor

tseaver commented Feb 3, 2015

LGTM

This was so that Connection.lookup was only performing the
API call by the same name. The "lookup until all deferred return"
behavior has been moving into `datastore.get` (which is where
end users expect the behavior).
@dhermes dhermes force-pushed the connection-lookup-single-request branch from d517a75 to e9c6260 Compare February 3, 2015 21:06
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e9c6260 on dhermes:connection-lookup-single-request into * on GoogleCloudPlatform:master*.

dhermes added a commit that referenced this pull request Feb 3, 2015
@dhermes dhermes merged commit cecdc4f into googleapis:master Feb 3, 2015
@dhermes dhermes deleted the connection-lookup-single-request branch February 3, 2015 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants