Skip to content

Commit e5bfbf4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7de3b7e commit e5bfbf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

03-fastapi/src/worker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
app = FastAPI()
99

10+
1011
@app.get("/")
1112
async def root():
1213
message = "This is an example of FastAPI with Jinja2 - go to /hi/<name> to see a template rendered"
@@ -25,6 +26,7 @@ async def env(req: Request):
2526
message = f"Here is an example of getting an environment variable: {env.MESSAGE}"
2627
return {"message": message}
2728

29+
2830
class Default(WorkerEntrypoint):
2931
async def fetch(self, request):
3032
import asgi

0 commit comments

Comments
 (0)