fix package registration

This commit is contained in:
Taylor Wilsdon
2025-07-30 10:12:09 -04:00
parent 2aea2325bc
commit 113a37d5c1
4 changed files with 12 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ API_ENABLEMENT_LINKS: Dict[str, str] = {
"forms.googleapis.com": "https://console.cloud.google.com/flows/enableapi?apiid=forms.googleapis.com",
"tasks.googleapis.com": "https://console.cloud.google.com/flows/enableapi?apiid=tasks.googleapis.com",
"chat.googleapis.com": "https://console.cloud.google.com/flows/enableapi?apiid=chat.googleapis.com",
"customsearch.googleapis.com": "https://console.cloud.google.com/flows/enableapi?apiid=customsearch.googleapis.com",
}
@@ -25,6 +26,7 @@ SERVICE_NAME_TO_API: Dict[str, str] = {
"Google Forms": "forms.googleapis.com",
"Google Tasks": "tasks.googleapis.com",
"Google Chat": "chat.googleapis.com",
"Google Custom Search": "customsearch.googleapis.com",
}
@@ -38,6 +40,8 @@ INTERNAL_SERVICE_TO_API: Dict[str, str] = {
"forms": "forms.googleapis.com",
"tasks": "tasks.googleapis.com",
"chat": "chat.googleapis.com",
"customsearch": "customsearch.googleapis.com",
"search": "customsearch.googleapis.com",
}

View File

@@ -51,6 +51,8 @@ from auth.scopes import (
TASKS_SCOPE, # noqa: F401
TASKS_READONLY_SCOPE, # noqa: F401
TASKS_SCOPES, # noqa: F401
CUSTOM_SEARCH_SCOPE, # noqa: F401
CUSTOM_SEARCH_SCOPES, # noqa: F401
)
# Configure logging