Skip to content

Commit 35332a9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0c04a2b commit 35332a9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/jupyter-ai/jupyter_ai/personas/base_persona.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# types imported under this block have to be surrounded in single quotes on use
1717
if TYPE_CHECKING:
1818
from collections.abc import AsyncIterator
19+
1920
from .persona_manager import PersonaManager
2021

2122

@@ -211,7 +212,9 @@ def as_user_dict(self) -> Dict[str, Any]:
211212
user = self.as_user()
212213
return asdict(user)
213214

214-
async def forward_reply_stream(self, reply_stream: "AsyncIterator") -> Awaitable[None]:
215+
async def forward_reply_stream(
216+
self, reply_stream: "AsyncIterator"
217+
) -> Awaitable[None]:
215218
"""
216219
Forwards an async iterator, dubbed the 'reply stream', to a new message
217220
by this persona in the YChat.

packages/jupyter-ai/jupyter_ai/personas/jupyternaut/jupyternaut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from typing import Any
21
from collections.abc import Awaitable
2+
from typing import Any
33

44
from jupyterlab_chat.models import Message
55
from langchain_core.output_parsers import StrOutputParser

0 commit comments

Comments
 (0)