[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-02-03 07:08:47 +00:00
committed by GitHub
parent d58d3f5bde
commit c2fdfdc504
3 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
class CachedApiToken:
"""
Simple data class to represent a cached API token.
This is NOT a SQLAlchemy model instance, but a plain Python object
that mimics the ApiToken model interface for read-only access.
"""
@ -110,7 +110,7 @@ class ApiTokenCache:
try:
data = json.loads(cached_data)
# Create a simple data object (NOT a SQLAlchemy model instance)
# This is safe because it's just a plain Python object with attributes
token_obj = CachedApiToken(