You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow disabling Wait Until Removed/Created timeout using None #5534
Wait Until Removed and Wait Until Created support a timeout that is 1 minute by default. Currently these timeouts can be disabled only by giving a negative value, but using None would be much more explicit. This doesn't have too high priority, though, because it typically is a good idea to have some timeout.
I noticed this when adding type hints to the OperatingSystem library (#5373) and half of the implementation is using type hint timedelta | None. The other half is using timeout = timeout.total_seconds() if timeout else -1 in the code.
Activity
Add typing to OperatingSystem.