-
Notifications
You must be signed in to change notification settings - Fork 12
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
New Google Sheets connector #202
Conversation
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
==========================================
+ Coverage 97.63% 97.72% +0.09%
==========================================
Files 44 43 -1
Lines 2196 2198 +2
==========================================
+ Hits 2144 2148 +4
+ Misses 52 50 -2
Continue to review full report at Codecov.
|
4a5e13d
to
624bb20
Compare
async with ClientSession(headers=headers) as session: | ||
return await fetch(url, session) | ||
|
||
def set_secrets(self, secrets: Dict[str, str]): |
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.
Ah, en local je l'avais changé à Dict[str, Any]
mais si mypy ne fait pas ouin ouin on le laisse en tant que tel ?
Je l'ai approuvé mais il y a juste un petit print a enlevé avant de merger ce code |
* feat(googlesheets): beginning of replacing Bearer - CONNECTOR_REGISTRY now returns a Google Sheets connector with auth_flow property - new Google Sheets connector (in addition to old) - No tests yet * feat(googlesheets2): added feature flag - added an empty test * feat(googlesheets2): cleaned out connector * feat(googlesheets2): removed feature flag
added test for codecov
added test for codecov fixed test
f891fa7
to
f300b3b
Compare
Change Summary
Contains @testinnplayin's work to create a new Google Sheets connector, that can use provided OAuth2 secrets.
Secrets are to be acquired and stored outside of this project scope, and provided before doing any data request using the
set_secret
method.Any connector that will need such secrets will be flagged with
authFlow: "oauth2"
Checklist