Skip to content

Commit

Permalink
add arena to the docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Anupya committed Oct 30, 2023
1 parent fc61200 commit efef654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions berserk/clients/tournaments.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get(self) -> models.CurrentTournaments:
)

def get_tournament(self, tournament_id: str, page: int = 1):
"""Get information about a tournament.
"""Get information about an Arena tournament.
:param tournament_id: tournament ID
:param page: the page number of the player standings to view
Expand Down Expand Up @@ -378,15 +378,15 @@ def stream_by_creator(self, username: str) -> Iterator[Dict[str, Any]]:
yield from self._r.get(path, stream=True)

def terminate_arena(self, tournament_id: str) -> None:
"""Terminate a tournament.
"""Terminate an Arena tournament.
:param tournament_id: tournament ID
"""
path = f"/api/tournament/{tournament_id}/terminate"
self._r.post(path)

def withdraw_arena(self, tournament_id: str) -> None:
"""Leave an upcoming tournament, or take a break on an ongoing tournament.
"""Leave an upcoming Arena tournament, or take a break on an ongoing Arena tournament.
:param tournament_id: tournament ID
"""
Expand Down

0 comments on commit efef654

Please sign in to comment.