From f630592d77b2632ce0b897eacb3f12244239c933 Mon Sep 17 00:00:00 2001 From: Simon Hammes Date: Tue, 9 Jun 2026 13:46:19 +0200 Subject: [PATCH] Document "current_view" attribute --- docs/python/objects/context.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/python/objects/context.md b/docs/python/objects/context.md index e7e975bf..21c80573 100644 --- a/docs/python/objects/context.md +++ b/docs/python/objects/context.md @@ -65,6 +65,25 @@ When the script is running in the cloud, the context object provides a context e print(context.current_table) ``` +## current_view + +!!! info "current_view" + + The name of the view that the current user is viewing when the script is run. + + **Note:** This was added in version 6.2. + + ```python + context.current_view + ``` + + __Example__ + + ```python + from seatable_api import context + print(context.current_view) + ``` + ## current_row !!! info "current_row"