Skip to content

Commit

Permalink
chore: remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
kyatai committed Jan 15, 2025
1 parent 10ad8ba commit 4840ba4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/core/app/app_config/easy_ui_based_app/dataset/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ def validate_and_set_defaults(cls, tenant_id: str, app_mode: AppMode, config: di
if not isinstance(config["dataset_configs"], dict):
raise ValueError("dataset_configs must be of object type")

if not isinstance(config["dataset_configs"], dict):
raise ValueError("dataset_configs must be of object type")

need_manual_query_datasets = config.get("dataset_configs") and config["dataset_configs"].get(
"datasets", {}
).get("datasets")
Expand Down

0 comments on commit 4840ba4

Please sign in to comment.