Skip to content

Commit

Permalink
Update pandasai/data_loader/semantic_layer_schema.py
Browse files Browse the repository at this point in the history
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
  • Loading branch information
scaliseraoul and ellipsis-dev[bot] authored Jan 20, 2025
1 parent cf142de commit 57b8900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/data_loader/semantic_layer_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def validate_type_and_fields(cls, values):
f"For local source type '{_type}', 'path' must be defined."
)
if view:
raise ValueError("For local source type you can't use a view.")
raise ValueError("A view cannot be used with a local source type.")
elif _type in REMOTE_SOURCE_TYPES:
if not connection:
raise ValueError(
Expand Down

0 comments on commit 57b8900

Please sign in to comment.