mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-05 05:11:35 +00:00
Phase 1 complete
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user