From ba35491684c1fbe1feb5b5b519b37c211bd33a83 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Fri, 30 Sep 2022 23:33:24 -0700 Subject: [PATCH] fix typos Signed-off-by: Waldemar Quevedo --- nats/js/manager.py | 2 +- tests/test_js.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nats/js/manager.py b/nats/js/manager.py index bfc43e0b..42914ad6 100644 --- a/nats/js/manager.py +++ b/nats/js/manager.py @@ -326,7 +326,7 @@ def _lift_msg_to_raw_msg(self, msg) -> api.RawStreamMsg: async def delete_msg(self, stream_name: str, seq: int) -> bool: """ - get_msg retrieves a message from a stream based on the sequence ID. + delete_msg retrieves a message from a stream based on the sequence ID. """ req_subject = f"{self._prefix}.STREAM.MSG.DELETE.{stream_name}" req = {'seq': seq} diff --git a/tests/test_js.py b/tests/test_js.py index d5a076b7..2315448f 100644 --- a/tests/test_js.py +++ b/tests/test_js.py @@ -1874,7 +1874,7 @@ async def error_handler(e): assert b'world' == entry.value assert 1 == entry.revision - # Now get the the same KV via lookup. + # Now get the same KV via lookup. kv = await js.key_value("TEST") entry = await kv.get("hello") assert "hello" == entry.key