mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-08-04 06:52:58 +00:00
chore: rename variable
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user