From 47807403cb197e19a446e748856842516fb49268 Mon Sep 17 00:00:00 2001 From: Alex Happy <1223408988@qq.com> Date: Tue, 28 Apr 2026 18:20:24 +0800 Subject: [PATCH] add view in context --- seatable_api/context.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seatable_api/context.py b/seatable_api/context.py index 1ac3ff7..bdd1e1f 100644 --- a/seatable_api/context.py +++ b/seatable_api/context.py @@ -43,6 +43,11 @@ def current_row(self): def current_table(self): return context_data.get('table') + @property + @need_data + def current_view(self): + return context_data.get('view') + @property @need_data def current_user_id(self):