Skip to content

Commit

Permalink
reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
howardyoo committed Sep 11, 2024
1 parent 80e5b88 commit 5941eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 01-manual/python-year/python-year-the-hard-way.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
app = FastAPI()
FastAPIInstrumentor.instrument_app(app)


@app.get("/", response_class=HTMLResponse)
def home():
return "service: <a href='/year'>/year</a>"


@app.get("/year")
async def year():
span = trace.get_current_span()
Expand Down

0 comments on commit 5941eea

Please sign in to comment.