Skip to content

Commit 12acace

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 71676ba commit 12acace

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

discord/iterators.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,9 @@ async def _retrieve_entitlements(self, retrieve) -> list[Entitlement]:
10401040
"""Retrieve entitlements and update next parameters."""
10411041
raise NotImplementedError
10421042

1043-
async def _retrieve_entitlements_before_strategy(self, retrieve: int) -> list[EntitlementPayload]:
1043+
async def _retrieve_entitlements_before_strategy(
1044+
self, retrieve: int
1045+
) -> list[EntitlementPayload]:
10441046
"""Retrieve entitlements using before parameter."""
10451047
before = self.before.id if self.before else None
10461048
data = await self.get_entitlements(
@@ -1058,7 +1060,9 @@ async def _retrieve_entitlements_before_strategy(self, retrieve: int) -> list[En
10581060
self.before = Object(id=int(data[-1]["id"]))
10591061
return data
10601062

1061-
async def _retrieve_entitlements_after_strategy(self, retrieve: int) -> list[EntitlementPayload]:
1063+
async def _retrieve_entitlements_after_strategy(
1064+
self, retrieve: int
1065+
) -> list[EntitlementPayload]:
10621066
"""Retrieve entitlements using after parameter."""
10631067
after = self.after.id if self.after else None
10641068
data = await self.get_entitlements(

0 commit comments

Comments
 (0)