mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
[google] suppress file_cache warning (#6128)
This commit is contained in:
parent
1d7ab0fa95
commit
1d4c3febee
@ -247,7 +247,8 @@ class GoogleCalendarService(object):
|
|||||||
from googleapiclient import discovery as google_discovery
|
from googleapiclient import discovery as google_discovery
|
||||||
credentials = Storage(self.token_file).get()
|
credentials = Storage(self.token_file).get()
|
||||||
http = credentials.authorize(httplib2.Http())
|
http = credentials.authorize(httplib2.Http())
|
||||||
service = google_discovery.build('calendar', 'v3', http=http)
|
service = google_discovery.build('calendar', 'v3', http=http,
|
||||||
|
cache_discovery=False)
|
||||||
return service
|
return service
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user