MCPcopy Create free account
hub / github.com/apache/tvm / update_last

Function update_last

ci/scripts/github/ping_reviewers.py:108–116  ·  view source on GitHub ↗
(new_time, description)

Source from the content-addressed store, hash-verified

106 author = pr["author"]["login"]
107
108 def update_last(new_time, description):
109 if isinstance(new_time, str):
110 new_time = datetime.datetime.strptime(new_time, GIT_DATE_FORMAT)
111 if new_time is None:
112 print(f" time not found: {description}")
113 return
114 nonlocal last_action
115 if last_action is None or new_time > last_action[0]:
116 last_action = (new_time, description)
117
118 def check_obj(obj, name):
119 update_last(obj["publishedAt"], f"{name} publishedAt: {obj}")

Callers 1

check_objFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…