@@ -60,7 +60,7 @@ def get_remote_function_locations(bq_location):
6060 return bq_location , cloud_function_region
6161
6262
63- def _get_updated_package_requirements (
63+ def get_updated_package_requirements (
6464 package_requirements = None , is_row_processor = False , capture_references = True
6565):
6666 requirements = []
@@ -83,7 +83,7 @@ def _get_updated_package_requirements(
8383 return requirements
8484
8585
86- def _clean_up_by_session_id (
86+ def clean_up_by_session_id (
8787 bqclient : bigquery .Client ,
8888 gcfclient : functions_v2 .FunctionServiceClient ,
8989 dataset : bigquery .DatasetReference ,
@@ -147,7 +147,7 @@ def _clean_up_by_session_id(
147147 pass
148148
149149
150- def _get_hash (def_ , package_requirements = None ):
150+ def get_hash (def_ , package_requirements = None ):
151151 "Get hash (32 digits alphanumeric) of a function."
152152 # There is a known cell-id sensitivity of the cloudpickle serialization in
153153 # notebooks https://github.com/cloudpipe/cloudpickle/issues/538. Because of
@@ -257,7 +257,7 @@ def get_python_version(is_compat: bool = False) -> str:
257257 return f"python{ major } { minor } " if is_compat else f"python-{ major } .{ minor } "
258258
259259
260- def _build_unnest_post_routine (py_list_type : type [list ]):
260+ def build_unnest_post_routine (py_list_type : type [list ]):
261261 sdk_type = function_typing .sdk_array_output_type_from_python_type (py_list_type )
262262 assert sdk_type .array_element_type is not None
263263 inner_sdk_type = sdk_type .array_element_type
0 commit comments