(self, shared_data)
| 77 | return |
| 78 | |
| 79 | with self._lock: |
| 80 | target_context = self.shared_data.storage_manager.get_context_snapshot(ssid) |
| 81 | self._override_stack.append(target_context) |
| 82 | self._apply_context(target_context) |
| 83 | |
| 84 | try: |
| 85 | yield target_context |
| 86 | finally: |
| 87 | with self._lock: |
| 88 | if self._override_stack: |
| 89 | self._override_stack.pop() |
| 90 | # Back to the enclosing override if nested, otherwise to the |