You are viewing documentation about an older version (0.9.0). View latest version

snowflake.core.function.FunctionResource

class snowflake.core.function.FunctionResource(name_with_args: str, 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: str, collection: FunctionCollection) None
delete() None

Delete the function.

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

Fetch the details of a function.

Example

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