chore: remove comment

This commit is contained in:
fatelei 2026-05-08 18:41:59 +08:00
parent 0ab47a36b6
commit a2e6f59d8f
No known key found for this signature in database
GPG Key ID: 2F91DA05646F4EED

View File

@ -149,14 +149,6 @@ class EnterpriseRequest(BaseRequest):
params: Mapping[str, Any] | None = None,
timeout: float | httpx.Timeout | None = None,
) -> Any:
"""Call an /inner/api/rbac/* endpoint on dify-enterprise.
Inner RBAC endpoints require three headers on top of the standard
Enterprise-Api-Secret-Key: the tenant the call targets and (optionally)
the account acting on behalf of the workspace. This helper centralises
both the assertions and the header wiring so callers only have to
supply business payload.
"""
if not tenant_id:
raise ValueError("tenant_id must be provided for inner RBAC requests")