Format main.py with Black
This commit is contained in:
parent
553125cd76
commit
f08667c47a
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -446,7 +446,8 @@ async def list_messages(
|
||||||
# Only upper bound: walk backward from end bound
|
# Only upper bound: walk backward from end bound
|
||||||
async for msg in client.iter_messages(
|
async for msg in client.iter_messages(
|
||||||
# offset_date is exclusive; +1µs makes to_date inclusive
|
# 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)
|
messages.append(msg)
|
||||||
if len(messages) >= limit:
|
if len(messages) >= limit:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue