Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
srs.time_check(time)

Similar to srs.timestamp_check(timestamp), but takes a Unix time, and
checks that an alias created at that Unix time is still valid. This is
designed for use by subclasses with storage backends.

src/p/y/pysrs-0.30.11/SRS/DB.py   pysrs(Download)
    assert self.hash_verify(hash,sendhost,senduser), "Invalid hash"
 
    assert self.time_check(ts), "Invalid timestamp"
 
    return (sendhost, senduser)