PythonStoredProcedure
Examples
Python
procedure = PythonStoredProcedure(
name="some_procedure",
args=[],
returns="STRING",
runtime_version="3.8",
packages=["snowflake-snowpark-python"],
handler="process_data",
as_="def process_data(): return 'Hello, World!'",
comment="A simple procedure",
copy_grants=False,
execute_as="CALLER",
external_access_integrations=None,
imports=None,
null_handling="CALLED_ON_NULL_INPUT",
owner="SYSADMIN",
secure=False
)YAML
Fields
Last updated