Files
genai-toolbox/docs/en/getting-started/quickstart/python/core
Mend Renovate 9b67f7354c chore(deps): update dependency google-genai to v1.52.0 (#1840)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [google-genai](https://redirect.github.com/googleapis/python-genai) |
`==1.47.0` -> `==1.52.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/google-genai/1.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/google-genai/1.47.0/1.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>googleapis/python-genai (google-genai)</summary>

###
[`v1.52.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1520-2025-11-21)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.51.0...v1.52.0)

##### Features

- Add support for configuring resource scope when using base\_url
([a3e0859](a3e0859b67))

##### Bug Fixes

- `TypeError: issubclass() arg 1 must be a class` when using`List[str]`
for `contents`
([c624d7e](c624d7e570))
- Create new aiohttp Client Session if loop is closed
([1dc35ea](1dc35ea7ab))

###
[`v1.51.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1510-2025-11-18)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.50.1...v1.51.0)

##### Features

- Add a pre-validation hook to warn about Pydantic model type
mismatches.
([f7af6ef](f7af6ef697))
- Add display name to FunctionResponseBlob
([52906d5](52906d513f))
- Add display name to FunctionResponseFileData
([7c39f70](7c39f70263))
- Add generate\_content\_config.thinking\_level
([30b00db](30b00dbad1))
- Add image output options to ImageConfig for Vertex
([014aaad](014aaad624))
- Add part.media\_resolution
([30b00db](30b00dbad1))
- Support Function call argument streaming for all languages
([9b2ca50](9b2ca50d51))

##### Bug Fixes

- Only log warnings once for accessors in GenerateContentResponse and
LiveServerMessage
([eec841e](eec841e6a3))

##### Documentation

- Remove gemini 2 below model reference
([c42ddff](c42ddff06c))
- Update sample code to use gemini 2 or above
([d48bbba](d48bbba5f8))
- Update Veo and Imagen model id in README
([5c69122](5c69122739))

###
[`v1.50.1`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1501-2025-11-13)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.50.0...v1.50.1)

##### Bug Fixes

- Do not use ADC if passing a base\_url, no project, no location
([a00b67a](a00b67a961))
- Ensure the custom httpx client and async client won't be closed
automatically
([9a9fa3c](9a9fa3c95e))

###
[`v1.50.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1500-2025-11-12)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.49.0...v1.50.0)

##### Features

- Use pytest-xdist for test parallelization
([6ff82fc](6ff82fca9e))

##### Bug Fixes

- Add missing fields to the model types
([4b855e6](4b855e6215))
- Don't generate warnings from response.text property because of
thought\_signature.
([dd9360d](dd9360d21d))
- Fix base\_steps parameter for recontext\_image
([d94077b](d94077bdee))
- Fix file\_search\_stores.documents pagination
([8d40d48](8d40d48d9a))
- Fix models.list() filter parameter
([7fa1e41](7fa1e41580))
- Handle SSE error message types properly in streaming
([72afa50](72afa50eb2))
- Roll back a breaking change to the import system
([8674003](86740033fb))

##### Documentation

- Log Schema.json\_schema and Schema.from\_json\_schema only once
([517300c](517300caab))
- Regenerate docs for 1.49.0
([74b680a](74b680adfd))

###
[`v1.49.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1490-2025-11-05)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.48.0...v1.49.0)

##### Features

- Add complete stats to BatchJob
([b211466](b211466644))
- Add FileSearch tool and associated FileSearchStore management APIs
([2e2a78d](2e2a78d202))
- Add FileSearch tool and associated FileSearchStore management APIs
([7370d24](7370d24899))
- Add image\_size to ImageConfig (Early Access Program)
([81c027c](81c027c937))
- Make genai.Part constructible from PartUnionDict.
([7526e4d](7526e4de84))

##### Bug Fixes

- Raise errors during file upload.
([946a17e](946a17e0a9))
- Use duck type in t\_part transformer
([be82981](be82981afe))

##### Documentation

- Log deprecation waring to Schema.from\_json\_schema method and
Schema.json\_schema method
([856789a](856789a7a7))
- Regenerate docs for 1.48.0
([004d238](004d238b4f))
- Update log message in Schema.json\_schema and
Schema.from\_json\_schema methods
([5bf69e5](5bf69e55f1))

###
[`v1.48.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1480-2025-11-03)

[Compare
Source](https://redirect.github.com/googleapis/python-genai/compare/v1.47.0...v1.48.0)

##### Features

- Added phish filtering feature.
([a9297b7](a9297b747e))
- Drop support for Python 3.9 - EOL
([b542082](b54208200e))

##### Bug Fixes

- Append the current model chunk to contents in async streaming
([7c5cf56](7c5cf56ef1))
- Disable AFC when there are incompatible tool presented.
([ce13aef](ce13aefa42))
- Offload sync python tool calls to a thread when used from async
context.
([f2a0782](f2a0782726))
- Only show warning log for non-text or multi-candidate fields when
response.text is accessed directly
([bf82505](bf82505c58))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQyLjE2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com>
Co-authored-by: Harsh Jha <83023263+rapid-killer-9@users.noreply.github.com>
2025-11-21 09:08:11 +00:00
..