You are viewing documentation about an older version (1.41.0). View latest version

snowflake.snowpark.Session.get_packages

Session.get_packages(artifact_repository: Optional[str] = None) Dict[str, str][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.41.0/src/snowflake/snowpark/session.py#L1572-L1584)

Returns a dict of packages added for user-defined functions (UDFs). The key of this dict is the package name and the value of this dict is the corresponding requirement specifier.

Parameters:

artifact_repository – When set this will function will return the packages for a specific artifact repository.

Language: English