Skip to content

Commit

Permalink
added return type on stack outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Dymond committed Nov 18, 2024
1 parent 2aef05b commit e3b663b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ def stack_translator_sentence_metrics(
]
return stacked

def stack_variational_outputs(self, var_output: dict[str, list[Any]]):
def stack_variational_outputs(
self, var_output: dict[str, list[Any]]
) -> dict[str, list]:
"""
Similar to above but this stacks variational output dictinaries into lists
under a single key.
Expand Down

0 comments on commit e3b663b

Please sign in to comment.