def get_items_count()

in codes/sample-backend-fastapi/app/ddb_handler.py [0:0]


    def get_items_count(self):
        try:
            response = self.table.scan(
            )
            print('[SUCCESS] get_items_count: response', response)
            return response['Count']
        except ClientError as e:
            print('[ERROR] get_items_count', e)
            return None