feat: update template and custom component to load inputs and outputs

This commit is contained in:
ogabrielluiz 2024-05-30 22:47:29 -03:00
commit 230c4a69ed
8 changed files with 95 additions and 197 deletions

View file

@ -1,6 +1,7 @@
from datetime import datetime
from pathlib import Path
import pytest
from sqlmodel import select
from langflow.initial_setup.setup import (
@ -41,7 +42,8 @@ def test_get_project_data():
assert isinstance(project_icon_bg_color, str) or project_icon_bg_color is None
def test_create_or_update_starter_projects(client):
@pytest.mark.asyncio
async def test_create_or_update_starter_projects(client):
with session_scope() as session:
# Run the function to create or update projects
create_or_update_starter_projects()