Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 881a39b

Browse files
authored
Merge branch 'main' into cache-api-context
2 parents 0c22b6c + 72db9d0 commit 881a39b

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:68c7c79adf43af1be4c0527673342dd180aebebf652ea623614eaebff924ca27
22
libraries:
33
- id: gapic-generator
4-
version: 1.30.4
4+
version: 1.30.5
55
last_generated_commit: ""
66
apis: []
77
source_roots:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44

55
[1]: https://pypi.org/project/gapic-generator/#history
66

7+
## [1.30.5](https://github.com/googleapis/gapic-generator-python/compare/v1.30.4...v1.30.5) (2026-01-26)
8+
9+
10+
### Bug Fixes
11+
12+
* fix mypy for services with extended operations methods (#2536) ([84667d1b55a5dd895585ae40cbd32b2925ecf8e8](https://github.com/googleapis/gapic-generator-python/commit/84667d1b55a5dd895585ae40cbd32b2925ecf8e8))
13+
714
## [1.30.4](https://github.com/googleapis/gapic-generator-python/compare/v1.30.3...v1.30.4) (2026-01-20)
815

916

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block content %}
44

55
import abc
6-
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
6+
from typing import {% if service.any_extended_operations_methods %}Any, {% endif %}Awaitable, Callable, Dict, Optional, Sequence, Union
77

88
{% set package_path = api.naming.module_namespace|join('.') + "." + api.naming.versioned_module_name %}
99
from {{package_path}} import gapic_version as package_version

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[mypy]
2-
python_version = 3.8
2+
python_version = 3.14

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
name = "gapic-generator"
2323
description = "Google API Client Generator for Python"
2424
url = "https://github.com/googleapis/gapic-generator-python"
25-
version = "1.30.4"
25+
version = "1.30.5"
2626
release_status = "Development Status :: 5 - Production/Stable"
2727
dependencies = [
2828
# Ensure that the lower bounds of these dependencies match what we have in the

0 commit comments

Comments
 (0)