mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Add is_required / is_repeated properties to FieldDescriptor (#14703)
This commit is contained in:
@@ -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