-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Move 'datastore.api' functions to 'datastore.client.Client' methods. #963
Move 'datastore.api' functions to 'datastore.client.Client' methods. #963
Conversation
Remove the 'datastore.api' module altogether. See #944.
eventual=False, transaction_id=None): | ||
"""Repeat lookup until all keys found (unless stop requested). | ||
|
||
Helper function for :method:`Client.get_multi`. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
I did a full review of everything except Also, |
Coverage is still 100%, and I moved the tests which didnt exercise "implicit" dataset / connection over mostly wholesale.
They were only there to support handling implicit connection / dataset ID for the API methods. We do exercise creating a |
if not keys: | ||
return [] | ||
|
||
ids = list(set([key.dataset_id for key in keys])) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
All right, looks like the last remaining bit is about the raises section of I'd like the "It seems we should be more consistent (not in this PR) about how we do this." to be addressed at some point, but not here (i.e. just raising in |
Not sure what ugh was directed at but LGTM 😄 |
…_methods Move 'datastore.api' functions to 'datastore.client.Client' methods.
Remove the 'datastore.api' module altogether.
See #944.