mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2025-07-29 16:03:34 +00:00
add docs
This commit is contained in:
@@ -132,11 +132,14 @@ class GoogleCalendarService:
|
||||
"""make service Resource from config dict
|
||||
|
||||
Arguments:
|
||||
config -- config with keys:
|
||||
(optional) service_account: - service account filename
|
||||
if key not in dict then default credentials will be used
|
||||
( https://developers.google.com/identity/protocols/application-default-credentials )
|
||||
-- None: default credentials will be used
|
||||
|
||||
**config** -- config with keys:
|
||||
|
||||
(optional) service_account: - service account filename
|
||||
if key not in dict then default credentials will be used
|
||||
( https://developers.google.com/identity/protocols/application-default-credentials )
|
||||
|
||||
-- **None**: default credentials will be used
|
||||
"""
|
||||
|
||||
if config is not None and "service_account" in config:
|
||||
|
Reference in New Issue
Block a user