We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3378da2 commit b646d83Copy full SHA for b646d83
pynamodb/models.py
@@ -470,7 +470,8 @@ def refresh(self, consistent_read=False):
470
def get(cls,
471
hash_key,
472
range_key=None,
473
- consistent_read=False):
+ consistent_read=False,
474
+ attributes_to_get=None):
475
"""
476
Returns a single object using the provided keys
477
@@ -481,7 +482,8 @@ def get(cls,
481
482
data = cls._get_connection().get_item(
483
484
range_key=range_key,
- consistent_read=consistent_read
485
+ consistent_read=consistent_read,
486
+ attributes_to_get=attributes_to_get
487
)
488
if data:
489
item_data = data.get(ITEM)
0 commit comments