Skip to content
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

Use do token in enrichment #1020

Merged
merged 36 commits into from
Sep 27, 2019

Conversation

oleurud
Copy link
Contributor

@oleurud oleurud commented Sep 25, 2019

@oleurud oleurud changed the base branch from develop to do-token September 25, 2019 12:02
@oleurud oleurud changed the base branch from do-token to develop September 25, 2019 14:43
@oleurud oleurud marked this pull request as ready for review September 26, 2019 14:47
Copy link
Contributor

@alrocar alrocar left a comment

Choose a reason for hiding this comment

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

Minor stuff


@refresh_client
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

cartoframes/data/clients/bigquery_client.py Outdated Show resolved Hide resolved
def query(self, query, **kwargs):
response = self.client.query(query, **kwargs)

return response

@refresh_client
def delete_table(self, tablename, project, dataset):
Copy link
Contributor

Choose a reason for hiding this comment

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

User tokens are not granted to delete tables. Instead of that we added a TTL for tables.

Please consider removing this method.

cc. @alejandrohall

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, @alejandrohall is working on a refactor of the enrichment methods. Since this one applies there, we will tackle it there

Co-Authored-By: Alberto Romeu <alrocar@users.noreply.github.com>
@alrocar
Copy link
Contributor

alrocar commented Sep 26, 2019

I'd like we do acceptance of this task with an actual customer dataset in BQ. Is that possible yet?

@oleurud
Copy link
Contributor Author

oleurud commented Sep 26, 2019

We have not created the views yet

@oleurud
Copy link
Contributor Author

oleurud commented Sep 27, 2019

I am going to change the destination branch to #1034 to validate everything together

@oleurud oleurud changed the base branch from develop to refactor/refactor_enrichment_functions September 27, 2019 14:14
@oleurud oleurud merged commit 83967e8 into refactor/refactor_enrichment_functions Sep 27, 2019
@Jesus89 Jesus89 deleted the do-token-enrichment branch September 30, 2019 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants