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
Is your feature request related to a problem? Please describe.
RequestStrategyis 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
RequestStrategyto post_form allows user to specify it per request. For example user wants to create invoice in Stripe and useRequestStrategy.Idempotent(key)where thekeyis 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