Skip to content

Commit 0ae7705

Browse files
committed
Fixing Mypy error
1 parent 8624ef0 commit 0ae7705

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/cli/fast_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __getitem__(self, app_name: str) -> str:
7979
try:
8080
loaded = self.agent_loader.load_agent(folder_name)
8181
if isinstance(loaded, App) and loaded.name == app_name:
82-
return folder_name
82+
return str(folder_name)
8383
except Exception:
8484
pass
8585
return app_name

0 commit comments

Comments
 (0)