Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-869906: Tag package auto-upload feature as experimental #947

4 changes: 4 additions & 0 deletions src/snowflake/snowpark/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
TempObjectType,
calculate_checksum,
deprecated,
experimental,
get_connector_version,
get_os_name,
get_python_version,
Expand Down Expand Up @@ -902,6 +903,7 @@ def add_requirements(
persist_path=persist_path,
)

@experimental(version="1.6.0")
def replicate_local_environment(
self,
force_push: bool = False,
Expand Down Expand Up @@ -1163,6 +1165,7 @@ def get_req_identifiers_list(

return list(result_dict.values()) + get_req_identifiers_list(extra_modules)

@experimental(version="1.6.0")
def _upload_unsupported_packages(
self,
packages: List[str],
Expand Down Expand Up @@ -1343,6 +1346,7 @@ def _upload_unsupported_packages(
def _is_anaconda_terms_acknowledged(self) -> bool:
return self._run_query("select system$are_anaconda_terms_acknowledged()")[0][0]

@experimental(version="1.6.0")
def _load_unsupported_packages_from_stage(
self, persist_path: str, environment_signature: str
) -> Optional[List[pkg_resources.Requirement]]:
Expand Down
Loading