| 245 | assert config == updated |
| 246 | |
| 247 | class KeysOnly: |
| 248 | data = {"a": 1, "b": {"c": 2}} |
| 249 | |
| 250 | def keys(self): |
| 251 | return self.data.keys() |
| 252 | |
| 253 | def __getitem__(self, key): |
| 254 | return self.data[key] |
| 255 | |
| 256 | bx = Box(KeysOnly()) |
| 257 | assert bx == KeysOnly.data |
no outgoing calls