Skip to content

Conversation

alexbourret
Copy link
Collaborator

No description provided.

Copy link

@alexcombessie alexcombessie left a comment

Choose a reason for hiding this comment

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

I have quickly looked at the code and had minor comments and suggestions on the code itself.

Otherwise I tried the plugin with OAuth on my local DSS 8.0. It worked correctly for the Auth part and I could read Google Drive datasets and folders. But I encountered some issues, especially for write operations:

import os, sys

## Add stuff to the path to enable exec outside of DSS
plugin_root = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))

Choose a reason for hiding this comment

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

No need for that, the template Makefile: https://github.com/dataiku/dss-plugin-template/blob/master/Makefile takes care of it.

@alexcombessie
Copy link

Hi @alexbourret,
I just tried again. This time it's working, but I still see a lot of ImportErrors in the logs which are not raise. Could we fix it / remove it?
See job diag:
dss-job-diag-TESTGOOGLEDRIVEPLUGINOAUTH-Build_gdfolder_2020-09-21T16-25-00.266_.zip

@alexbourret
Copy link
Collaborator Author

@alexcombessie I just implemented this proposed solution and it seems to fix the error messages...

@alexbourret alexbourret merged commit 8d72867 into master Sep 29, 2020
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.

3 participants