Skip to content

Commit 76c1760

Browse files
committed
(SingleRateLimit) add get_limit func
1 parent c956f81 commit 76c1760

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

xbox/webapi/common/ratelimits/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def get_counter(self) -> int:
4646
def get_time_period(self) -> "TimePeriod":
4747
return self.__time_period
4848

49+
def get_limit(self) -> int:
50+
return self.__limit
51+
4952
def get_limit_type(self) -> "LimitType":
5053
return self.__type
5154

0 commit comments

Comments
 (0)