cleanup / refac and remove unnecessary legacy module

This commit is contained in:
Taylor Wilsdon
2025-08-09 12:18:08 -04:00
parent c93e9cc0cf
commit 58f55019c4
5 changed files with 1119 additions and 1401 deletions

11
main.py
View File

@@ -9,13 +9,14 @@ from dotenv import load_dotenv
dotenv_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '.env')
load_dotenv(dotenv_path=dotenv_path)
from core.server import server, set_transport_mode, configure_server_for_http
from auth.oauth_config import reload_oauth_config
reload_oauth_config()
# Suppress googleapiclient discovery cache warning
logging.getLogger('googleapiclient.discovery_cache').setLevel(logging.ERROR)
from core.utils import check_credentials_directory_permissions
from core.server import server, set_transport_mode, configure_server_for_http # noqa: E402
from auth.oauth_config import reload_oauth_config # noqa: E402
from core.utils import check_credentials_directory_permissions # noqa: E402
reload_oauth_config()
logging.basicConfig(
level=logging.INFO,