mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Make update parameters all optional (#1913)
As of https://github.com/pynamodb/PynamoDB/pull/352 all of these params are optional.
This commit is contained in:
committed by
Jelle Zijlstra
parent
84b6e95bdc
commit
8891b02d51
2
third_party/2and3/pynamodb/models.pyi
vendored
2
third_party/2and3/pynamodb/models.pyi
vendored
@@ -29,7 +29,7 @@ class Model(metaclass=MetaModel):
|
||||
@classmethod
|
||||
def batch_write(cls: Type[_T], auto_commit: bool = ...) -> BatchWrite[_T]: ...
|
||||
def delete(self, conditional_operator: Optional[Text] = ..., **expected_values) -> Any: ...
|
||||
def update(self, attributes: Optional[Dict[Text, Dict[Text, Any]]], actions: Optional[List[Any]], condition: Optional[Any], conditional_operator: Optional[Text] = ..., **expected_values) -> Any: ...
|
||||
def update(self, attributes: Optional[Dict[Text, Dict[Text, Any]]] = ..., actions: Optional[List[Any]] = ..., condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values) -> Any: ...
|
||||
def update_item(self, attribute: Text, value: Optional[Any] = ..., action: Optional[Text] = ..., conditional_operator: Optional[Text] = ..., **expected_values): ...
|
||||
def save(self, condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values) -> Dict[str, Any]: ...
|
||||
def refresh(self, consistent_read: bool = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user