def get_meta(self, lookup_key, key):
"""
Retrieve the meta data for a given key
Args:
lookup_key: Key for the object requested
key: Metadata key
Returns:
"""
response = self.table.get_item(
Key={
'lookup_key': lookup_key,
'key': key,
}
)
if 'Item' in response:
return response['Item']
else:
return None
评论列表
文章目录