Skip to content

Commit abd202f

Browse files
donggyun112claude
andcommitted
docs: wrap metadata docstrings to 80-char line limit
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent db6785a commit abd202f

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/google/adk/agents/invocation_context.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,10 @@ class InvocationContext(BaseModel):
263263
"""Per-request metadata passed from Runner entry points.
264264
265265
This field allows passing arbitrary metadata that can be accessed during
266-
the invocation lifecycle, particularly in callbacks like before_model_callback.
267-
Common use cases include passing user_id, trace_id, memory context keys, or
268-
other request-specific context that needs to be available during processing.
266+
the invocation lifecycle, particularly in callbacks like
267+
before_model_callback. Common use cases include passing user_id, trace_id,
268+
memory context keys, or other request-specific context that needs to be
269+
available during processing.
269270
270271
Supported entry points: run(), run_async(), run_live(), run_debug().
271272
"""

src/google/adk/runners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ async def run_live(
16061606
run_config: The run config for the agent.
16071607
session: The session to use. This parameter is deprecated, please use
16081608
`user_id` and `session_id` instead.
1609-
metadata: Optional per-request metadata that will be passed to callbacks.
1609+
metadata: Optional per-request metadata passed to callbacks.
16101610
16111611
Yields:
16121612
AsyncGenerator[Event, None]: An asynchronous generator that yields
@@ -1816,7 +1816,7 @@ async def run_debug(
18161816
shown).
18171817
verbose: If True, shows detailed tool calls and responses. Defaults to
18181818
False for cleaner output showing only final agent responses.
1819-
metadata: Optional per-request metadata that will be passed to callbacks.
1819+
metadata: Optional per-request metadata passed to callbacks.
18201820
18211821
Returns:
18221822
list[Event]: All events from all messages.

0 commit comments

Comments
 (0)