Skip to content

Commit

Permalink
Add predictions_to_bigquery to package (#245)
Browse files Browse the repository at this point in the history
* add predictions_to_bigquery

* Update README.md

* use typing sequence/mapping
  • Loading branch information
casassg committed May 23, 2023
1 parent 8507648 commit 015e5ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ tfxa.feast_examplegen.FeastExampleGen(...)
* [tfxa.mlmd_client](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/mlmd_client)
* [tfxa.model_card_generator](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/model_card_generator)
* [tfxa.pandas_transform](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/pandas_transform)
* [tfxa.predictions_to_bigquery](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/predictions_to_bigquery)
* [tfxa.sampling](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/sampling)
* [tfxa.schema_curation](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/schema_curation)
* [tfxa.xgboost_evaluator](https://github.com/tensorflow/tfx-addons/tree/main/tfx_addons/xgboost_evaluator)
Expand Down
3 changes: 1 addition & 2 deletions tfx_addons/predictions_to_bigquery/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import datetime
import os
import re
from collections.abc import Mapping, Sequence
from typing import Any, List, Optional, Tuple, Union
from typing import Any, List, Mapping, Optional, Sequence, Tuple, Union

import apache_beam as beam
import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion tfx_addons/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@
"huggingface_pusher":
[f"tfx{_TFXVERSION_CONSTRAINT}", "huggingface-hub>=0.10.0,<1.0.0"],
"model_card_generator":
[f"tfx{_TFXVERSION_CONSTRAINT}", "model-card-toolkit>=2.0.0,<3.0.0"]
[f"tfx{_TFXVERSION_CONSTRAINT}", "model-card-toolkit>=2.0.0,<3.0.0"],
"predictions_to_bigquery": [f"tfx{_TFXVERSION_CONSTRAINT}"]
}

0 comments on commit 015e5ae

Please sign in to comment.