Buckets:

download
raw
2.82 kB
{
"interaction_sequence": {
"available": true,
"language": "python",
"repo": "layinded_swx",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → PolicyProvider",
"from": "Enforcer",
"to": "PolicyProvider",
"file": "swx_core/middleware/rate_limit_middleware.py",
"line": 90,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "swx_core/middleware/rate_limit_middleware.py:<module>.RateLimitMiddleware.dispatch",
"file": "swx_core/middleware/rate_limit_middleware.py",
"line": 90,
"code": "get_limit(plan, feature, endpoint_class, \"burst\")",
"callee": "swx_core/services/rate_limit/limit_registry.py:<module>.get_limit",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Enforcer → Limiter",
"from": "Enforcer",
"to": "Limiter",
"file": "swx_core/middleware/rate_limit_middleware.py",
"line": 98,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "swx_core/middleware/rate_limit_middleware.py:<module>.RateLimitMiddleware.dispatch",
"file": "swx_core/middleware/rate_limit_middleware.py",
"line": 98,
"code": "limiter.check_limit(burst_key, burst_limit, LimitWindow.MINUTE)",
"callee": "swx_core/services/rate_limit/rate_limiter.py:<module>.RateLimiter.check_limit",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 3,
"interaction": "Limiter → HistoryProvider",
"from": "Limiter",
"to": "HistoryProvider",
"file": "swx_core/services/rate_limit/rate_limiter.py",
"line": 112,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "swx_core/services/rate_limit/rate_limiter.py:<module>.RateLimiter.check_limit",
"file": "swx_core/services/rate_limit/rate_limiter.py",
"line": 112,
"code": "pipe.zcard(key)",
"callee": "__builtin.dict.pipeline.zcard",
"mechanism": "call"
}
],
"parent": "Enforcer → Limiter"
}
],
"anchoredRoles": [
{
"role": "Enforcer",
"kind": "METHOD"
},
{
"role": "HistoryProvider",
"kind": "external"
},
{
"role": "Limiter",
"kind": "METHOD"
},
{
"role": "PolicyProvider",
"kind": "METHOD"
}
],
"skippedRoles": [
"Entity",
"System"
]
}
}

Xet Storage Details

Size:
2.82 kB
·
Xet hash:
9cc34f1bc3d9e57ead4f30b5506dcedec8e2f525453581b2efe1c067f84e21f8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.