Skip to content

Commit

Permalink
Fix typo with create_client in tutorial doc (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheiss committed Jul 9, 2020
1 parent ec0b676 commit feeed34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ The first step in using aiobotocore is to create a ``Session`` object.
``Session`` objects then allow you to create individual clients::

session = aiobotocore.get_session()
client = session.create_client('s3', region_name='us-west-2',
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
aws_access_key_id=AWS_ACCESS_KEY_ID)
async with session.create_client('s3', region_name='us-west-2',
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
aws_access_key_id=AWS_ACCESS_KEY_ID) as client:

Once you have that client created, each operation provided by the service is
mapped to a method. Each method takes ``**kwargs`` that maps to the parameter
Expand Down

0 comments on commit feeed34

Please sign in to comment.