mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #132] [MERGED] chore: mark constructors as final in multiple classes #170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/132
Author: @Yeuoly
Created: 5/7/2025
Status: ✅ Merged
Merged: 5/7/2025
Merged by: @Yeuoly
Base:
main← Head:chore/add-final-to-methods📝 Commits (1)
85acad9feat: mark constructors as final in multiple classes📊 Changes
4 files changed (+32 additions, -3 deletions)
View changed files
📝
python/dify_plugin/interfaces/agent/__init__.py(+8 -1)📝
python/dify_plugin/interfaces/endpoint/__init__.py(+8 -0)📝
python/dify_plugin/interfaces/model/ai_model.py(+8 -1)📝
python/dify_plugin/interfaces/tool/__init__.py(+8 -1)📄 Description
@finaldecorator to the constructors ofAgentStrategy,Endpoint,AIModel, andToolclasses to prevent overriding.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.