From 2da26150fc234cda1f84d553ec3116be711e0774 Mon Sep 17 00:00:00 2001 From: Michael Meli Date: Sat, 18 Dec 2021 09:02:22 -0500 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e053128..5c35c3a 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ async with aiohttp.ClientSession() as client: duke_energy = DukeEnergyClient(email, password, client) duke_rt = DukeEnergyRealtime(duke_energy) await duke_rt.select_default_meter() - await duke_rt.connect_and_subscribe() + await duke_rt.connect_and_subscribe_forever() ``` More detailed examples can be found in [examples/example_realtime.py](examples/example_realtime.py) and [examples/example_realtime_kafka.py](examples/example_realtime_kafka.py). @@ -123,7 +123,7 @@ tox To run just the tests: ```bash -tox -e py39 +tox -e py310 ``` To run just the linting: