Skip to content

Commit ee5b4e5

Browse files
committed
fix: removed duplicate outer module imports
1 parent 63ea9e4 commit ee5b4e5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/agents/extensions/memory/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
from typing import Any
1212

13-
from .encrypt_session import EncryptedSession # noqa: F401
14-
from .sqlalchemy_session import SQLAlchemySession # noqa: F401
15-
1613
__all__: list[str] = [
1714
"EncryptedSession",
1815
"SQLAlchemySession",
@@ -22,7 +19,7 @@
2219
def __getattr__(name: str) -> Any:
2320
if name == "EncryptedSession":
2421
try:
25-
from .encrypt_session import EncryptedSession
22+
from .encrypt_session import EncryptedSession # noqa: F401
2623

2724
return EncryptedSession
2825
except ModuleNotFoundError as e:
@@ -33,7 +30,7 @@ def __getattr__(name: str) -> Any:
3330

3431
if name == "SQLAlchemySession":
3532
try:
36-
from .sqlalchemy_session import SQLAlchemySession
33+
from .sqlalchemy_session import SQLAlchemySession # noqa: F401
3734

3835
return SQLAlchemySession
3936
except ModuleNotFoundError as e:

0 commit comments

Comments
 (0)