Skip to content

Commit

Permalink
make input arg type more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
olgavrou committed Aug 29, 2023
1 parent 8d10a52 commit 44485c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def test_simple_action_strlist_no_emb() -> None:
str2 = "test2"
str3 = "test3"
expected = [{"a_namespace": str1}, {"a_namespace": str2}, {"a_namespace": str3}]
assert base.embed([str1, str2, str3], MockEncoder(), "a_namespace") == expected
to_embed: List[str] = [str1, str2, str3]
assert base.embed(to_embed, MockEncoder(), "a_namespace") == expected


@pytest.mark.requires("vowpal_wabbit_next")
Expand Down

0 comments on commit 44485c2

Please sign in to comment.