Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/github/main' into shobs-do…
Browse files Browse the repository at this point in the history
…cs-applymap
  • Loading branch information
shobsi committed Jan 18, 2024
2 parents a823818 + f45c078 commit 04ccb5c
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 6 deletions.
13 changes: 13 additions & 0 deletions bigframes/functions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
File renamed without changes.
4 changes: 2 additions & 2 deletions bigframes/session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
import bigframes.core.utils as utils
import bigframes.dataframe as dataframe
import bigframes.formatting_helpers as formatting_helpers
from bigframes.remote_function import read_gbq_function as bigframes_rgf
from bigframes.remote_function import remote_function as bigframes_rf
from bigframes.functions.remote_function import read_gbq_function as bigframes_rgf
from bigframes.functions.remote_function import remote_function as bigframes_rf
import bigframes.session._io.bigquery as bigframes_io
import bigframes.session.clients
import bigframes.version
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ def notebook(session):
# appropriate values and omitting cleanup logic that may break
# our test infrastructure.
"notebooks/getting_started/getting_started_bq_dataframes.ipynb",
"notebooks/getting_started/ml_fundamentals_bq_dataframes.ipynb",
"notebooks/generative_ai/bq_dataframes_llm_code_generation.ipynb",
"notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb",
"notebooks/regression/bq_dataframes_ml_linear_regression.ipynb",
Expand Down
2 changes: 1 addition & 1 deletion tests/system/large/test_remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import test_utils.prefixer

import bigframes
from bigframes.remote_function import (
from bigframes.functions.remote_function import (
get_cloud_function_name,
get_remote_function_locations,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/system/small/test_remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import pytest

import bigframes
from bigframes import remote_function as rf
from bigframes.functions import remote_function as rf
from tests.system.utils import assert_pandas_df_equal


Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def test_literal_to_ibis_scalar_throws_on_incompatible_literal():
def test_remote_function_io_types_are_supported_bigframes_types():
from ibis.expr.datatypes.core import dtype as python_type_to_bigquery_type

from bigframes.remote_function import (
from bigframes.functions.remote_function import (
SUPPORTED_IO_PYTHON_TYPES as rf_supported_io_types,
)

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from ibis.backends.bigquery import datatypes as bq_types
from ibis.expr import datatypes as ibis_types

from bigframes import remote_function as rf
from bigframes.functions import remote_function as rf


def test_supported_types_correspond():
Expand Down

0 comments on commit 04ccb5c

Please sign in to comment.