optional inlined form of add() which can assume item isn't present in the map
(
self, state: InstanceState[Any], key: _IdentityKeyType[Any]
)
| 89 | raise NotImplementedError() |
| 90 | |
| 91 | def _add_unpresent( |
| 92 | self, state: InstanceState[Any], key: _IdentityKeyType[Any] |
| 93 | ) -> None: |
| 94 | """optional inlined form of add() which can assume item isn't present |
| 95 | in the map""" |
| 96 | self.add(state) |
| 97 | |
| 98 | def _manage_incoming_state(self, state: InstanceState[Any]) -> None: |
| 99 | state._instance_dict = self._wr |