MCPcopy Create free account
hub / github.com/dashezup/github-webhook-to-telegram / _format_public

Function _format_public

utils/github_webhook.py:137–142  ·  view source on GitHub ↗
(payload: dict)

Source from the content-addressed store, hash-verified

135
136
137async def _format_public(payload: dict) -> str:
138 repo = payload['repository']
139 return "\u2192 <a href=\"{url}\">{name}</a>".format(
140 url=repo['html_url'],
141 name=repo['full_name']
142 )
143
144
145async def _format_pull_request(payload: dict) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected