snowflake.snowpark.catalog.Catalog.get_procedure¶
- Catalog.get_procedure(procedure_name: str, arg_types: List[DataType], *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, ModelSchemaModel]] = None) Procedure [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.29.0/snowpark-python/src/snowflake/snowpark/catalog.py#L386-L411)¶
Get the procedure by name and argument types in given database and schema. If database or schema are not provided, get the procedure in the current database and schema.
- Parameters:
procedure_name – name of the procedure.
arg_types – list of argument types to uniquely identify the procedure.
database – database name or
Database
object. Defaults to None.schema – schema name or
Schema
object. Defaults to None.