Fix [Bug]: Save parser configs in dataset configuration page is not working #15175 (#15177)

### What problem does this PR solve?

Fix [Bug]: Save parser configs in dataset configuration page is not
working #15175

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Jay Xu
2026-05-26 10:04:43 +08:00
committed by GitHub
parent 4b36801b53
commit 54c3d23513

View File

@@ -557,7 +557,7 @@ class CreateDatasetReq(Base):
CreateDatasetReq(avatar="data:video/mp4;base64,...") # Unsupported MIME type
```
"""
if v is None:
if not v: # cover both None and empty string
return v
if "," in v: