Format main.py with Black

This commit is contained in:
Valeriy Pavlovich 2025-10-13 21:20:24 +03:00
parent 553125cd76
commit f08667c47a

View file

@ -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: