@classmethod
  def FromSeconds(cls, timeout_s):
    if hasattr(timeout_s, 'HasExpired'):
      return timeout_s
    return cls(timeout_s)
Create a new PolledTimeout if needed.
dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/PolledTimeout.FromSeconds