chwrapper icon indicating copy to clipboard operation
chwrapper copied to clipboard

Unable to monkey patch Service

Open callamd opened this issue 6 years ago • 0 comments

I'm currently unable to monkey patch the Service object as it seems impossible to import the RateLimitAdapter.

I need to monkey patch the get_session method to provide cacheing.

Is there a way to do this without redefining RateLimitAdapter in my code?

It seems importing base in init instead of Service would solve the problem.

callamd avatar Apr 01 '19 11:04 callamd