Skip to content

Commit e0ea224

Browse files
wanlin31copybara-github
authored andcommitted
chore: internal change
PiperOrigin-RevId: 880893266
1 parent 1fdb4b8 commit e0ea224

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

google/genai/_interactions/types/dynamic_agent_config_param.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717

1818
from __future__ import annotations
1919

20-
from typing import Dict, Union
21-
from typing_extensions import Literal, Required, TypeAlias, TypedDict
20+
from typing_extensions import Literal, Required, TypedDict
2221

2322
__all__ = ["DynamicAgentConfigParam"]
2423

2524

26-
class DynamicAgentConfigParamTyped(TypedDict, total=False):
25+
class DynamicAgentConfigParam(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
2726
"""Configuration for dynamic agents."""
2827

2928
type: Required[Literal["dynamic"]]
30-
31-
32-
DynamicAgentConfigParam: TypeAlias = Union[DynamicAgentConfigParamTyped, Dict[str, object]]

0 commit comments

Comments
 (0)