chore: bump ruff to 0.11.0 and fix linting violations (#15953)
This commit is contained in:
parent
98a4b3e78b
commit
9e782d4c1e
10 changed files with 155 additions and 454 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
from collections.abc import Generator, Mapping, Sequence
|
||||
from datetime import datetime, timezone
|
||||
from datetime import UTC, datetime
|
||||
from typing import Any, cast
|
||||
|
||||
from configs import dify_config
|
||||
|
|
@ -80,7 +80,7 @@ class LoopNode(BaseNode[LoopNodeData]):
|
|||
thread_pool_id=self.thread_pool_id,
|
||||
)
|
||||
|
||||
start_at = datetime.now(timezone.utc).replace(tzinfo=None)
|
||||
start_at = datetime.now(UTC).replace(tzinfo=None)
|
||||
condition_processor = ConditionProcessor()
|
||||
|
||||
# Start Loop event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue