<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def post(graph: BELGraph, host: str):
 """Upload a graph to BEL Commons."""

    resp = to_web(graph, host=host)
    resp.raise_for_status()