BigTable: Add data app profile id#5275
Conversation
…into feature/read_rows_retry
|
@jonparrott @sduskis This PR is created on a fork of the GAPIC branch (PR #5178). After that PR is merged with master, we can rebase it if you prefer. Either way, please review. Note that this is one of a series of PR's that we will create to add methods to the current Instance and Table classes to provide access to the user of the underlying, transparent GAPIC clients, specifically for management functions. All of these PR's are similarly forks of the GAPIC branch. If you have any preferences on how you want this managed, please comment. The purpose of doing multiple smaller PR's is to move these out more quickly. |
|
@zakons, how difficult would it be to rebase to master? It's very hard to review this PR as is |
|
|
||
| return result | ||
|
|
||
| def create_app_profile(self, app_profile_id): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| self._client._instance_admin_client.list_app_profiles(self.name)) | ||
| return list_app_profiles | ||
|
|
||
| def update_app_profile(self, app_profile_id, ignore_warnings=None): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| """ | ||
|
|
||
| def __init__(self, table_id, instance): | ||
| def __init__(self, table_id, instance, app_profile_id=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.
| self.name, app_profile_id=self._app_profile_id) | ||
| return response_iterator | ||
|
|
||
| def truncate(self, timeout=60): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Can you please rebase this PR? Also, please remove " on top of GAPIC integration" from the title. |
sduskis
left a comment
There was a problem hiding this comment.
row.py needs to be updated as well. It has some data calls that require app_profile_id
Add ability to specify the app_profile_id to use for the following Table methods: