ref: Rename component modules to lower case (ruff N999) (#4220)

* Rename component modules to lower case (ruff N999)

* git rename workaround (1/2)

* git rename workaround (2/2)

* Rollback changes on schema __init__

* Fix tests
This commit is contained in:
Christophe Bornet 2024-10-22 18:46:32 +02:00 • committed by GitHub
commit 6e39dedaae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
235 changed files with 284 additions and 248 deletions

View file

@ -1,6 +1,6 @@
from collections.abc import Callable
from langflow.components.inputs.ChatInput import ChatInput
from langflow.components.inputs import ChatInput
def test_component_to_toolkit():

View file

@ -1,11 +1,10 @@
import pytest
from langflow.components.agents.CrewAIAgent import CrewAIAgentComponent
from langflow.components.agents.ToolCallingAgent import ToolCallingAgentComponent
from langflow.components.helpers.SequentialTask import SequentialTaskComponent
from langflow.components.inputs.ChatInput import ChatInput
from langflow.components.models.OpenAIModel import OpenAIModelComponent
from langflow.components.agents import CrewAIAgentComponent, ToolCallingAgentComponent
from langflow.components.helpers import SequentialTaskComponent
from langflow.components.inputs import ChatInput
from langflow.components.models import OpenAIModelComponent
from langflow.components.outputs import ChatOutput
from langflow.template.field.base import Output
from langflow.template import Output
def test_set_invalid_output():