← All updates Databricks Update One-Pager Navy version
databricks Platform · Updated Nov 11, 2026

Write custom service policies in Python (Beta)

You can now write a custom service policy as a Python function in Unity Catalog.

What it does

You can now write a custom service policy as a Python function in Unity Catalog. Use it for rules that SQL can't express, such as regular expressions, Python packages, or calls to an external guardrail through a service credential. It's available in select regions.

Why it matters

The workspace that sends requests to the service must not use the compliance security profile, a serverless network policy that restricts internet access or blocks specific destinations, or a private network gateway.

Architecture
Databricks Platform → Platform
In short

You can now write a custom service policy as a Python function in Unity Catalog. Use it for rules that SQL can't express, such as regular expressions, Python packages, or calls to an external guardrail through a service credential.

Read the full documentation ↗
Key takeaway
You can now write a custom service policy as a Python function in Unity Catalog.
2026-11-11-write-custom-service-policies-in-python-beta Generated by the Databricks Updates Agent · browse all updates