snowflake.core.function.FunctionResource

class snowflake.core.function.FunctionResource(name_with_args: Annotated[str, Strict(strict=True)], collection: FunctionCollection)

Bases: SchemaObjectReferenceMixin[FunctionCollection]

Represents a reference to a Snowflake Function resource.

Attributes

database
fully_qualified_name
root
schema

Methods

__init__(name_with_args: Annotated[str, Strict(strict=True)], collection: FunctionCollection) None
delete() None

Delete the function.

drop() None

Drop the function.

execute(input_args: List[Any] = None) object
fetch() Function

Fetch the details of a function.

Example

functions[“foo(REAL)”].fetch()