make sorted lambda variable more descriptive
This commit is contained in:
@ -48,4 +48,4 @@ class Bundle(BaseModel):
|
||||
return total
|
||||
|
||||
def ordered_items(self) -> List[Item]:
|
||||
return sorted(self.items, key=lambda x: x.position)
|
||||
return sorted(self.items, key=lambda item: item.position)
|
||||
|
Reference in New Issue
Block a user