snowflake.snowpark.Session.get_packages¶

Session.get_packages(artifact_repository: Optional[str] = None) → Dict[str, str][source]¶

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.