Skip to content

Commit

Permalink
Merge pull request #9 from KOSASIH/deepsource-transform-44e86ff7
Browse files Browse the repository at this point in the history
style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
  • Loading branch information
KOSASIH committed May 11, 2024
2 parents d485cc0 + 768b0fc commit b2055db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/middlewares.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# web/middlewares.py
from flask import request


@app.before_request
def log_request():
logging.info(f"Request received:{request.method} {request.url}")

0 comments on commit b2055db

Please sign in to comment.