Repository navigation
refactor: add missing @override decorator to AppGenerateResponseConverter subclasses - #36486
Merged
asukaminato0721 merged 1 commit intoMay 21, 2026
Conversation
…rter subclasses Relates to langgenius#36406. Adds @OverRide to the 4 abstract methods in each of the 5 AppGenerateResponseConverter subclasses (advanced_chat, agent_chat, chat, completion, workflow). Uses 'from typing import override' (Python 3.12+ stdlib) per the pattern established in langgenius#36425.
Contributor
Pyrefly Type Coverage
|
asukaminato0721
enabled auto-merge
May 21, 2026 14:00
asukaminato0721
approved these changes
May 21, 2026
This was referenced May 21, 2026
refactor: add missing @override decorator to file access controller and workflow file runtime
#36495
Merged
Merged
5 tasks done
Ssazurov
pushed a commit
to Ssazurov/dify
that referenced
this pull request
Aug 8, 2026
…rter subclasses (langgenius#36486)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #36406.
Adds
@override(PEP 698,from typing import override) to the 4 abstract method implementations in each of the 5AppGenerateResponseConvertersubclasses:convert_blocking_full_responseconvert_blocking_simple_responseconvert_stream_full_responseconvert_stream_simple_responsePattern follows the merged example in #36425.