From bfa468a50f1becfe32f240bb644a68f2738963ac Mon Sep 17 00:00:00 2001 From: r350178982 <32759763+r350178982@users.noreply.github.com> Date: Wed, 23 Mar 2022 14:45:14 +0800 Subject: [PATCH] Update main.py --- seatable_api/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seatable_api/main.py b/seatable_api/main.py index 0c0c1ae..a30c4a0 100644 --- a/seatable_api/main.py +++ b/seatable_api/main.py @@ -448,6 +448,8 @@ def update_link(self, link_id, table_id, other_table_id, row_id, other_rows_ids) :param row_id: str :param other_rows_ids: list """ + if not isinstance(other_rows_ids, list): + raise ValueError("Param other_rows_ids expect type 'list'") url = self._row_link_server_url() json_data = { 'link_id': link_id,