From f08667c47a44f3440429ae548e3825e32262fb95 Mon Sep 17 00:00:00 2001 From: Valeriy Pavlovich Date: Mon, 13 Oct 2025 21:20:24 +0300 Subject: [PATCH] Format main.py with Black --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 4a58dc2..7d18494 100644 --- a/main.py +++ b/main.py @@ -446,7 +446,8 @@ async def list_messages( # Only upper bound: walk backward from end bound async for msg in client.iter_messages( # offset_date is exclusive; +1µs makes to_date inclusive - entity, offset_date=to_date_obj + timedelta(microseconds=1) + entity, + offset_date=to_date_obj + timedelta(microseconds=1), ): messages.append(msg) if len(messages) >= limit: