NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1997 most downloaded on PyPI
Snowflake Python API for Resource Management
Last release 10 days ago
24 Sep 2026
Ships fairly regularly
a new release about every 6 weeks
Most releases are documented
notes for 31 of 38 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
44 releases · first in 2023
Nothing published for this version
Nothing published for this version
Nothing published for this version
simple_file_logging now creates its log file with owner-only permissions. It will not write to a symlink, or to a file owned by another user, and rais
One column per month.
simple_file_logging now creates its log file with owner-only permissions. It will not write to a symlink, or to a file owned by another user, and raises PermissionError in those cases.Root now connects using the TLS, proxy, and connection pool settings of its own Configuration, rather than those of the first Configuration used in the process. Connections are still shared between configurations whose settings match. SSL_CERT_FILE and HTTPS_PROXY continue to take precedence over Configuration.Added typed BundleSpec and CodeBundleSpecification models for code bundles and code bundle executions.
BundleSpec and CodeBundleSpecification models for code bundles and code bundle executions.iter() support for code bundle executions.initialization_warehouse, frozen_where, backfill_from, default_ddl_collation, log_level, row_timestamp, cluster_by_raw, and start_at fields to DynamicTable.DataMetricSchedule, DataMetricCronSchedule, DataMetricMinutesSchedule, and DataMetricTriggerOnChangesSchedule models for data metric scheduling.refresh_mode with ADAPTIVE and CUSTOM_INCREMENTAL values.Added condition parameter to DAG to support setting a WHEN condition on the root task.
condition parameter to DAG to support setting a WHEN condition on the root task.recursive argument to TaskResource.fetch_task_dependents.overlap_policy on Task and on the DAG root task.success_integration and execute_as_user on Task and DAGTask.root.databases[<db>].schemas[<schema>].code_bundles (create, iterate, fetch, add a version, execute, and drop).root.code_bundle_execution (execute a code bundle from a stage location, and fetch the status of or cancel an execution)._SNOWFLAKE_SKIP_ASYNC_EXEC_POLLING environment variable. When set to true, a request submitted with asyncExec=true that receives a 202 Accepted response returns that accepted response (carrying the job id) immediately, instead of polling the execution to completion. Transient-error retries (e.g. 429/503/504) are unaffected.copy.copy, copy.deepcopy, and pickling of IntervalSchedule and TargetCompletionInterval now work; previously they would raise an exception.Nothing published for this version
Nothing published for this version
Nothing published for this version
Proxy configuration via environment variables now honors both the uppercase HTTPS_PROXY and the lowercase https_proxy variable.
HTTPS_PROXY and the lowercase https_proxy variable.SSL_CERT_FILE environment variable (both uppercase SSL_CERT_FILE and lowercase ssl_cert_file), allowing connections through corporate proxies with a custom trust store.Added support for setting (set_tags), unsetting (unset_tags) and fetching tag assignments (get_tags). Tagging support availability for resources is de
set_tags), unsetting (unset_tags) and fetching tag assignments (get_tags).
Tagging support availability for resources is determined by Snowflake server release:
Pydantic deprecation warnings related to class-based config and update-forward-refs, parse_obj, _iter methods will no longer occur.
DAGTask accepts custom objects with a to_sql() method as task definitionsUserDefinedFunction resource now supports executing scalar UDFs via the execute methodbody property is empty) will no longer result in a ValidationError being raised.class-based config and update-forward-refs, parse_obj, _iter methods will no longer occur.Added support for Streamlit resource
Added support for Artifact Repository resource
Added support for proxy configuration. Proxy settings can be provided by using the HTTPS_PROXY environment variable.
HTTPS_PROXY environment variable.Added support for three methods of specifying the point of time reference when creating stream using Time Travel ( PointOfTimeStatement, PointOfTimeSt
PointOfTimeStatement, PointOfTimeStream and PointOfTimeTimestamp)drop method of DAGOperation where drop_finalizer has to be set to True in order
for finalizer task to be dropped. Due to changes in 9.20 Snowflake release fetch_task_dependents started returning
finalizer task alongside other tasks belonging to the DAG which caused the finalizer to always be dropped by the
drop method.Optionalized query and column parameters in QueryRequest for the Cortex Search Service API.
query and column parameters in QueryRequest for the Cortex Search Service API.Fixed a bug in ProcedureResource that caused the call method to return wrong results when using extract option with ReturnTable type.
ProcedureResource that caused the call method to return wrong results when
using extract option with ReturnTable type.CortexInferenceService.complete can now be called from Python worksheets and notebooks.Deprecated ServiceResource.get_service_status method in favor of ServiceResource.get_containers method.
ServiceResource.get_service_status method in favor of ServiceResource.get_containers method.extract option to procedure.call method that will extract result from returned payload. For example
using extract=False (current behavior) causes returning [{'procedure_name': 42}] result. In such case using
extract=True will result in returning value of 42. NOTE: extract=True is recommended default,
using extract=False cause deprecation warning.__repr__ implementation for stored procedures and functions will now show a list of arguments in addition to the name.Implemented __repr__ for all collection and resource classes, as well as all model classes.
__repr__ for all collection and resource classes, as well as all model classes.Added the snowflake.core.FQN class that represents an object identifier.
snowflake.core.FQN class that represents an object identifier.DAGOperation.drop method will drop a finalizer task if drop_finalizer argument is set to True.
drop_finalizer argument will be removed in the next major release and a finalizer task will always be dropped alongside the DAG.Deprecated CortexAgentService.Run in favor of CortexAgentService.run
_async suffix in their names and use polling to determine if an operation has completed._SNOWFLAKE_MAX_THREADS can be used to change the size of thread pool.snowflake.core.PollingOperation class for example usage.text_boosts and vector_boosts to the Function modelweights to the ScoringConfig modelcreate_or_alter with a task object returned from the iter methodAdded support for serverless attributes TARGET_COMPLETION_INTERVAL, SERVERLESS_TASK_MIN_STATEMENT_SIZE and SERVERLESS_TASK_MAX_STATEMENT_SIZE to the T
Removed protobuf dependency from snowflake.core
Removed protobuf dependency from snowflake.core
### New features Added cortex lite agent
Added cortex lite agent
Added cortex embed api resource
Remove aync mode from execute job api in Service resource
Remove aync mode from execute job api in Service resource
Added CortexInference python api
Improved error messages: stack traces are shortened. The environment variable option _SNOWFLAKE_PRINT_VERBOSE_STACK_TRACE can be used to control this
_SNOWFLAKE_PRINT_VERBOSE_STACK_TRACE can be used to control this behavior.to_dict() from models. This can be toggled by using to_dict(hide_readonly_properties=True).if_exists property, which toggles whether an action can be performed without erroring if the given resource does not exist, has been added to the following resources:
drop() for Database, NetworkPolicy, View, User, ComputePool, ImageRepository, Pipe, Role, Service, Stage, Table, Task, DynamicTable, Role, Alert, Procedure, Warehouse, Schema, Function.refresh() for Database and DynamicTable.suspend() and resume() for Service , DynamicTable, and Warehouse.suspendRecluster() and resumeRecluster() for DynamicTable and Tableundrop() is now supported.from_name is now supported in iter().swap_with() now supports target_database and target_schema.create() now supports copy_grants.Logs are improved with secrets scrubbed
Grant api are implemeneted in Role, User and Database Role
New resources:
API docs have been significantly improved
snowflake-snowpark-python is no longer a dependency of snowflake.core. However, this package is still needed for certain features, such as when using DAG concepts; the check and requirement for these features is performed at runtime.targetDatabase and targetSchema are supported for cloning Tables.targetDatabase is supported for cloning Schemas.ServiceCollection now supports the execute_job.ServiceResource now supports `get_containers, get_instances, and get_roles.create_or_update is now supported for Service and ComputePoolVarious bug fixes related to large results handling.
stage.upload_file() and stage.download_file() have been deprecated. Please use stage.put() and stage.get() instead.
initially_suspended support for creating compute_pool objects.stage.upload_file() and stage.download_file() have been deprecated. Please use stage.put() and stage.get() instead.create_or_update, delete, and undelete are now deprecated and have been renamed to create_or_alter, drop, and undrop. This is done to match SQL syntax…
(New features are dependent on Snowflake 8.27)
undrop support to Dynamic Table, Schema and TableGrant support
SHOW GRANTS ON. Only Grantees.role is supported for grants.to (SHOW GRANTS TO)create_or_update, delete, and undelete are now deprecated and have been renamed to create_or_alter, drop, and undrop. This is done to match SQL syntax more consistently(New features are dependent on Snowflake 8.23)
(New features are dependent on Snowflake 8.23)
Grant APIs are now availableDynamic Table APIs are now availableFunction APIs are now available (only Service functions)User APIs are now available (experimental)
User APIs are now available (experimental)Role APIs are now available (experimental)Stage APIs are now available (experimental)create_or_update is once against supported for Warehouse Schema, and Database resourceswith_managed_access is now properly returned as a property of SchemaResourcewith_managed_access is now an available boolean option in create_or_update for SchemaResource. This is equivalent to the WITH MANAGED ACCESS clause in
with_managed_access is now an available boolean option in create_or_update for SchemaResource. This is equivalent to the WITH MANAGED ACCESS clause in CREATE SCHEMA.
Usage example:
schema.create_or_update(schema_def, with_managed_access = True)
Added a get_endpoints method for Service resources that returns a list of endpoints for a given Service.
deep parameter is removed from fetch() on TableResource objects. fetch() will always return detailed columns and constraints information of a TableResource.create_or_update() for Schema, Warehouse, Database, Compute Pool, resources will (for the time being) not work. create() on these resources will still work.as_select will no longer carry over information from any source tables used in the as_select query.data_retention_time_in_days and max_data_extension_time_in_days properties will be inherited from schema or database settings when not explicitly set in a create_or_update statement that alters an existing table.ServiceSpec helper to infer spec type from provided string in Service resources.pip install snowflake[ml] installs snowflake-ml-python v1.4.0.error_integration property.config property when the REST property was missing.DAGRun notebook friendly by giving it __str__() and
__repr_html__() methods.>> and << operators of DATTask now accept a function directly.DAGTask now uses the DAG's warehouse by default.DAGTask accepts a new parameter session_parameters.TaskContext:
get_predecessor_return_value now works for both long and short names of a DAGTask.get_current_task_short_name and get_task_graph_config_property.DAGOperation.run(dag) raised an exception if the DAG doesn't have a schedule.DAG didn't delete all of its sub-tasks.config is set.snowflake-snowpark-python to 1.5.0.snowflake.core.exceptions.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →