ragflow/api/utils
Liu An b5ffca332a
Refa: validation utils to use Pydantic v2 style models (#9037)
### What problem does this PR solve?

- Update BaseModel to use model_config instead of Config class
- Replace StrEnum with Literal types for method fields
- Convert Field declarations to Annotated style

### Type of change

- [x] Refactoring
2025-07-25 12:16:45 +08:00
..
__init__.py fix: obfuscate additional server secrets values (#9014) 2025-07-24 10:16:23 +08:00
api_utils.py Fix: Increase timeouts for document parsing and model checks (#8996) 2025-07-23 15:08:36 +08:00
commands.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
file_utils.py Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
log_utils.py Trivals. (#8597) 2025-07-01 14:05:18 +08:00
t_crypt.py Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
validation_utils.py Refa: validation utils to use Pydantic v2 style models (#9037) 2025-07-25 12:16:45 +08:00
web_utils.py Refa: better MIME content type (#8801) 2025-07-11 18:47:19 +08:00