We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2c0ba commit 90abe79Copy full SHA for 90abe79
src/a2a/server/tasks/database_push_notification_config_store.py
@@ -94,7 +94,7 @@ def __init__(
94
95
if encryption_key:
96
try:
97
- from cryptography.fernet import Fernet # noqa: PLC0415
+ from cryptography.fernet import Fernet
98
except ImportError as e:
99
raise ImportError(
100
"DatabasePushNotificationConfigStore with encryption requires the 'cryptography' "
@@ -166,7 +166,7 @@ def _from_orm(
166
payload = model_instance.config_data
167
168
if self._fernet:
169
- from cryptography.fernet import InvalidToken # noqa: PLC0415
+ from cryptography.fernet import InvalidToken
170
171
172
decrypted_payload = self._fernet.decrypt(payload)
0 commit comments