Skip to content

Commit

Permalink
Add caveat about default session (#4157)
Browse files Browse the repository at this point in the history
* Add caveat about default session
---------

Co-authored-by: jonathan343 <43360731+jonathan343@users.noreply.github.com>
  • Loading branch information
nateprewitt and jonathan343 committed Jun 5, 2024
1 parent 5fa0033 commit 3ef0a29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/guide/clients.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ which may interact with boto3’s client. The majority of users will not
need to use these interfaces, but those that do should no longer
consider their clients thread-safe without careful review.

.. note::
``boto3.client('<service_name>')`` is an alias for creating a client with a
shared default session. Invoking ``boto3.client()`` inside of a concurrent
context may result in response ordering issues or interpreter failures
from underlying SSL modules.

General Example
~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 3ef0a29

Please sign in to comment.