Format code and update langflow version (#1922)
* format * chore: Bump langflow version to 1.0.0a34 and langflow-base version to 0.0.45 * Fix fallback_to_env_vars type hint * chore: Add fallback_to_env_vars parameter to run_flow_from_json function The `run_flow_from_json` function now accepts a new optional parameter `fallback_to_env_vars` which determines whether Global Variables should fallback to environment variables if not found. This change allows for more flexibility in handling variable values. * chore: Add fallback_to_env_vars parameter to run_flow_from_json function * chore: Set file path to None when not found in component This commit modifies the `Vertex` class to set the file path to `None` when it is not found for a required field in a component. This change ensures that the code can handle missing file paths gracefully and avoids raising a `ValueError`. * chore: Add fallback_to_env_vars parameter to run_flow_from_json function * new package lock
This commit is contained in:
parent
5fe118a68a
commit
5c2ab59797
57 changed files with 14662 additions and 14666 deletions
|
|
@ -407,7 +407,7 @@ def test_update_source_handle():
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_pickle_graph(json_vector_store):
|
||||
async def test_pickle_graph():
|
||||
starter_projects = load_starter_projects()
|
||||
data = starter_projects[0][1]["data"]
|
||||
graph = Graph.from_payload(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue