瀏覽代碼

[autofix.ci] apply automated fixes

tags/2.0.0-beta.1
autofix-ci[bot] 2 月之前
父節點
當前提交
2b28aed4e2
No account linked to committer's email address

+ 0
- 1
api/core/workflow/nodes/http_request/executor.py 查看文件

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"



+ 0
- 1
api/core/workflow/nodes/variable_assigner/v1/node.py 查看文件

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…
取消
儲存