Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What would be the best way to inject per request objects. #686

Unanswered
alandsilva26 asked this question in Q&A
Discussion options

I need to get the auth headers from request object. What would be the best way to do this? Do I just use the flask request context in my service? Is there a similar pattern to spring per request beans? Or do i get header in the blueprint and then use the service factory there?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /