mirror of
https://github.com/langgenius/dify.git
synced 2026-02-19 07:01:42 -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.
9 lines
183 B
Python
9 lines
183 B
Python
from abc import ABC, abstractmethod
|
|
|
|
from core.sandbox.sandbox import Sandbox
|
|
|
|
|
|
class SandboxInitializer(ABC):
|
|
@abstractmethod
|
|
def initialize(self, env: Sandbox) -> None: ...
|