def health_check(self):
        """Gets a single item to determine if Dynamo is functioning."""
        logger.debug('Health Check on Table: {namespace}'.format(
            namespace=self.namespace
        ))

        try:
            self.get_all()
            return True

        except ClientError as e:
            logger.exception(e)
            logger.error('Error encountered with Database. Assume unhealthy')
            return False
def health_check ( self ) : logger . debug ( 'Health Check on Table: {namespace}' . format ( namespace = self . namespace ) ) try : self . get_all ( ) return True except ClientError as e : logger . exception ( e ) logger . error ( 'Error encountered with Database. Assume unhealthy' ) return False
Gets a single item to determine if Dynamo is functioning.