ref: Move get services out of API methods (#4216)
* Move get services out of API methods * Rollback files API to be able to mock the dependency
This commit is contained in:
parent
349a2b49a4
commit
c85cd91e09
14 changed files with 91 additions and 123 deletions
|
|
@ -12,10 +12,10 @@ from uuid import UUID
|
|||
import orjson
|
||||
import pytest
|
||||
from asgi_lifespan import LifespanManager
|
||||
from base.langflow.components.inputs.ChatInput import ChatInput
|
||||
from dotenv import load_dotenv
|
||||
from fastapi.testclient import TestClient
|
||||
from httpx import ASGITransport, AsyncClient
|
||||
from langflow.components.inputs.ChatInput import ChatInput
|
||||
from langflow.graph.graph.base import Graph
|
||||
from langflow.initial_setup.setup import STARTER_FOLDER_NAME
|
||||
from langflow.services.auth.utils import get_password_hash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue