Skip to content

Commit

Permalink
Merge pull request #1748 from JordonPhillips/more-warnings
Browse files Browse the repository at this point in the history
Show requests deprecation warning by default
  • Loading branch information
JordonPhillips committed May 31, 2019
2 parents e3d6250 + 47f7698 commit 99bada3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions botocore/vendored/requests/api.py
Expand Up @@ -24,6 +24,13 @@
)


warnings.filterwarnings(
action="always",
category=DeprecationWarning,
module=__name__,
)


def request(method, url, **kwargs):
"""Constructs and sends a :class:`Request <Request>`.
Expand Down

0 comments on commit 99bada3

Please sign in to comment.