🔥 chore(database.py): remove unused code and endpoints related to flows

✨ feat(router.py): add new routers for flows and flow styles
🔧 refactor(__init__.py): add new routers to __all__ list
🔧 refactor(conftest.py): update import statement for get_session function
The unused code and endpoints related to flows have been removed from the database.py file. New routers for flows and flow styles have been added to the router.py file. The __all__ list in the __init__.py file has been updated to include the new routers. The import statement for the get_session function in the conftest.py file has been updated to reflect the new location of the function.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-06 16:23:37 -03:00
commit 183f80b1fc
4 changed files with 22 additions and 110 deletions

View file

@ -1,7 +1,7 @@
import json
from pathlib import Path
from typing import AsyncGenerator
from langflow.api.database import get_session
from langflow.api.v1.flows import get_session
from langflow.graph.graph.base import Graph
import pytest