mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 13:45:57 +08:00
Merge branch 'main' into feat/r2
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
|
||||
import logging
|
||||
from threading import Lock
|
||||
from typing import Union
|
||||
@ -75,8 +74,7 @@ class DatasourceManager:
|
||||
return cls.get_datasource_plugin_provider(provider_id, tenant_id).get_datasource(datasource_name)
|
||||
else:
|
||||
raise ToolProviderNotFoundError(f"provider type {provider_type.value} not found")
|
||||
|
||||
|
||||
|
||||
@classmethod
|
||||
def list_datasource_providers(cls, tenant_id: str) -> list[DatasourcePluginProviderController]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user