From 120efad6a3d360f2fa77e3c4e92432b91db69c11 Mon Sep 17 00:00:00 2001 From: Lam Chau Date: Tue, 17 Sep 2024 23:00:56 -0700 Subject: [PATCH] chore: update 3.9+ typings --- src/goose/cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/goose/cli/main.py b/src/goose/cli/main.py index 5ef3dcca0..08bd93e1d 100644 --- a/src/goose/cli/main.py +++ b/src/goose/cli/main.py @@ -1,6 +1,6 @@ from datetime import datetime from pathlib import Path -from typing import Dict, Optional +from typing import Optional import click from rich import print @@ -112,7 +112,7 @@ def session_clear(keep: int) -> None: session_file.unlink() -def get_session_files() -> Dict[str, Path]: +def get_session_files() -> dict[str, Path]: return list_sorted_session_files(SESSIONS_PATH)