@property
    @memoized
    def data_as_dict(self):
        result = {}
        if isinstance(self.data, basestring):
            items = self.data.strip().split(',')
            for item in items:
                parts = item.partition('=')
                key = parts[0].strip().upper()
                value = parts[2].strip()
                if value:
                    result[key] = value
        return result
Close inotify's file descriptor, this action will also automatically
dataset/ETHPy150Open dimagi/commcare-hq/custom/apps/wisepill/models.py/WisePillDeviceEvent.data_as_dict--crossover with--dataset/ETHPy150Open seb-m/pyinotify/python2/pyinotify.py/WatchManager.close