Skip to content

Commit

Permalink
Project import generated by Copybara. (#29)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 565ffcfe93e7c9db631e4326751a6d4043181ed0

Co-authored-by: Snowflake Authors <[email protected]>
  • Loading branch information
snowflake-provisioner and Snowflake Authors authored Jul 14, 2023
1 parent dbe9f94 commit 091fb6c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.3 (2023-07-12)
## 1.0.3 (2023-07-14)

### Behavior Changes
- Model Registry: When predicting a model whose output is a list of NumPy ndarray, the output would not be flattened, instead, every ndarray will act as a feature(column) in the output.
Expand Down
4 changes: 2 additions & 2 deletions ci/RunTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

set -o pipefail
set -e
set -u

bazel="bazel"
mode="standard"
Expand Down Expand Up @@ -82,7 +82,7 @@ bazel_exit_code=$?
# 0: Success;
# 4: Build Successful but no tests found
# See https://bazel.build/run/scripts#exit-codes
if [[ ${MODE} = "diff-only" && ${bazel_exit_code} -eq 4 ]] ; then
if [[ ${mode} = "diff-only" && ${bazel_exit_code} -eq 4 ]] ; then
exit 0
fi
exit $bazel_exit_code
2 changes: 1 addition & 1 deletion ci/build_and_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# - This is to mimic the behavior of using snowml wheel package in user land.

set -o pipefail
set -eu
set -u

PROG=$0

Expand Down
2 changes: 1 addition & 1 deletion ci/type_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# we used `kind('py_.* rule')` filter.

set -o pipefail
set -e
set -u

bazel="bazel"
affected_targets=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def setUpClass(cls) -> None:

cls.FULL_IMAGE_REPO_PATH = f"{registry_host}/{cls.TEST_DB}/{cls.TEST_SCHEMA}/{cls.TEST_IMAGE_REPO}/".lower()

cls._session = Session.builder.configs({**cls.login_options}).create()
cls._session = Session.builder.configs({**login_options}).create()
cls._db_manager = db_manager.DBManager(cls._session)
cls._db_manager.set_role(cls.TEST_ROLE)
cls._db_manager.create_stage(cls.TEST_STAGE, cls.TEST_SCHEMA, cls.TEST_DB, sse_encrypted=True)
Expand Down

0 comments on commit 091fb6c

Please sign in to comment.