Commit 28ef14a
authored
Update connection.py
I have found that I couldn't assign a single value tuple without a trailing comma. If credentials is provided as `(app_id)` it ends up being turned in to a str (even if you explicitly cast it as a tuple) thus failing the tuple instance check. If you use `(app_id,)` everything works.
I added a check that will ensure it is a single value tuple by converting string to tuple (using the necessary trailing comma).1 parent 691c6eb commit 28ef14a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| |||
0 commit comments