Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyielia committed Jun 22, 2024
1 parent b75436d commit 1b6a911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Contains the _get_model for the Vizro AI dashboard."""

# ruff: noqa: F821
try:
from pydantic.v1 import BaseModel, Field, ValidationError
except ImportError: # pragma: no cov
Expand Down
5 changes: 2 additions & 3 deletions vizro-ai/src/vizro_ai/dashboard/nodes/core_builder/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
from langchain_openai import ChatOpenAI

try:
from pydantic.v1 import BaseModel, Field, ValidationError
from pydantic.v1 import BaseModel, Field, ValidationError, create_model, validator
except ImportError: # pragma: no cov
from pydantic import BaseModel, Field, ValidationError
from pydantic import BaseModel, Field, ValidationError, create_model, validator
import numpy as np
from pydantic.v1 import Field, create_model, validator
from vizro.models._layout import _get_grid_lines, _get_unique_grid_component_ids, _validate_grid_areas
from vizro.tables import dash_ag_grid
from vizro_ai.dashboard.nodes.core_builder.model import _get_model
Expand Down

0 comments on commit 1b6a911

Please sign in to comment.