Skip to content

Commit 0d3812d

Browse files
committed
Added comments, and also hoping to retrigger the ci
Signed-off-by: Jitesh Nair <jiteshnair@ibm.com>
1 parent f27261a commit 0d3812d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcpgateway/plugins/framework/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class PluginViolationCode:
6363

6464

6565
PLUGIN_VIOLATION_CODE_MAPPING: Mapping[str, PluginViolationCode] = MappingProxyType(
66+
# MappingProxyType will make sure the resulting object is immutable and hence this will act as a constant.
6667
{
6768
# Rate Limiting
6869
"RATE_LIMIT": PluginViolationCode(429, "RATE_LIMIT", "Used when rate limit is exceeded (rate_limiter plugin)"),

0 commit comments

Comments
 (0)