ListView
This module contains views to implement the React.
Guardrail list view in the Smarter Dashboard.
- class smarter.apps.guardrail.views.listview.view.GuardrailListView(**kwargs)[source]
Bases:
SmarterAuthenticatedNeverCachedWebViewRender the guardrail list view for the Smarter Workbench web console.
This view displays all guardrails available to the authenticated user as cards, providing a quick overview and access to guardrail details.
- Parameters:
- Returns:
Rendered HTML page with a card for each guardrail, or a 404 error page if the user is not authenticated.
- Return type:
HttpResponse
- property formatted_class_name: str
Returns a formatted string of the class name for logging purposes.