Skip to content

Commit 4874950

Browse files
committed
more 3.9 type fixes
1 parent d46d768 commit 4874950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rigging/integrations/robopages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def robopages(url: str, *, tool_type: t.Literal["native"]) -> list[Tool]:
113113

114114

115115
def robopages(
116-
url: str, *, tool_type: ToolType = "api", name_filter: str | None = None
117-
) -> list[RobopagesApiTool] | list[Tool]:
116+
url: str, *, tool_type: ToolType = "api", name_filter: t.Optional[str] = None
117+
) -> t.Union[list[RobopagesApiTool], list[Tool]]:
118118
"""
119119
Create a list of tools from a Robopages server.
120120

0 commit comments

Comments
 (0)