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
dictof packages added for user-defined functions (UDFs). The key of thisdictis the package name and the value of thisdictis the corresponding requirement specifier.- Parameters:
artifact_repository – When set this will function will return the packages for a specific artifact repository.