mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 15:28:42 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
938a845852
commit
2b28aed4e2
@ -263,7 +263,6 @@ class Executor:
|
|||||||
if authorization.config is None:
|
if authorization.config is None:
|
||||||
raise AuthorizationConfigError("authorization config is required")
|
raise AuthorizationConfigError("authorization config is required")
|
||||||
|
|
||||||
|
|
||||||
if not authorization.config.header:
|
if not authorization.config.header:
|
||||||
authorization.config.header = "Authorization"
|
authorization.config.header = "Authorization"
|
||||||
|
|
||||||
|
|||||||
@ -119,7 +119,6 @@ class VariableAssignerNode(Node):
|
|||||||
income_value = get_zero_value(original_variable.value_type)
|
income_value = get_zero_value(original_variable.value_type)
|
||||||
updated_variable = original_variable.model_copy(update={"value": income_value.to_object()})
|
updated_variable = original_variable.model_copy(update={"value": income_value.to_object()})
|
||||||
|
|
||||||
|
|
||||||
# Over write the variable.
|
# Over write the variable.
|
||||||
self.graph_runtime_state.variable_pool.add(assigned_variable_selector, updated_variable)
|
self.graph_runtime_state.variable_pool.add(assigned_variable_selector, updated_variable)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user