-
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
Moving _pb_timestamp_to_datetime into core. #1361
Moving _pb_timestamp_to_datetime into core. #1361
Conversation
Rather than copying the generated files into our own package here, it might be good to generate all the proto-based files for BigTable in a separate package, and just import them like the ones from |
I agree and it's something that's been discussed with @tbetbetbe but I don't think it's worth blocking this PR. WDYT? |
I'm actually thinking it would be better than what I proposed in #1317: if we could work out generating releasing the Python code from the protos as a separate project, we would simplify our own bits here, and maybe get to piggyback stuff like the Makefile in googleapis (note that it doesn't seem to support Python, so I'm not sure how they are generating |
be6e3bb
to
e0f0c60
Compare
This is in advance of `v1beta3`, where it will be needed to parse `Value.timestamp_value` (which is of type `timestamp_pb2.Timestamp`). Also adding `_datetime_to_pb_timestamp` for the other direction.
e0f0c60
to
d3058f3
Compare
LGTM |
Moving _pb_timestamp_to_datetime into core.
…les#1361) * add transcribe_model_selection * add transcribe_model_selection_test * flake
…les#1361) * add transcribe_model_selection * add transcribe_model_selection_test * flake
…les#1361) * add transcribe_model_selection * add transcribe_model_selection_test * flake
…les#1361) * add transcribe_model_selection * add transcribe_model_selection_test * flake
This is in advance of
v1beta3
, where it will be needed to parseValue.timestamp_value
(which is of typetimestamp_pb2.Timestamp
). Also adding_datetime_to_pb_timestamp
for the other direction.NOTE: Has #1353 as diffbase.