mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 07:16:20 +08:00
- Added AttrMap and AttrKey classes for type-safe attribute storage. - Implemented AppAssetsAttrs and SkillAttrs for managing application and skill attributes. - Refactored Sandbox and initializers to utilize the new attribute management system, enhancing modularity and clarity in asset handling.
8 lines
204 B
Python
8 lines
204 B
Python
from core.app.entities.app_asset_entities import AppAssetFileTree
|
|
from libs.attr_map import AttrKey
|
|
|
|
|
|
class AppAssetsAttrs:
|
|
# Skill artifact set
|
|
FILE_TREE = AttrKey("file_tree", AppAssetFileTree)
|