mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add 'file=...' to FieldDescriptor constructor. (#2073)
This commit is contained in:
committed by
Jelle Zijlstra
parent
5818893a7f
commit
2dc7d39af5
4
third_party/2/google/protobuf/descriptor.pyi
vendored
4
third_party/2/google/protobuf/descriptor.pyi
vendored
@@ -82,7 +82,7 @@ class FieldDescriptor(DescriptorBase):
|
||||
MAX_FIELD_NUMBER = ... # type: Any
|
||||
FIRST_RESERVED_FIELD_NUMBER = ... # type: Any
|
||||
LAST_RESERVED_FIELD_NUMBER = ... # type: Any
|
||||
def __new__(cls, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., has_default_value=..., containing_oneof=...): ...
|
||||
def __new__(cls, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., file=..., has_default_value=..., containing_oneof=...): ...
|
||||
name = ... # type: Any
|
||||
full_name = ... # type: Any
|
||||
index = ... # type: Any
|
||||
@@ -98,7 +98,7 @@ class FieldDescriptor(DescriptorBase):
|
||||
is_extension = ... # type: Any
|
||||
extension_scope = ... # type: Any
|
||||
containing_oneof = ... # type: Any
|
||||
def __init__(self, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., has_default_value=..., containing_oneof=...) -> None: ...
|
||||
def __init__(self, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., file=..., has_default_value=..., containing_oneof=...) -> None: ...
|
||||
@staticmethod
|
||||
def ProtoTypeToCppProtoType(proto_type): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user