dify/api/libs
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
2025-06-24 09:05:29 +08:00
..
__init__.py chore: apply ruff rules on tests and app.py (#3605) 2024-04-18 20:24:05 +08:00
datetime_utils.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 2025-06-24 09:05:29 +08:00
exception.py chore(api/libs): Apply ruff format. (#7301) 2024-08-15 17:53:12 +08:00
external_api.py chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224) 2025-05-06 11:58:49 +08:00
flask_utils.py feat: add a flask_context_manager. (#21061) 2025-06-17 16:31:29 +08:00
gmpy2_pkcs10aep_cipher.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
helper.py fix remote ip header CF-Connecting-IP (#20846) 2025-06-11 16:57:24 +08:00
infinite_scroll_pagination.py chore(api/libs): Apply ruff format. (#7301) 2024-08-15 17:53:12 +08:00
json_in_md_parser.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
jsonutil.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 2025-06-24 09:05:29 +08:00
login.py refactor: Consolidate Flask-Login Authentication Logic (#20235) 2025-05-26 18:22:01 +08:00
oauth.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
oauth_data_source.py chore: all model.query replace to db.session.query (#19521) 2025-05-12 15:19:41 +08:00
passport.py chore(api/libs): Apply ruff format. (#7301) 2024-08-15 17:53:12 +08:00
password.py Feat/new login (#8120) 2024-10-21 10:03:40 +08:00
rsa.py chore: refurish python code by applying Pylint linter rules (#8322) 2024-09-13 22:42:08 +08:00
sendgrid.py bug: fix minor exception msg missing (#21255) 2025-06-20 09:23:41 +08:00
smtp.py fixes #19634 (#20545) 2025-06-03 16:38:48 +08:00