🔧 chore(pyproject.toml): comment out langfuse dependency to temporarily disable it

🔧 chore(schemas.py): remove merge conflict markers from the file
🔧 chore(custom_component.py): remove merge conflict markers from the file
🔧 chore(flow.py): remove merge conflict markers from the file
🔧 chore(langfuse.py): add exception handling for ImportError when importing Langfuse
🔧 chore(auth.py): add type hinting to pwd_context variable
🔧 chore(base.py): remove merge conflict markers from the file
🔧 chore(settings.py): remove merge conflict markers from the file
🔧 chore(conftest.py): remove merge conflict markers from the file
🔧 chore(test_cli.py): remove merge conflict markers from the file
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-27 16:08:58 -03:00
commit 8c8b863b18
11 changed files with 790 additions and 499 deletions

View file

@ -165,12 +165,6 @@ def json_flow_with_prompt_and_history():
return f.read()
<<<<<<< HEAD
@pytest.fixture(name="client", scope="function", autouse=True)
def client_fixture(session: Session):
def get_session_override():
return session
=======
@pytest.fixture
def json_vector_store():
with open(pytest.VECTOR_STORE_PATH, "r") as f:
@ -184,7 +178,6 @@ def client_fixture(session: Session, monkeypatch):
db_path = Path(db_dir) / "test.db"
monkeypatch.setenv("LANGFLOW_DATABASE_URL", f"sqlite:///{db_path}")
monkeypatch.setenv("LANGFLOW_AUTO_LOGIN", "false")
>>>>>>> origin/dev
from langflow.main import create_app