snowflake.core.procedure.ProcedureResource¶
- class snowflake.core.procedure.ProcedureResource(name_with_args: Annotated[str, Strict(strict=True)], collection: ProcedureCollection)¶
Bases:
SchemaObjectReferenceMixin[ProcedureCollection]Represents a reference to a Snowflake procedure.
With this procedure reference, you can create and fetch information about procedures, as well as perform certain actions on them.
Attributes
- database¶
- fully_qualified_name¶
- root¶
Methods
- call(call_argument_list: CallArgumentList | None = None) object¶
Call this procedure.
Examples
Calling a procedure with no arguments using its reference:
Calling a procedure with 2 arguments using its reference:
- drop() None¶
Drop this procedure.
Examples
Dropping a procedure using its reference: