suna/backend/pipedream/__init__.py

37 lines
590 B
Python
Raw Normal View History

2025-07-14 18:36:27 +08:00
from utils.logger import logger
from services.supabase import DBConnection
from .facade import PipedreamManager
from .domain.entities import (
Profile,
Connection,
App,
MCPServer,
MCPTool,
ConnectionStatus,
AuthType
2025-07-08 17:10:15 +08:00
)
2025-07-14 18:36:27 +08:00
db = DBConnection()
pipedream_manager = PipedreamManager(
db=db,
logger=logger
2025-07-09 02:40:58 +08:00
)
2025-07-08 17:10:15 +08:00
from . import api
2025-07-14 18:36:27 +08:00
api.pipedream_manager = pipedream_manager
2025-07-08 17:10:15 +08:00
__all__ = [
2025-07-14 18:36:27 +08:00
'PipedreamManager',
'Profile',
'Connection',
'App',
'MCPServer',
'MCPTool',
'ConnectionStatus',
'AuthType',
'pipedream_manager',
'api'
2025-07-08 17:10:15 +08:00
]