Skip to content

Commit

Permalink
style: formated code
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab committed Nov 6, 2024
1 parent 984200e commit 257f57a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ class EnvFile(BaseSettings):
MARZBAN_PASSWORD: str
MARZBAN_ADDRESS: str
EXCLUDED_MONITORINGS: list[str] = []
ACTION_LIMIT: int = 25
ACTION_LIMIT: int = 25
4 changes: 3 additions & 1 deletion utils/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 257f57a

Please sign in to comment.