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.35.0/src/snowflake/snowpark/session.py#L1468-L1480)

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.

语言: 中文