Skip to content
Myr

simplify

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6ef5094 · Browse files · 2 files+5 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−3 removed

  • other:+5 added−3 removed

2 files+5 added−3 removed

modified:requests/async.py+3 added-2 removed
30 unmodified lines
31def patched(f):32 """Patches a given API function to not send."""3334 def wrapped(*args, **kwargs):35 new_kwargs = dict(kwargs)36 new_kwargs['return_response'] = False3536 kwargs['return_response'] = False3738 return f(*args, **kwargs)3940 return wrapped41
40 unmodified lines
modified:AUTHORS+2 added-1 removed
44 unmodified lines
45- Johan Bergström46- Josselin Jacquard47- Travis N. Vaught48- Fredrik Möllerstrand49- Daniel Hengeveld49- Daniel Hengeveld50- Dan Head