MCPcopy Create free account
hub / github.com/IABTechLab/uid2docs / is_refresh_needed

Function is_refresh_needed

test/python/test/test_post_identity_map_v3.py:135–137  ·  view source on GitHub ↗
(mapping)

Source from the content-addressed store, hash-verified

133 import time
134
135 def is_refresh_needed(mapping):
136 now = int(time.time() * 1000) # Convert to milliseconds
137 return now >= mapping['refresh_from']
138
139 def remap_identities(to_remap):
140 # Mock function to remap identities

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected