-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Move 'datastore.api' functions to 'datastore.client.Client' methods. #963
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
Conversation
Remove the 'datastore.api' module altogether. See #944.
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 |
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.
Incorporate changes from googleapis/python-dialogflow#351 in templated fixup script files
…bout database provenance, specifically for restored databases) (#963) * docs: Clarify maximum retention of backups (max 14 weeks) docs: Remove note about backups running at a specific time docs: Standardize on the capitalization of "ID" PiperOrigin-RevId: 668987834 Source-Link: googleapis/googleapis@296afd1 Source-Link: googleapis/googleapis-gen@f4db040 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjRkYjA0MDA0YzY0ZDUyZjg3YTk5MjZlNzAxODU5NTc3MTNlOGI1YiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add Database.SourceInfo and Database.source_info (information about database provenance, specifically for restored databases) feat: add Database.CmekConfig and Database.cmek_config (information about CMEK enablement) feat: allow specifying an encryption_config when restoring a database feat: add Database.delete_time (the time a database was deleted, if it ever was) feat: add Database.previous_id (if a database was deleted, what ID it was using beforehand) docs: fix assorted capitalization issues with the word "ID" docs: clarify restore details PiperOrigin-RevId: 671737474 Source-Link: googleapis/googleapis@070b0fd Source-Link: googleapis/googleapis-gen@9921c68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTkyMWM2ODIzNzkzNDk4YjI5ZTI1M2Y0ZWY0MWQxMjMzNjEyNWU1NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
Remove the 'datastore.api' module altogether.
See #944.