Check if the state is mutable. Returns: Whether the state is mutable.
(self)
| 92 | self._self_parent_state_proxy = parent_state_proxy |
| 93 | |
| 94 | def _is_mutable(self) -> bool: |
| 95 | """Check if the state is mutable. |
| 96 | |
| 97 | Returns: |
| 98 | Whether the state is mutable. |
| 99 | """ |
| 100 | if self._self_parent_state_proxy is not None: |
| 101 | return self._self_parent_state_proxy._is_mutable() or self._self_mutable |
| 102 | return self._self_mutable |
| 103 | |
| 104 | async def __aenter__(self) -> Self: |
| 105 | """Enter the async context manager protocol. |
no outgoing calls
no test coverage detected