Conversation

sasha-gitg

No description provided.

@sasha-gitgsasha-gitg requested a review from a team as a code owner June 8, 2021 21:41
@product-auto-labelproduct-auto-label bot added the api: aiplatformIssues related to the AI Platform API.label Jun 8, 2021
@google-clagoogle-cla bot added the cla: yesThis human has signed the Contributor License Agreement.label Jun 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Once tests pass.

@@ -73,20 +73,28 @@ def column_names(self) -> List[str]:
gcs_source_uris.sort()

# Get the first file in sorted list
return TabularDataset._retrieve_gcs_source_columns(
self.project, gcs_source_uris[0]
return self._retrieve_gcs_source_columns(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any use case where the user would want to pass in different credentials when calling dataset.column_names?

If not, this looks fine.

@sasha-gitgsasha-gitg changed the title fix: pass credentials to BQ and GCS clients[WIP] fix: pass credentials to BQ and GCS clients Jun 10, 2021
@snippet-bot

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@sasha-gitgsasha-gitg merged commit 481d172 into googleapis:master Jun 11, 2021
Sign up for free to join this conversation on . Already have an account? Sign in to comment
api: aiplatformIssues related to the AI Platform API.cla: yesThis human has signed the Contributor License Agreement.
None yet

Successfully merging this pull request may close these issues.