snowflake.snowpark.Session.remove_package¶
- Session.remove_package(package: str, artifact_repository: Optional[str] = None) None[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/session.py#L1706-L1744)¶
Removes a third-party package from the dependency list of a user-defined function (UDF).
- Parameters:
package – The package name.
artifact_repository – When set this parameter specifies that the package should be removed from the default packages for a specific artifact repository. Otherwise, uses the default artifact repository configured in the current context.
Examples: