Created
September 18, 2023 21:01
-
-
Save dkhmelenko/c975afde5929fd3331296115ad949bb7 to your computer and use it in GitHub Desktop.
Decorator declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def authenticate(user): | |
def decorator(request): | |
add_auth_headers() | |
request() | |
def add_auth_headers(): | |
... | |
return decorator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment