Skip to content

Commit 3b5538d

Browse files
committed
Fix ruff
1 parent 7f8d258 commit 3b5538d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/a2a/compat/v0_3/conversions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
from typing import Any
44

5+
from cryptography.fernet import (
6+
Fernet,
7+
)
58
from google.protobuf.json_format import MessageToDict, ParseDict
69

710
from a2a.compat.v0_3 import types as types_v03
811
from a2a.server.models import PushNotificationConfigModel, TaskModel
912
from a2a.types import a2a_pb2 as pb2_v10
10-
from cryptography.fernet import (
11-
Fernet,
12-
)
1313

1414

1515
_COMPAT_TO_CORE_TASK_STATE: dict[types_v03.TaskState, Any] = {

src/a2a/server/tasks/database_push_notification_config_store.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
)
4545
from a2a.types.a2a_pb2 import TaskPushNotificationConfig
4646

47+
4748
if TYPE_CHECKING:
4849
from cryptography.fernet import Fernet
4950
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)