chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
56c90e212a
commit
c69f5b07ba
85 changed files with 459 additions and 324 deletions
|
|
@ -246,7 +246,8 @@ class Workflow(db.Model):
|
|||
if any(var for var in value if not var.id):
|
||||
raise ValueError("environment variable require a unique id")
|
||||
|
||||
# Compare inputs and origin variables, if the value is HIDDEN_VALUE, use the origin variable value (only update `name`).
|
||||
# Compare inputs and origin variables,
|
||||
# if the value is HIDDEN_VALUE, use the origin variable value (only update `name`).
|
||||
origin_variables_dictionary = {var.id: var for var in self.environment_variables}
|
||||
for i, variable in enumerate(value):
|
||||
if variable.id in origin_variables_dictionary and variable.value == HIDDEN_VALUE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue