(payload: dict)
| 90 | |
| 91 | |
| 92 | async def _format_create(payload: dict) -> str: |
| 93 | return "\u2192 <a href=\"{url}\">{ref_type}: {ref}</a>".format( |
| 94 | url=f"{payload['repository']['html_url']}/tree/{payload['ref']}", |
| 95 | ref_type=payload['ref_type'], |
| 96 | ref=payload['ref'] |
| 97 | ) |
| 98 | |
| 99 | |
| 100 | async def _format_delete(payload: dict) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected