Skip to content

Commit

Permalink
chore(callback_middleware.py): remove unnecessary blank lines for bet…
Browse files Browse the repository at this point in the history
…ter code readability
  • Loading branch information
marcuxyz committed Nov 28, 2023
1 parent 91a2e50 commit 3ba028c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mvc_flask/middlewares/callback_middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from flask import Flask, request


class CallbackMiddleware:
def __init__(self, app: Flask, controller_name: str, controller) -> None:
"""
Expand All @@ -22,6 +23,7 @@ def register(self):
The hooks are retrieved using the get_hook_method function and executed using the execute_hook function.
"""

def before_request_hook():
hook_method, actions = self.get_hook_method("before_request")
if hook_method:
Expand Down

0 comments on commit 3ba028c

Please sign in to comment.