mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-06 09:26:50 +08:00
19 lines
418 B
Python
19 lines
418 B
Python
"""
|
|
Extension for initializing repositories.
|
|
|
|
This extension registers repository implementations with the RepositoryFactory.
|
|
"""
|
|
|
|
from dify_app import DifyApp
|
|
from repositories.repository_registry import register_repositories
|
|
|
|
|
|
def init_app(_app: DifyApp) -> None:
|
|
"""
|
|
Initialize repository implementations.
|
|
|
|
Args:
|
|
_app: The Flask application instance (unused)
|
|
"""
|
|
register_repositories()
|