We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a302e70 commit 5932b27Copy full SHA for 5932b27
2 files changed
src/codeaudit/dashboard_reports.py
@@ -12,6 +12,9 @@
12
API functions: Used for dashboard reporting (Panel / WASM) and notebooks, or to build custom reports.
13
"""
14
15
+import panel as pn
16
+pn.extension()
17
+
18
from codeaudit.api_interfaces import version_info
19
20
SAST_REPORT_CSS = """
@@ -94,6 +97,7 @@ def _require_panel():
94
97
95
98
try:
96
99
import panel as pn
100
+ pn.extension()
101
102
return pn
103
except ImportError:
src/dashboard/dashboardapp.py
@@ -38,8 +38,6 @@
38
39
from codeaudit.api_interfaces import get_package_source , version_info
40
41
-
42
43
from codeaudit.dashboard_reports import (
44
create_statistics_overview,
45
get_disclaimer_text,
0 commit comments