Skip to content

Conversation

@imohitkr
Copy link

@imohitkr imohitkr commented Dec 19, 2025

Summary

  • Adds the metadata field to InlinedResponse class in types.py
  • Adds the metadata field to InlinedResponseDict TypedDict in types.py
  • Updates _InlinedResponse_from_mldev in batches.py to copy the metadata field from the API response

Problem

InlinedResponse was missing the metadata field that is documented in the REST API and present in InlinedRequest. This prevented users from tracking custom identifiers through batch processing.

Fixes #1886

@google-cla
Copy link

google-cla bot commented Dec 19, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

The InlinedResponse class was missing the metadata field that is
documented in the REST API and present in InlinedRequest. This
prevented users from tracking custom identifiers through batch
processing.

Fixes googleapis#1886
@imohitkr imohitkr force-pushed the fix/inlined-response-metadata branch from 7612278 to 20ad65e Compare December 19, 2025 15:49
@janasangeetha janasangeetha self-assigned this Dec 22, 2025
@janasangeetha janasangeetha added the size:M Code changes between 10-40 lines label Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M Code changes between 10-40 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] InlinedResponse missing metadata field - batch API responses don't include request metadata

2 participants