diff --git a/examples/aio_client.py b/examples/aio_client.py index 777e5cfa..844eca3b 100644 --- a/examples/aio_client.py +++ b/examples/aio_client.py @@ -17,7 +17,7 @@ async def example_with_client(): """ - RECOMMENDED: use the client context manager to handle creation + Use the client context manager to handle creation and cleanup """ async with AsyncIndicoClient(config=config) as client: @@ -25,22 +25,6 @@ async def example_with_client(): await example_1(client) -async def example_basic_client(): - """Manage creation and cleanup of the client yourself""" - - # The .create() is required! - client = await AsyncIndicoClient(config=config).create() - - # Note this is the equivalent to calling - # client = AsyncIndicoClient(config=config) - # await client.create() - - print(await client.get_ipa_version()) - await example_1(client) - - await client.cleanup() - - """ Examples of fun async usage """