Skip to content

Commit 615d6f4

Browse files
committed
fix getComments sample
1 parent 032f368 commit 615d6f4

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

manual/python/comment.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,22 @@ base.get_comments(row_id, page=1, per_page=25)
4949
返回
5050

5151
```Python
52-
[
53-
{
54-
'id': 1,
55-
'author': '27e19630f2044e1abe9e86e17e4c8418@auth.local',
56-
'comment': 'comment content',
57-
'created_at': '2023-03-10T16:09:30+00:00',
58-
'updated_at': '2023-03-10T16:09:30+00:00',
59-
'dtable_uuid': '281bb8dc19fb4257ad5feabccc8a9333',
60-
'row_id': 'R6anZyjkRJK-HGrqkLvVsA',
61-
'detail': None,
62-
'resolved': False
63-
}
64-
]
52+
{
53+
"comment_list": [
54+
{
55+
'id': 1,
56+
'author': '27e19630f2044e1abe9e86e17e4c8418@auth.local',
57+
'comment': 'comment content',
58+
'created_at': '2023-03-10T16:09:30+00:00',
59+
'updated_at': '2023-03-10T16:09:30+00:00',
60+
'dtable_uuid': '281bb8dc19fb4257ad5feabccc8a9333',
61+
'row_id': 'R6anZyjkRJK-HGrqkLvVsA',
62+
'detail': None,
63+
'resolved': False
64+
}
65+
],
66+
"count": 1
67+
}
6568
```
6669

6770
#### Resolve a comment

0 commit comments

Comments
 (0)