aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2025-05-31 09:35:05 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2025-05-31 09:52:51 +0300
commit0d86826871d3d0ce988823be681473aeacdf26b9 (patch)
tree7b938aa84c7fbc2a872c135fdea98f7da682335f
parent1849982e807e525e4f202310b18677ed41c4e093 (diff)
downloadydb-0d86826871d3d0ce988823be681473aeacdf26b9.tar.gz
Update contrib/python/types-protobuf to 6.30.2.20250516
commit_hash:7a31c2f1702a251643032add182c83498de96056
-rw-r--r--contrib/python/types-protobuf/.dist-info/METADATA4
-rw-r--r--contrib/python/types-protobuf/README.md2
-rw-r--r--contrib/python/types-protobuf/google-stubs/protobuf/descriptor.pyi21
-rw-r--r--contrib/python/types-protobuf/google-stubs/protobuf/descriptor_pool.pyi6
-rw-r--r--contrib/python/types-protobuf/google-stubs/protobuf/internal/well_known_types.pyi2
-rw-r--r--contrib/python/types-protobuf/ya.make2
6 files changed, 18 insertions, 19 deletions
diff --git a/contrib/python/types-protobuf/.dist-info/METADATA b/contrib/python/types-protobuf/.dist-info/METADATA
index 0fd53bbd2c4..0bf803fbc14 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.20250506
+Version: 6.30.2.20250516
Summary: Typing stubs for protobuf
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/python/typeshed
@@ -46,4 +46,4 @@ mypy 1.15.0,
pyright 1.1.400,
and pytype 2024.10.11.
It was generated from typeshed commit
-[`4265ee7c72f476e7156949e55784fd82b40e6953`](https://github.com/python/typeshed/commit/4265ee7c72f476e7156949e55784fd82b40e6953).
+[`126768408a69b7a3a09b7d3992970b289f92937e`](https://github.com/python/typeshed/commit/126768408a69b7a3a09b7d3992970b289f92937e).
diff --git a/contrib/python/types-protobuf/README.md b/contrib/python/types-protobuf/README.md
index c35bf581ad2..5b485981e77 100644
--- a/contrib/python/types-protobuf/README.md
+++ b/contrib/python/types-protobuf/README.md
@@ -29,4 +29,4 @@ mypy 1.15.0,
pyright 1.1.400,
and pytype 2024.10.11.
It was generated from typeshed commit
-[`4265ee7c72f476e7156949e55784fd82b40e6953`](https://github.com/python/typeshed/commit/4265ee7c72f476e7156949e55784fd82b40e6953). \ No newline at end of file
+[`126768408a69b7a3a09b7d3992970b289f92937e`](https://github.com/python/typeshed/commit/126768408a69b7a3a09b7d3992970b289f92937e). \ No newline at end of file
diff --git a/contrib/python/types-protobuf/google-stubs/protobuf/descriptor.pyi b/contrib/python/types-protobuf/google-stubs/protobuf/descriptor.pyi
index 45891fda76c..c1c5fc33823 100644
--- a/contrib/python/types-protobuf/google-stubs/protobuf/descriptor.pyi
+++ b/contrib/python/types-protobuf/google-stubs/protobuf/descriptor.pyi
@@ -1,4 +1,3 @@
-from _typeshed import Incomplete
from typing import Any
from .descriptor_pb2 import (
@@ -71,17 +70,17 @@ class Descriptor(_NestedDescriptorBase):
nested_types: list[FieldDescriptor],
enum_types: list[EnumDescriptor],
extensions: list[FieldDescriptor],
- options: Incomplete | None = None,
- serialized_options: Incomplete | None = None,
+ options=None,
+ serialized_options=None,
is_extendable: bool | None = True,
- extension_ranges: Incomplete | None = None,
+ extension_ranges=None,
oneofs: list[OneofDescriptor] | None = None,
file: FileDescriptor | None = None,
- serialized_start: Incomplete | None = None,
- serialized_end: Incomplete | None = None,
+ serialized_start=None,
+ serialized_end=None,
syntax: str | None = None,
is_map_entry=False,
- create_key: Incomplete | None = None,
+ create_key=None,
): ...
def EnumValueName(self, enum, value): ...
def CopyToProto(self, proto): ...
@@ -264,11 +263,11 @@ class ServiceDescriptor(_NestedDescriptorBase):
index: int,
methods: list[MethodDescriptor],
options: ServiceOptions | None = None,
- serialized_options: Incomplete | None = None,
+ serialized_options=None,
file: FileDescriptor | None = None,
- serialized_start: Incomplete | None = None,
- serialized_end: Incomplete | None = None,
- create_key: Incomplete | None = None,
+ serialized_start=None,
+ serialized_end=None,
+ create_key=None,
): ...
def FindMethodByName(self, name): ...
def CopyToProto(self, proto): ...
diff --git a/contrib/python/types-protobuf/google-stubs/protobuf/descriptor_pool.pyi b/contrib/python/types-protobuf/google-stubs/protobuf/descriptor_pool.pyi
index f555c5d73e5..bb1d19004e8 100644
--- a/contrib/python/types-protobuf/google-stubs/protobuf/descriptor_pool.pyi
+++ b/contrib/python/types-protobuf/google-stubs/protobuf/descriptor_pool.pyi
@@ -1,9 +1,9 @@
-from _typeshed import Incomplete, Unused
+from _typeshed import Unused
class DescriptorPool:
- def __new__(cls, descriptor_db: Incomplete | None = None): ...
+ def __new__(cls, descriptor_db=None): ...
def __init__( # pyright: ignore[reportInconsistentConstructor]
- self, descriptor_db: Incomplete | None = None, use_deprecated_legacy_json_field_conflicts: Unused = False
+ self, descriptor_db=None, use_deprecated_legacy_json_field_conflicts: Unused = False
) -> None: ...
def Add(self, file_desc_proto): ...
def AddSerializedFile(self, serialized_file_desc_proto): ...
diff --git a/contrib/python/types-protobuf/google-stubs/protobuf/internal/well_known_types.pyi b/contrib/python/types-protobuf/google-stubs/protobuf/internal/well_known_types.pyi
index 5013ea53fc0..4ed2f895c76 100644
--- a/contrib/python/types-protobuf/google-stubs/protobuf/internal/well_known_types.pyi
+++ b/contrib/python/types-protobuf/google-stubs/protobuf/internal/well_known_types.pyi
@@ -9,7 +9,7 @@ from google.protobuf import struct_pb2
class Any:
type_url: str
value: Incomplete
- def Pack(self, msg, type_url_prefix: str = "type.googleapis.com/", deterministic: Incomplete | None = None) -> None: ...
+ def Pack(self, msg, type_url_prefix: str = "type.googleapis.com/", deterministic=None) -> None: ...
def Unpack(self, msg) -> bool: ...
def TypeName(self) -> str: ...
def Is(self, descriptor) -> bool: ...
diff --git a/contrib/python/types-protobuf/ya.make b/contrib/python/types-protobuf/ya.make
index e93e7b16e84..33f3f6ac13c 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.20250506)
+VERSION(6.30.2.20250516)
LICENSE(Apache-2.0)