Skip to content

Commit ebcbd72

Browse files
Fix LocalStackContainer class doc example (#115)
* Fix LocalStackContainer class doc example * Update testcontainers/localstack.py Co-authored-by: Gary Fernie <[email protected]> Co-authored-by: Till Hoffmann <[email protected]>
1 parent 8ca1f91 commit ebcbd72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testcontainers/localstack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class LocalStackContainer(DockerContainer):
2121
Example
2222
-------
2323
::
24-
localstack = LocalStackContainer(image="localstack/localstack:0.11.3")
24+
localstack = LocalStackContainer(image="localstack/localstack:0.11.4")
2525
localstack.with_services("dynamodb", "lambda")
2626
localstack.start()
27-
dynamo_endpoint = localstack.get_endpoint_override()
27+
dynamo_endpoint = localstack.get_url()
2828
dynamo_client = boto3.client("dynamodb", endpoint_url=dynamo_endpoint)
2929
scan_result = dynamo_client.scan(TableName='foo')
3030
# Do something with the scan result

0 commit comments

Comments
 (0)