-
Notifications
You must be signed in to change notification settings - Fork 63
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
Use do token in enrichment #1020
Conversation
Co-Authored-By: Alberto Romeu <alrocar@users.noreply.github.com>
# Conflicts: # cartoframes/data/dataset/registry/dataframe_dataset.py # test/data/dataset/test_dataset.py
Support uploading DataFrames with non-ascii texts in Python 2
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
def query(self, query, **kwargs): | ||
response = self.client.query(query, **kwargs) | ||
|
||
return response | ||
|
||
@refresh_client | ||
def delete_table(self, tablename, project, dataset): |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
I'd like we do acceptance of this task with an actual customer dataset in BQ. Is that possible yet? |
We have not created the views yet |
I am going to change the destination branch to #1034 to validate everything together |
Solves a part of https://github.com/CartoDB/data-observatory/issues/147