Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion third_party/2and3/google/protobuf/struct_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ from google.protobuf.message import (
)

from typing import (
Any,
Iterable as typing___Iterable,
Mapping as typing___Mapping,
NewType as typing___NewType,
Expand All @@ -50,7 +51,11 @@ DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...

NullValueValue = typing___NewType('NullValueValue', builtin___int)
type___NullValueValue = NullValueValue
NullValue: _NullValue

# We temporary set this to Any to simplify mypy-protobuf migration,
# replace with `NullValue: _NullValue` after mypy-protobuf 1.24 is out.
NullValue = Any

class _NullValue(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[NullValueValue]):
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
NULL_VALUE = typing___cast(NullValueValue, 0)
Expand Down