fix: db_model save to _node_execution_cache (#19911)
This commit is contained in:
parent
11146b6bae
commit
bbebf9ad3e
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ class SQLAlchemyWorkflowNodeExecutionRepository(WorkflowNodeExecutionRepository)
|
||||||
# Only cache if we have a node_execution_id to use as the cache key
|
# Only cache if we have a node_execution_id to use as the cache key
|
||||||
if db_model.node_execution_id:
|
if db_model.node_execution_id:
|
||||||
logger.debug(f"Updating cache for node_execution_id: {db_model.node_execution_id}")
|
logger.debug(f"Updating cache for node_execution_id: {db_model.node_execution_id}")
|
||||||
self._node_execution_cache[db_model.node_execution_id] = db_model
|
self._node_execution_cache[db_model.node_execution_id] = execution
|
||||||
|
|
||||||
def get_by_node_execution_id(self, node_execution_id: str) -> Optional[NodeExecution]:
|
def get_by_node_execution_id(self, node_execution_id: str) -> Optional[NodeExecution]:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue