Specify event_hooks at the Request level
#2649
Answered
by
lovelydinosaur
LBreedlove
asked this question in
General
|
I'd like to be able to provide event_hooks in the Request object executed by the send methods. This would allow for providing per-request context data to the event_hooks, without instantiating a new client for each request. The request event_hooks would be executed in addition to the client level event_hooks. I didn't see a way to do this in the current library; is there another feature providing this functionality, that I'm overlooking? |
Answered by
lovelydinosaur
Apr 5, 2023
Replies: 1 comment 4 replies
|
Good question. Let's bump this into a discussion for now. |
4 replies
Answer selected by
LBreedlove
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good question. Let's bump this into a discussion for now.
Can you start off by providing an example of what you'd like to be able to do, so we can work this through from a specific use-case?