fix(workflow): improve database session handling and variable management (#9581)

This commit is contained in:
-LAN- 2024-10-22 00:42:40 +08:00 • committed by GitHub
commit c063617553
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 28 deletions

View file

@ -96,9 +96,6 @@ class VariablePool(BaseModel):
if len(selector) < 2:
raise ValueError("Invalid selector")
if value is None:
return
if isinstance(value, Segment):
v = value
else: