dify/api/core/file
Yeuoly ec808f3fe8
refactor: centralize default end user session ID constant (#25416)
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 10:27:16 +08:00
..
__init__.py chore(lint): sort __all__ definitions (#11243) 2024-12-03 13:26:33 +08:00
constants.py refactor: centralize default end user session ID constant (#25416) 2025-09-12 10:27:16 +08:00
enums.py fix: workflow file add related-id in iteration node (#16255) 2025-03-21 20:57:02 +08:00
file_manager.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
helpers.py refactor: centralize default end user session ID constant (#25416) 2025-09-12 10:27:16 +08:00
models.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
tool_file_parser.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00