Enforce all pyflake lint rules (#6033)

* Enforce F821 undefined-name

* Enforce all pyflake lint rules
This commit is contained in:
Chenlei Hu
2024-12-12 16:29:37 -08:00
committed by GitHub
parent 6c0377f43e
commit 563291ee51
9 changed files with 12 additions and 18 deletions

View File

@@ -760,7 +760,7 @@ def validate_prompt(prompt):
if 'class_type' not in prompt[x]:
error = {
"type": "invalid_prompt",
"message": f"Cannot execute because a node is missing the class_type property.",
"message": "Cannot execute because a node is missing the class_type property.",
"details": f"Node ID '#{x}'",
"extra_info": {}
}