langflow/tests/data
Gabriel Luiz Freitas Almeida 03329b232e
fix: make webhook api call honor webhook component as input (#2511)
* refactor(base.py): refactor logic to find start_component_id based on multiple keywords for improved flexibility and readability

* feat(schema.py): add WebhookInput component type to INPUT_COMPONENTS list for handling webhook inputs in the graph schema

* refactor(base.py): refactor logic to determine start_component_id based on webhook or chat component presence in input vertices

* refactor: prioritize webhook component for determining start_component_id

* feat(utils.py): add function find_start_component_id to find component ID based on priority list of input types

* refactor(graph/base.py): refactor logic to find start component id in Graph class for better readability and maintainability

* test(test_webhook.py): override pytest fixture to check for OpenAI API key in environment variables before running tests

* test(test_webhook.py): update webhook json

* feat(schema.py): update WebhookInput component type name

* refactor: log package run telemetry in simplified_run_flow

* test: add test for webhook flow on run endpoint

* refactor(graph/base.py): skip unbuilt vertices when getting vertex outputs in Graph class

* refactor: simplify data_input assignment in LCTextSplitterComponent

* refactor: remove unused build method in CharacterTextSplitterComponent

* refactor: update imports in CharacterTextSplitter.py
2024-07-04 11:11:55 -07:00
..
basic_example.json fix: "Flow" object has no field "last_tested_version" when loading flows from dir (#2221) 2024-06-19 18:15:50 +02:00
BasicChatwithPromptandHistory.json move data folder back 2024-06-18 18:47:04 -03:00
ChatInputTest.json move data folder back 2024-06-18 18:47:04 -03:00
complex_example.json move data folder back 2024-06-18 18:47:04 -03:00
component.py move data folder back 2024-06-18 18:47:04 -03:00
component_multiple_outputs.py refactor: rename TextInput to MessageTextInput 2024-06-23 15:24:11 -07:00
component_nested_call.py refactor: rename TextInput to MessageTextInput 2024-06-23 15:24:11 -07:00
component_with_templatefield.py move data folder back 2024-06-18 18:47:04 -03:00
grouped_chat.json move data folder back 2024-06-18 18:47:04 -03:00
one_group_chat.json move data folder back 2024-06-18 18:47:04 -03:00
Openapi.json move data folder back 2024-06-18 18:47:04 -03:00
TwoOutputsTest.json move data folder back 2024-06-18 18:47:04 -03:00
Vector_store.json move data folder back 2024-06-18 18:47:04 -03:00
vector_store_grouped.json move data folder back 2024-06-18 18:47:04 -03:00
WebhookTest.json fix: make webhook api call honor webhook component as input (#2511) 2024-07-04 11:11:55 -07:00