Skip to content

Commit

Permalink
Add new application limit configs to console interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Aug 29, 2023
1 parent 8763d24 commit 0911d87
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions flask_limiter/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,21 @@ def config() -> None:
]
),
)
extension_details.add_row(
None,
ConfigVars.APPLICATION_LIMITS_PER_METHOD,
Pretty(limiter._application_limits_per_method),
)
extension_details.add_row(
None,
ConfigVars.APPLICATION_LIMITS_EXEMPT_WHEN,
render_func(limiter._application_limits_exempt_when),
)
extension_details.add_row(
None,
ConfigVars.APPLICATION_LIMITS_DEDUCT_WHEN,
render_func(limiter._application_limits_deduct_when),
)
extension_details.add_row(
None,
ConfigVars.APPLICATION_LIMITS_COST,
Expand Down

0 comments on commit 0911d87

Please sign in to comment.