def set_graceful_lock(self, state):
        self.graceful_state = state
        self.reset_update_lock()
        self.lock_update()
Checking repeated queries (checking caches)
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/thinkingcleaner.py/ThinkingCleanerSwitch.set_graceful_lock--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_indexvalues.py/SelectValuesTestCase.test13a