Skip to content

Commit 72be8fb

Browse files
committed
Add comments to get_que function
1 parent 31ef6e5 commit 72be8fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/arguments/utility.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ def make_request(self, que, tag: str):
5959
return resp.json()
6060

6161
def get_que(self, json_data):
62+
"""
63+
This function returns the list of ids of the questions
64+
that have been answered, from the response that we get
65+
from the make_request function.
66+
"""
6267
que_id = []
6368
for data in json_data['items']:
6469
if data["is_answered"]:

0 commit comments

Comments
 (0)