(20250117) Day-end push.

This commit is contained in:
2025-01-17 18:57:46 +05:30
parent 8ab63d036d
commit 4b2cdbee76
7 changed files with 356 additions and 331 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ from utils_v2.api.async_quart import (
)
# GMail-related utils:
from utils_v2.goog.controllers.gmail.gmail_client import AsyncGMailClient
from utils_v2.goog.controllers.gmail.gmail_client import AsyncGmailClient
# Core Controller Models:
from controllers.core.message import CoreMessageController
@@ -534,13 +534,13 @@ async def app_startup(**kwargs):
# ┗┛┗┛┛┗┛┗┗ ┗┗┗┛┛ ┛ ┗┻┛┗┗┻ ┗┛┗┗┗ ┛┗┗┛
# Create an instance to handle GMail-related activities:
current_app.gmail_client = AsyncGMailClient(
current_app.gmail_client = AsyncGmailClient(
service_name = "gmail",
oauth_json = script_cred["google"]["oauth"]["tcaoff"],
http_client = current_app.http_client,
redirect_url = r"https://api.thecaoffice.com/converse/mail/callback/gmail",
debug = enable_debugging,
debug_prefix = "GMail (M) | ",
debug_prefix = "Gmail (M) | ",
debug_only_errors = False
)