def check_counts(self):
        """
        Disables tweet parsing if the count API is used.
        """
        if "counts" in re.split("[/.]", self.endpoint):
            logger.info("disabling tweet parsing due to counts API usage")
            self._tweet_func = lambda x: x
def check_counts ( self ) : if "counts" in re . split ( "[/.]" , self . endpoint ) : logger . info ( "disabling tweet parsing due to counts API usage" ) self . _tweet_func = lambda x : x
Disables tweet parsing if the count API is used.