fix(tui): resolve call_in_thread union typing
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 23s
CI / build (pull_request) Successful in 23s
CI / helm (pull_request) Successful in 30s
CI / push-validation (pull_request) Successful in 30s
CI / quality (pull_request) Successful in 42s
CI / typecheck (pull_request) Successful in 50s
CI / security (pull_request) Successful in 52s
CI / e2e_tests (pull_request) Successful in 3m5s
CI / integration_tests (pull_request) Successful in 3m57s
CI / unit_tests (pull_request) Successful in 4m53s
CI / docker (pull_request) Successful in 1m18s
CI / coverage (pull_request) Successful in 10m14s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-regression (pull_request) Successful in 58m18s
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 23s
CI / build (pull_request) Successful in 23s
CI / helm (pull_request) Successful in 30s
CI / push-validation (pull_request) Successful in 30s
CI / quality (pull_request) Successful in 42s
CI / typecheck (pull_request) Successful in 50s
CI / security (pull_request) Successful in 52s
CI / e2e_tests (pull_request) Successful in 3m5s
CI / integration_tests (pull_request) Successful in 3m57s
CI / unit_tests (pull_request) Successful in 4m53s
CI / docker (pull_request) Successful in 1m18s
CI / coverage (pull_request) Successful in 10m14s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-regression (pull_request) Successful in 58m18s
Use the concrete ModeResult type when defining the CallInThread protocol so the CleverAgents CLI imports cleanly during Behave and Robot runs, and reformat the fallback quotes file to satisfy the formatter.\n\nRefs: #6357\n\n---\n**Automated by CleverAgents Bot**\nSupervisor: PR Fix Pool | Agent: pr-fix-worker
This commit is contained in:
@@ -30,9 +30,7 @@ if TYPE_CHECKING:
|
||||
else:
|
||||
InputSubmittedEvent = Any
|
||||
|
||||
CallInThread = Callable[
|
||||
[Callable[[], "ModeResult"]], Awaitable["ModeResult"] | "ModeResult"
|
||||
]
|
||||
CallInThread = Callable[[Callable[[], ModeResult]], Awaitable[ModeResult] | ModeResult]
|
||||
|
||||
_TEXTUAL_AVAILABLE = False
|
||||
_TextualApp: type[Any] = object
|
||||
|
||||
@@ -6,10 +6,10 @@ _DATA_PATH = Path(__file__).with_name("data").joinpath("throbber_quotes.txt")
|
||||
_FALLBACK_QUOTES: tuple[str, ...] = (
|
||||
"\"I'm sorry, Dave. I'm afraid I can't do that.\" — HAL 9000",
|
||||
(
|
||||
"\"Any sufficiently advanced technology is indistinguishable from magic.\" "
|
||||
'"Any sufficiently advanced technology is indistinguishable from magic." '
|
||||
"— Arthur C. Clarke"
|
||||
),
|
||||
"\"Logic is the beginning of wisdom, not the end.\" — Spock",
|
||||
'"Logic is the beginning of wisdom, not the end." — Spock',
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user