Skip to content

Commit

Permalink
Fix boto3 example
Browse files Browse the repository at this point in the history
  • Loading branch information
rmk135 committed Sep 30, 2021
1 parent 4a52595 commit 02b9793
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/miniapps/boto3-session/boto3_session_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def main():
assert service1.s3_client is s3_client
assert service1.sqs_client is sqs_client

service2 = container.service1()
service2 = container.service2()
print(service2, service2.s3_client, service2.sqs_client)
assert service2.s3_client is s3_client
assert service2.sqs_client is sqs_client
assert service2.s3_client.__class__.__name__ == "S3"
assert service2.sqs_client.__class__.__name__ == "SQS"


if __name__ == "__main__":
Expand Down

0 comments on commit 02b9793

Please sign in to comment.