-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77e6903
commit 4b09fac
Showing
16 changed files
with
324 additions
and
387 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
"""Define constants for the dashboard module.""" | ||
|
||
from typing import Literal | ||
|
||
# For unsupported component and control types, how to handle them? | ||
# option 1. Ignore silently | ||
# option 2. Raise a warning and add the warning message into langgraph state. This gives the user transparency on why | ||
# a certain component or control was not created. | ||
# option 3. Raise a warning and suggest additional reference material | ||
component_type = Literal[ | ||
"AgGrid", "Card", "Graph" | ||
] # Complete list: ["AgGrid", "Button", "Card", "Container", "Graph", "Table", "Tabs"] | ||
control_type = Literal["Filter"] # Complete list: ["Filter", "Parameter"] | ||
|
||
# For other models, like ["Accordion", "NavBar"], how to handle them? | ||
|
||
|
||
IMPORT_STATEMENTS = ( | ||
"import vizro.plotly.express as px\n" | ||
"from vizro.models.types import capture\n" | ||
"import plotly.graph_objects as go\n" | ||
"from vizro.tables import dash_ag_grid\n" | ||
"import vizro.models as vm\n" | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.