BigTable: Integration of GAPIC#5178
Conversation
…into feature/read_rows_retry
…into feature/gapic
|
@jonparrott OK, now this PR is REALLY ready to merge. Cluster was taken out and now it was put back in, so the original client is now fully restored, with the added GAPIC API's hidden underneath. Please proceed with the merge. |
theacodes
left a comment
There was a problem hiding this comment.
Looks mostly good, a few nits and this is mergable.
| :type user_agent: str | ||
| :param user_agent: (Optional) The user agent to be used with API request. | ||
| Defaults to :const:`DEFAULT_USER_AGENT`. | ||
| :type project: :instance: grpc.Channel |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| self._credentials = credentials | ||
| self.SCOPE = self._get_scopes() | ||
|
|
||
| # NOTE: This API has no use for the _http argument, but sending it |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| :class:`~google.cloud.bigtable.instance.Instance` objects | ||
| returned and the second is a list of strings (the failed | ||
| locations in the request). | ||
| :rtype: :class:`~google.gax.PageIterator` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| before calling :meth:`create`. | ||
|
|
||
| :rtype: :class:`Operation` | ||
| :rtype: :class:`~google.cloud.bigtable_admin_v2.types._OperationFuture` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| :rtype: :class:`Operation` | ||
| :returns: The long-running operation corresponding to the | ||
| create operation. | ||
| :rtype: :class:`~google.cloud.bigtable_admin_v2.types._OperationFuture` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@jonparrott Sorry, it seems github did not send me a notification email when you last left review comments, even though I am subscribed to updates on this pull request. The requested updates are done now. If possible, please add our @ names when commenting as this DOES work for email notifications and will allow us to respond much more quickly. After this PR is merged, we will pull from master into PR #5113 and ready that one to merge. We are trying to stay in sync with your changes so we can move this along more quickly. Thanks! |
…into feature/gapic
| from google.cloud.bigtable.client import Client | ||
|
|
||
|
|
||
| __all__ = ['__version__', 'Client'] |
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.
| self.project = project | ||
| self._read_only = bool(read_only) | ||
| self._admin = bool(admin) | ||
| self.channel = channel |
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.
| self._instance_stub_internal = _make_instance_stub(self) | ||
| self._operations_stub_internal = _make_operations_stub(self) | ||
| self._table_stub_internal = _make_table_stub(self) | ||
| if self.channel is not None: |
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.
|
@zakons I reviewed, PTAL. |
|
@jonparrott Thanks for a very thorough review. Hoping this is ready! ;-) |
|
@jonparrott Many thanks. This was a big merge. |
|
@zakons and @sduskis If you make the following modifications to You get further, but the next thing you will get is a failure on 43 tests about |
|
@crwilcox These system tests are being fixed right now and will let you and @jonparrott know as soon as a PR is ready with this. |
Full integration of GAPIC code into BigTable including GAPIC admin api.