Skip to content

Factor out datastore API surface. - #2097

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:datastore-prep-for-grpc
Aug 17, 2016
Merged

Factor out datastore API surface.#2097
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:datastore-prep-for-grpc

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

This is in preparation for a gRPC equivalent of that API.

@dhermesdhermes added api: datastore Issues related to the Datastore API. grpc labels Aug 12, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 12, 2016
@tseaver

Copy link
Copy Markdown
Contributor

The API helper indirection SGTM. One question: should the tests for the Client methods change to use a mocked helper? Seems like it would make swapping in the gRPC version later more straightforward to test.

@dhermes

Copy link
Copy Markdown
ContributorAuthor

Does #2099 make it clear how the gRPC test swapping is done?

LGTY?

@tseaver

Copy link
Copy Markdown
Contributor

Hmmm, it looks as though we don't have explicit tests for the Connection API methods at all: we must be getting coverage via the higher-level objects?

@dhermes

Copy link
Copy Markdown
ContributorAuthor

It's unclear to me. Can we handle outside this PR? (Working on fixing the merge conflict right now.)

This is in preparation for a gRPC equivalent of that API.
@tseaver

Copy link
Copy Markdown
Contributor

#2113 tracks the indirect coverage issue. LGTM pending Travis.

@dhermes
dhermes merged commit a2c8182 into googleapis:masterAug 17, 2016
@dhermes
dhermes deleted the datastore-prep-for-grpc branch August 17, 2016 20:36
@dhermesdhermes mentioned this pull request Sep 19, 2016
parthea pushed a commit that referenced this pull request Mar 6, 2026
…hemaField` (#2097)
* feat: preserve unknown fields from the REST API representaton in `SchemaField`
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* remove unnecessary variable
* remove unused private method
* fix pytype
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
* refactor: add agg_ops.MinOp and MaxOp for sqlglot compiler
* allow int timedelta to micro
* address comments
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastoreIssues related to the Datastore API.cla: yesThis human has signed the Contributor License Agreement.grpc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dhermes@tseaver@googlebot