Skip to content

Commit b62b923

Browse files
committed
fix: use Optional[RunConfig] instead of RunConfig|None as the return type so as to consistent with rest of the code
1 parent 065e447 commit b62b923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/agents/readonly_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ def session(self) -> Session:
6060
return self._invocation_context.session
6161

6262
@property
63-
def run_config(self) -> RunConfig|None:
63+
def run_config(self) -> Optional[RunConfig]:
6464
"""The run config of the current invocation. READONLY field."""
6565
return self._invocation_context.run_config

0 commit comments

Comments
 (0)