mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
Add is_required / is_repeated properties to FieldDescriptor (#14703)
This commit is contained in:
1 parent
a56f819f5a
commit
add4e85823
1 file changed
+4
@@ -156,6 +156,10 @@ class FieldDescriptor(DescriptorBase):
|
||||
@property
|
||||
def label(self): ...
|
||||
@property
|
||||
def is_required(self) -> bool: ...
|
||||
@property
|
||||
def is_repeated(self) -> bool: ...
|
||||
@property
|
||||
def camelcase_name(self) -> str: ...
|
||||
@property
|
||||
def has_presence(self) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user