From 257f57a216033eec7050b5371e45d4ac4c513afe Mon Sep 17 00:00:00 2001 From: Erfan Date: Thu, 7 Nov 2024 03:24:54 +0330 Subject: [PATCH] style: formated code --- utils/config.py | 2 +- utils/panel.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/config.py b/utils/config.py index 50f04fb..7a6b44c 100644 --- a/utils/config.py +++ b/utils/config.py @@ -20,4 +20,4 @@ class EnvFile(BaseSettings): MARZBAN_PASSWORD: str MARZBAN_ADDRESS: str EXCLUDED_MONITORINGS: list[str] = [] - ACTION_LIMIT: int = 25 \ No newline at end of file + ACTION_LIMIT: int = 25 diff --git a/utils/panel.py b/utils/panel.py index d69c7b7..f662227 100644 --- a/utils/panel.py +++ b/utils/panel.py @@ -117,7 +117,9 @@ async def user_modify(username: str, data: UserModify) -> bool: return False -async def get_users(offset: int = 0, limit: int = EnvSettings.ACTION_LIMIT) -> list[UserResponse]: +async def get_users( + offset: int = 0, limit: int = EnvSettings.ACTION_LIMIT +) -> list[UserResponse]: """ Retrieve a list of users from the Marzban panel. """