From a9e5aeb9c637919b54a2d984fc37f5cd69771668 Mon Sep 17 00:00:00 2001 From: Lifei Zhou Date: Thu, 29 Aug 2024 09:02:12 +1000 Subject: [PATCH] minor type change --- src/goose/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/goose/cli/main.py b/src/goose/cli/main.py index d1aee3b0d..61c481ea4 100644 --- a/src/goose/cli/main.py +++ b/src/goose/cli/main.py @@ -79,7 +79,7 @@ def session_start(profile: str, plan: Optional[str] = None) -> None: @session.command(name="resume") @click.argument("name", required=False) @click.option("--profile") -def session_resume(name: str|None, profile: str) -> None: +def session_resume(name: Optional[str], profile: str) -> None: """Resume an existing goose session""" if name is None: session_files = get_session_files()