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

Method processed_body

ci/scripts/github/github_tvmbot.py:392–399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

390 return self.raw["state"]
391
392 def processed_body(self) -> str:
393 body = self.raw["body"].strip().replace("\r", "")
394 # Remove any @-mentions of people
395 body = re.sub(r"(\s)@", "\g<1>", body)
396
397 # Remove the auto-inserted text since it's not useful to have in the commit log
398 body = re.sub(THANKS_MESSAGE, "\n\n", body)
399 return body.strip()
400
401 def body_with_co_authors(self) -> str:
402 """

Callers 1

body_with_co_authorsMethod · 0.95

Calls 2

replaceMethod · 0.45
subMethod · 0.45

Tested by

no test coverage detected