Update Vertex params in base.py
This commit is contained in:
parent
7e5b2c5d14
commit
665a5011e3
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import inspect
|
|||
import types
|
||||
from enum import Enum
|
||||
from typing import TYPE_CHECKING, Any, AsyncIterator, Callable, Dict, Iterator, List, Optional
|
||||
|
||||
from loguru import logger
|
||||
|
||||
from langflow.graph.schema import INPUT_COMPONENTS, OUTPUT_COMPONENTS, InterfaceComponentTypes, ResultData
|
||||
|
|
@ -385,6 +386,7 @@ class Vertex:
|
|||
if key not in self._raw_params:
|
||||
new_params.pop(key)
|
||||
self._raw_params.update(new_params)
|
||||
self.params = self._raw_params.copy()
|
||||
self.updated_raw_params = True
|
||||
|
||||
async def _build(self, user_id=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue