Harry
d5ff89f6d3
refactor(api): enhance request handling and time management
...
- Initialized `response` variable in `trigger.py` to ensure proper handling in the trigger endpoint.
- Updated `http_parser.py` to conditionally set `CONTENT_TYPE` and `CONTENT_LENGTH` headers for improved robustness.
- Changed `datetime.utcnow()` to `datetime.now(UTC)` in `sqlalchemy_workflow_trigger_log_repository.py` and `rate_limiter.py` for consistent time zone handling.
- Refactored `async_workflow_service.py` to use the public method `get_tenant_owner_timezone` for better encapsulation.
- Simplified subscription retrieval logic in `plugin_parameter_service.py` for clarity.
These changes improve code reliability and maintainability while ensuring accurate time management and request processing.
2025-09-25 19:46:52 +08:00
yessenia
cd07eef639
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-25 17:14:24 +08:00
+10
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Hanqing Zhao <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <[email protected] >
2025-09-18 12:49:10 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-06 03:32:23 +08:00
-LAN- and GitHub
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <[email protected] >
2025-09-03 11:52:26 +08:00
+40
5bbf685035
feat: fix i18n missing keys and merge upstream/main ( #24615 )
...
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: kenwoodjw <[email protected] >
Signed-off-by: Yongtao Huang <[email protected] >
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: zhanluxianshen <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: GuanMu <[email protected] >
Co-authored-by: Davide Delbianco <[email protected] >
Co-authored-by: NeatGuyCoding <[email protected] >
Co-authored-by: kenwoodjw <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Qiang Lee <[email protected] >
Co-authored-by: 李强04 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: Matri Qi <[email protected] >
Co-authored-by: huayaoyue6 <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: znn <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Muke Wang <[email protected] >
Co-authored-by: wangmuke <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Eric Guo <[email protected] >
Co-authored-by: Zhedong Cen <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: lxsummer <[email protected] >
Co-authored-by: 湛露先生 <[email protected] >
Co-authored-by: Guangdong Liu <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: Claude <[email protected] >
Co-authored-by: Yessenia-d <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: 17hz <[email protected] >
Co-authored-by: Amy <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: Nite Knite <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
Co-authored-by: Petrus Han <[email protected] >
Co-authored-by: iamjoel <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Ujjwal Maurya <[email protected] >
Co-authored-by: Maries <[email protected] >
2025-08-27 15:07:28 +08:00
6aed7e3ff4
feat/trigger universal entry ( #24358 )
...
Co-authored-by: Claude <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-23 20:18:08 +08:00
-LAN- and GitHub
77223e4df4
refactor: simplify repository factory with Django-style import_string ( #24354 )
2025-08-22 21:56:25 +08:00
-LAN- and GitHub
43411d7a9e
chore: remove debug log statements from DifyAPIRepositoryFactory ( #23734 )
2025-08-11 15:39:20 +08:00
Asuka Minato and GitHub
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
quicksand and GitHub
14f79ee652
fix: create api workflow run repository error ( #22422 )
2025-07-15 16:12:02 +08:00
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
2025-07-14 14:54:38 +08:00
-LAN- and GitHub
d9aa2b155a
refactor: Refactors repository imports structure ( #18901 )
...
Signed-off-by: -LAN- <[email protected] >
2025-04-27 17:29:03 +08:00
6b7dfee88b
fix: Validates session factory type in repository ( #18497 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: Copilot <[email protected] >
2025-04-22 16:04:06 +08:00
-LAN- and GitHub
44a2eca449
refactor: Refactors workflow node execution handling ( #18382 )
...
Signed-off-by: -LAN- <[email protected] >
2025-04-18 20:06:24 +08:00
721294948c
Diable expire_on_commit in the implemention of the WorkflowNodeExecut… ( #18321 )
...
Co-authored-by: lizb <[email protected] >
2025-04-17 21:09:19 +08:00
-LAN- and GitHub
6d9dd3109e
feat: add a abstract layer for WorkflowNodeExcetion ( #18026 )
2025-04-17 12:48:52 +09:00