Commit c7cec1c
authored
fix(community): Fix AttributeError: module 'google.oauth2.service_account' has no attribute 'ServiceCredentials' in utils (#1199)
## Description
When trying to instantiate CalendarToolkit, there is an AttributeError
raised to a mismatch in aliases. The safe import should still call the
original class name instead of the alias.
## Relevant issues
N/A
## Type
🐛 Bug Fix
## Note(optional)
Discovered using this notebook:
https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/tools/google_calendar.ipynb1 parent 4c1661a commit c7cec1c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments