mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 07:01:23 -05: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
214 B
Python
8 lines
214 B
Python
from core.skill.entities.skill_artifact_set import SkillArtifactSet
|
|
from libs.attr_map import AttrKey
|
|
|
|
|
|
class SkillAttrs:
|
|
# Skill artifact set
|
|
ARTIFACT_SET = AttrKey("skill_artifact_set", SkillArtifactSet)
|