docs: clarify local MV version pinning

This commit is contained in:
Jack Ye
2026-10-02 11:47:41 -05:00
parent d4f5c718ad
commit f2f35c0413
4 changed files with 11 additions and 7 deletions
+3 -2
View File
@@ -183,8 +183,9 @@ class AsyncMaterializedView:
) -> "RefreshMaterializedViewResult":
"""Recompute the view from its source.
Every refresh rebuilds the complete view. ``source_version`` refreshes
to that source version instead of the latest.
Every refresh rebuilds the complete view. For local views,
``source_version`` refreshes to that source version instead of the
latest; remote SQL refreshes do not support source-version pinning.
"""
return await self._table._inner.refresh_materialized_view(
source_version=source_version