snowflake.snowpark.catalog.Catalog.procedure_exists¶
- Catalog.procedure_exists(procedure: Union[str, Procedure], arg_types: Optional[List[DataType]] = None, *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, ModelSchemaModel]] = None) bool[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.30.0/snowpark-python/src/snowflake/snowpark/catalog.py#L545-L572)¶
- Check if the given procedure exists in the given database and schema. If database or schema are not provided, check if the procedure exists in the current database and schema. - Parameters:
- procedure – procedure name or - Procedureobject.
- arg_types – list of argument types to uniquely identify the procedure. Defaults to None. 
- database – database name or - Databaseobject. Defaults to None.
- schema – schema name or - Schemaobject. Defaults to None.