MCPcopy Index your code
hub / github.com/PostmonAPI/postmon / expired

Function expired

PostmonServer.py:17–25  ·  view source on GitHub ↗
(record_date)

Source from the content-addressed store, hash-verified

15
16
17def expired(record_date):
18 from datetime import datetime, timedelta
19
20 # 6 months
21 WEEKS = 26
22
23 now = datetime.now()
24
25 return (now - record_date['v_date'] >= timedelta(weeks=WEEKS))
26
27
28def _get_info_from_source(cep):

Callers 1

verifica_cepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected