You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. """
  2. Extension for initializing repositories.
  3. This extension registers repository implementations with the RepositoryFactory.
  4. """
  5. from dify_app import DifyApp
  6. from repositories.repository_registry import register_repositories
  7. def init_app(_app: DifyApp) -> None:
  8. """
  9. Initialize repository implementations.
  10. Args:
  11. _app: The Flask application instance (unused)
  12. """
  13. register_repositories()