Skip to content

Commit

Permalink
Merge pull request #684 from vespa-engine/tmaregge/rank-profile-type-…
Browse files Browse the repository at this point in the history
…hint

Fix type hint for RankProfileFields.inputs
  • Loading branch information
tmaregge committed Feb 21, 2024
2 parents 8b4a3f0 + b587d0c commit bdedde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vespa/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ class RankProfileFields(TypedDict, total=False):
weight: List[Tuple[str, int]]
rank_type: List[Tuple[str, str]]
rank_properties: List[Tuple[str, str]]
inputs: List[Tuple[str, str, str]]
inputs: List[Union[Tuple[str, str], Tuple[str, str, str]]]


class RankProfile(object):
Expand Down

0 comments on commit bdedde9

Please sign in to comment.