The lock lifetime in seconds, or ``None`` if the lock never expires. .. versionadded:: 3.24.0
(self)
| 331 | |
| 332 | @property |
| 333 | def lifetime(self) -> float | None: |
| 334 | """ |
| 335 | The lock lifetime in seconds, or ``None`` if the lock never expires. |
| 336 | |
| 337 | .. versionadded:: 3.24.0 |
| 338 | |
| 339 | """ |
| 340 | return self._context.lifetime |
| 341 | |
| 342 | @lifetime.setter |
| 343 | def lifetime(self, value: float | None) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected