Skip to content

Commit

Permalink
Add caveat about default session
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Jun 5, 2024
1 parent 5a3b076 commit 7553538
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('<client_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 7553538

Please sign in to comment.