summaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2025-07-18 09:09:37 +0300
committerrobot-contrib <[email protected]>2025-07-18 09:26:10 +0300
commite0b0dd77ded87e2e73d6a47ddea56ee26f452b6d (patch)
tree8af9cd8ee3e3eef7f940b27bbf99a0b33ae82dd9 /contrib/python
parentb27290b9f146a42ce239e15c67cf203f4a151aa7 (diff)
Update contrib/python/types-protobuf to 6.30.2.20250703
commit_hash:d2b0fc19d1e1d971ea1e3c0a252c23f2642d25b5
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/types-protobuf/.dist-info/METADATA6
-rw-r--r--contrib/python/types-protobuf/README.md4
-rw-r--r--contrib/python/types-protobuf/google-stubs/protobuf/internal/containers.pyi8
-rw-r--r--contrib/python/types-protobuf/ya.make2
4 files changed, 12 insertions, 8 deletions
diff --git a/contrib/python/types-protobuf/.dist-info/METADATA b/contrib/python/types-protobuf/.dist-info/METADATA
index 0bf803fbc14..eed8dfd2af2 100644
--- a/contrib/python/types-protobuf/.dist-info/METADATA
+++ b/contrib/python/types-protobuf/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: types-protobuf
-Version: 6.30.2.20250516
+Version: 6.30.2.20250703
Summary: Typing stubs for protobuf
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/python/typeshed
@@ -42,8 +42,8 @@ for more details. The source for this package can be found in the
directory.
This package was tested with
-mypy 1.15.0,
+mypy 1.16.1,
pyright 1.1.400,
and pytype 2024.10.11.
It was generated from typeshed commit
-[`126768408a69b7a3a09b7d3992970b289f92937e`](https://github.com/python/typeshed/commit/126768408a69b7a3a09b7d3992970b289f92937e).
+[`dbd3ad356ef3bceae506fb71a29a48b6192213ba`](https://github.com/python/typeshed/commit/dbd3ad356ef3bceae506fb71a29a48b6192213ba).
diff --git a/contrib/python/types-protobuf/README.md b/contrib/python/types-protobuf/README.md
index 5b485981e77..4734a9b1ff7 100644
--- a/contrib/python/types-protobuf/README.md
+++ b/contrib/python/types-protobuf/README.md
@@ -25,8 +25,8 @@ for more details. The source for this package can be found in the
directory.
This package was tested with
-mypy 1.15.0,
+mypy 1.16.1,
pyright 1.1.400,
and pytype 2024.10.11.
It was generated from typeshed commit
-[`126768408a69b7a3a09b7d3992970b289f92937e`](https://github.com/python/typeshed/commit/126768408a69b7a3a09b7d3992970b289f92937e). \ No newline at end of file
+[`dbd3ad356ef3bceae506fb71a29a48b6192213ba`](https://github.com/python/typeshed/commit/dbd3ad356ef3bceae506fb71a29a48b6192213ba). \ No newline at end of file
diff --git a/contrib/python/types-protobuf/google-stubs/protobuf/internal/containers.pyi b/contrib/python/types-protobuf/google-stubs/protobuf/internal/containers.pyi
index 75261371607..1431c3b1379 100644
--- a/contrib/python/types-protobuf/google-stubs/protobuf/internal/containers.pyi
+++ b/contrib/python/types-protobuf/google-stubs/protobuf/internal/containers.pyi
@@ -72,7 +72,9 @@ class ScalarMap(MutableMapping[_K, _ScalarV]):
@overload
def get(self, key: _K, default: None = None) -> _ScalarV | None: ...
@overload
- def get(self, key: _K, default: _ScalarV | _T) -> _ScalarV | _T: ...
+ def get(self, key: _K, default: _ScalarV) -> _ScalarV: ...
+ @overload
+ def get(self, key: _K, default: _T) -> _ScalarV | _T: ...
def setdefault(self, key: _K, value: _ScalarV | None = None) -> _ScalarV: ...
def MergeFrom(self, other: Self): ...
def InvalidateIterators(self) -> None: ...
@@ -95,7 +97,9 @@ class MessageMap(MutableMapping[_K, _MessageV]):
@overload
def get(self, key: _K, default: None = None) -> _MessageV | None: ...
@overload
- def get(self, key: _K, default: _MessageV | _T) -> _MessageV | _T: ...
+ def get(self, key: _K, default: _MessageV) -> _MessageV: ...
+ @overload
+ def get(self, key: _K, default: _T) -> _MessageV | _T: ...
def get_or_create(self, key: _K) -> _MessageV: ...
def setdefault(self, key: _K, value: _MessageV | None = None) -> _MessageV: ...
def MergeFrom(self, other: Self): ...
diff --git a/contrib/python/types-protobuf/ya.make b/contrib/python/types-protobuf/ya.make
index 33f3f6ac13c..c70d8edee22 100644
--- a/contrib/python/types-protobuf/ya.make
+++ b/contrib/python/types-protobuf/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.30.2.20250516)
+VERSION(6.30.2.20250703)
LICENSE(Apache-2.0)