Skip to content

Commit 8fb65e0

Browse files
sunaokagarrettheel
authored andcommitted
Fix attributes_to_get type stub in models.pyi (#746)
1 parent 69c4dc9 commit 8fb65e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynamodb/models.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Model(metaclass=MetaModel):
4242
def save(self, condition: Optional[Condition] = ...) -> Dict[str, Any]: ...
4343
def refresh(self, consistent_read: bool = ...): ...
4444
@classmethod
45-
def get(cls: Type[_T], hash_key: KeyType, range_key: Optional[KeyType] = ..., consistent_read: bool = ...) -> _T: ...
45+
def get(cls: Type[_T], hash_key: KeyType, range_key: Optional[KeyType] = ..., consistent_read: bool = ..., attributes_to_get: Optional[Sequence[Text]] = ...) -> _T: ...
4646
@classmethod
4747
def from_raw_data(cls: Type[_T], data) -> _T: ...
4848

0 commit comments

Comments
 (0)