Skip to content

Commit

Permalink
Fix typing for 3.9 and import order.
Browse files Browse the repository at this point in the history
  • Loading branch information
byllyfish committed Jul 14, 2023
1 parent e3fc863 commit e3a1178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shellous/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import asyncio
from typing import Optional

from shellous.runner import Runner
from shellous.harvest import harvest_results
from shellous.runner import Runner


class Prompt:
Expand Down Expand Up @@ -48,7 +48,7 @@ async def send(
self,
input_text: str = "",
*,
timeout: float | None = None,
timeout: Optional[float] = None,
) -> str:
"Write some input text to stdin, then await the response."
stdin = self.runner.stdin
Expand Down

0 comments on commit e3a1178

Please sign in to comment.