mirror of https://github.com/langgenius/dify.git
fix: missing _extract_variable_selector_to_variable_mapping
This commit is contained in:
parent
8b809b8004
commit
71ff2a8356
|
|
@ -1,10 +1,11 @@
|
|||
import re
|
||||
from copy import deepcopy
|
||||
from typing import Any, Union
|
||||
from urllib.parse import urlencode
|
||||
|
||||
import httpx
|
||||
import re
|
||||
import requests
|
||||
|
||||
import core.helper.ssrf_proxy as ssrf_proxy
|
||||
from core.workflow.nodes.http_request.entities import HttpRequestNodeData
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from os import error
|
||||
from typing import cast
|
||||
|
||||
from core.workflow.entities.base_node_data_entities import BaseNodeData
|
||||
from core.workflow.entities.node_entities import NodeRunResult, NodeType
|
||||
from core.workflow.entities.variable_pool import VariablePool
|
||||
|
|
@ -49,10 +49,12 @@ class HttpRequestNode(BaseNode):
|
|||
|
||||
|
||||
@classmethod
|
||||
def _extract_variable_selector_to_variable_mapping(cls, node_data: BaseNodeData) -> dict[list[str], str]:
|
||||
def _extract_variable_selector_to_variable_mapping(cls, node_data: HttpRequestNodeData) -> dict[list[str], str]:
|
||||
"""
|
||||
Extract variable selector to variable mapping
|
||||
:param node_data: node data
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
return {
|
||||
variable_selector.value_selector: variable_selector.variable for variable_selector in node_data.variables
|
||||
}
|
||||
Loading…
Reference in New Issue