Skip to content

Commit

Permalink
Add import path
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschulz-COL committed Oct 23, 2023
1 parent 4bf294e commit 60f3963
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vizro-core/src/vizro/models/_components/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from vizro.models._components._components_utils import _process_callable_data_frame
from vizro.models._models_utils import _log_call
from vizro.models.types import CapturedCallable
import vizro.tables as vt

logger = logging.getLogger(__name__)

Expand All @@ -26,7 +27,7 @@ class Table(VizroBaseModel):
"""

type: Literal["table"] = "table"
table: CapturedCallable = Field(..., description="Table to be visualized on dashboard") # ADD import path
table: CapturedCallable = Field(..., import_path = vt, description="Table to be visualized on dashboard")
actions: List[Action] = []

# Component properties for actions and interactions
Expand Down

0 comments on commit 60f3963

Please sign in to comment.