-
-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Is your feature request related to a problem? Please describe.
RequestStrategy is currently stored in the client which kinda makes it global so if you need to have a dedicated strategy per request you need to modify it in the client scope before every request. In the multithreaded environment, this might be a problem unless you clone the client per request which is not efficient in my understanding.
Exposing RequestStrategy to post_form allows user to specify it per request. For example user wants to create invoice in Stripe and use RequestStrategy.Idempotent(key) where the key is some invoice_id stored in user's application.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels