Skip to content

Commit

Permalink
Fixup lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdp committed Jul 31, 2023
1 parent 034042f commit 510353a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lumina/database/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ def get_members() -> list[MemberModel]:
"IndexName": GSI_SK,
"KeyConditionExpression": Key(MEMBER_SORT_KEY).eq(SK_PROFILE),
}
response = get_member_table().query(**options) # type: ignore
response = get_member_table().query(**options) # type: ignore
data = response["Items"]
while response.get("LastEvaluatedKey"):
response = get_member_table().scan(
ExclusiveStartKey=response["LastEvaluatedKey"],
**options, # type: ignore
**options, # type: ignore
)
data.extend(response["Items"])
return [MemberModel(**item) for item in data]
Expand Down

0 comments on commit 510353a

Please sign in to comment.