@property
    def took(self):
        """
        Time taken by check in ms
        """
        try:
            diff = self.time_complete - self.time
            return (diff.microseconds + (diff.seconds + diff.days * 24 * 3600) * 10**6) / 1000
        except:
            return None
dataset/ETHPy150Open arachnys/cabot/cabot/cabotapp/models.py/StatusCheckResult.took/original