chore: rename variable

This commit is contained in:
DaanSelen
2026-03-09 16:26:27 +01:00
parent 7b81d5faeb
commit 6b094e8f8e
26 changed files with 236 additions and 108 deletions
+6 -1
View File
@@ -9,6 +9,7 @@ from .schema import Base
from .schema import Apikeys
class functions():
@staticmethod
def retrieve_api_keys(session: sqlalchemy.orm.Session) -> tuple[list[dict], list[dict]]:
""" AI GENERATED
Retrieve all API keys from the database and separate them into valid and expired keys.
@@ -59,4 +60,8 @@ class functions():
print("VALID:", json.dumps(valid_keys,indent=4))
print("INVALID", json.dumps(expired_keys, indent=4))
return valid_keys, expired_keys
return valid_keys, expired_keys
@staticmethod
def retrieve_users(session: sqlalchemy.orm.Session):
print("Wanting to check users")