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):