Phase 1 complete

This commit is contained in:
Jay Lee
2026-07-03 15:36:03 -04:00
parent 31cf4f928a
commit e6ba984c13
64 changed files with 951 additions and 1891 deletions

View File

@@ -1,7 +1,7 @@
"""GAM access-error and entity-warning utilities.
Extracted from gam/__init__.py. Provides access-error diagnostics,
API access denied handlers, and entity warning functions.
Access-error diagnostics, API access denied handlers,
and entity warning functions.
"""
import sys

View File

@@ -1,7 +1,6 @@
"""GAM API utility functions.
Extracted from gam/__init__.py lines 2206-3636.
Provides HTTP transport, OAuth credential management, Google API service
HTTP transport, OAuth credential management, Google API service
construction, and GAPI/GData call wrappers with retry logic.
"""

View File

@@ -1,7 +1,4 @@
"""Argument parsing, getters, and validators.
Extracted from gam/__init__.py to reduce monolith size.
"""
"""Argument parsing, getters, and validators."""
__all__ = [
# Private functions used by __init__.py

View File

@@ -1,7 +1,7 @@
"""GAM batch/multiprocess/thread/loop/list infrastructure.
Extracted from gam/__init__.py. Provides multi-process and thread-based
batch command execution, CSV command processing, loop handling, and list/count commands.
Multi-process and thread-based batch command execution, CSV command
processing, loop handling, and list/count commands.
"""
import logging

View File

@@ -1,7 +1,6 @@
"""GAM configuration — SetGlobalVariables.
Extracted from gam/__init__.py. The massive SetGlobalVariables function
reads gam.cfg config file and initializes all global runtime state.
Reads gam.cfg and initializes all global runtime state.
"""
import collections

View File

@@ -1,7 +1,4 @@
"""Network diagnostics, version display, and usage functions.
Extracted from gam/__init__.py to reduce monolith size.
"""
"""Network diagnostics, version display, and usage functions."""
import logging
import os

View File

@@ -1,8 +1,7 @@
"""GAM CSV Print Framework utilities.
Extracted from gam/__init__.py. Provides CSV output formatting,
row/header filtering, JSON flattening, and Google Drive upload
(todrive) functionality for GAM's print/show commands.
CSV output formatting, row/header filtering, JSON flattening,
and Google Drive upload (todrive) for print/show commands.
"""
import csv

View File

@@ -1,7 +1,6 @@
"""GAM email utilities.
Extracted from gam/__init__.py. Provides email attachment handling
and email sending via Gmail API or SMTP.
Email attachment handling and sending via Gmail API or SMTP.
"""
import base64

View File

@@ -1,7 +1,7 @@
"""GAM entity resolution utilities.
Extracted from gam/__init__.py. Provides UID-to-email conversion,
entity list expansion, group member checking, and entity selectors.
UID-to-email conversion, entity list expansion, group member
checking, entity selectors, and customer ID helpers.
"""
import csv

View File

@@ -1,8 +1,4 @@
"""Error, exit, and argument validation functions.
Extracted from gam/__init__.py to reduce monolith size.
Functions here depend only on gamlib modules and util/output.
"""
"""Error, exit, and argument validation functions."""
import os
import sys

View File

@@ -1,7 +1,7 @@
"""GAM GDoc/GSheet/Cloud Storage data retrieval utilities.
Extracted from gam/__init__.py. Provides functions for reading data from
Google Docs, Google Sheets, Cloud Storage buckets, and CSV files.
Reading data from Google Docs, Google Sheets, Cloud Storage
buckets, and CSV files.
"""
import csv

View File

@@ -1,6 +1,6 @@
"""GAM HTML utilities.
Extracted from gam/__init__.py. Provides HTML-to-plain-text conversion.
HTML-to-plain-text conversion.
"""
import re

View File

@@ -1,7 +1,6 @@
"""GAM OrgUnit helper utilities.
Extracted from gam/__init__.py. Provides OrgUnit path/ID resolution
and parent OrgUnit traversal.
OrgUnit path/ID resolution and parent OrgUnit traversal.
"""
import sys

View File

@@ -1,7 +1,4 @@
"""Tag replacement, user substitution, and email notification utilities.
Extracted from gam/cmd/send_email.py to eliminate circular imports.
"""
"""Tag replacement, user substitution, and email notification utilities."""
import re