respx
respx copied to clipboard
feat: pass is_async to handler to return correct type of stream response
Otherwise, it's impossible to create generic stream response for the same endpoint for both sync and async cases.
ref: https://github.com/lundberg/respx/issues/156#issuecomment-2747949401
Looks like a usable feature, will take a look, thanks