Skip to content

Commit

Permalink
chore: update literals
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrianbn committed Sep 30, 2024
1 parent 9232332 commit 416d09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rubicon_ml/client/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _get_data(self):
@failsafe
def get_data(
self,
deserialize: Optional[Literal["h2o_binary", "h2o_mojo", "pickle", "xgboost"]] = None,
deserialize: Optional[Literal["h2o", "h2o_binary", "h2o_mojo", "pickle", "xgboost"]] = None,
unpickle: bool = False, # TODO: deprecate & move to `deserialize`
):
"""Loads the data associated with this artifact and
Expand Down
1 change: 1 addition & 0 deletions tests/unit/client/test_artifact_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def test_download_location(mock_open, project_client):
@pytest.mark.parametrize(
["use_mojo", "deserialization_method"],
[
(False, "h2o"),
(False, "h2o_binary"),
(True, "h2o_mojo"),
],
Expand Down

0 comments on commit 416d09f

Please sign in to comment.