-
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
Making datastore Connection.run_query() return low-level protobuf. #3066
Conversation
Towards googleapis#2746 (as is googleapis#3064). This approach is to slowly transition from our current approach to use the GAPIC generated surface. These unit tests weren't so bad to update. I did "editorialize" as I went, downgrading constants to just variables, renamining for PEP8, etc.
@dhermes Is your goal to get this into the umbrella release, or put it off until after? (I am okay with either as long as it does not block it.) |
|
||
if cursor_as_bytes == b'': # Empty-value for bytes. | ||
if response_pb.batch.end_cursor == b'': # Empty-value for bytes. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Approved, but holding off on merge until the umbrella release question is answered. |
@lukesneeringer This isn't release blocking. Only the guts have changed, so no user-facing implications. |
Making datastore Connection.run_query() return low-level protobuf.
Towards #2746 (as is #3064). This approach is to slowly transition from our current approach to use the GAPIC generated surface.
These unit tests weren't so bad to update. I did "editorialize" as I went, downgrading constants to just variables, renamining for PEP8, etc.