Skip to content

Commit

Permalink
upgrade pyre version in fbcode/tools - batch 3
Browse files Browse the repository at this point in the history
Differential Revision: D56777006

fbshipit-source-id: 91143d39bd14ccc327c2003a7ea192f9c09cbbb9
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed May 1, 2024
1 parent 536ee73 commit dc58713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sapp/db_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def _merge_by_keys(
# Guard against `items` being an iterator: we need to iterate it twice
items = list(items)

# pyre-fixme[11]: Annotation `` is not defined as a type.
def key_for_item(item: PrepareMixin) -> Tuple[...]:
return tuple(getattr(item, attr.key) for attr in key_attributes)

Expand Down

0 comments on commit dc58713

Please sign in to comment.