We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72d3d5 commit 9da4183Copy full SHA for 9da4183
utils/tito.py
@@ -1,4 +1,4 @@
1
-import aiohttp
+import aiohttp, logging
2
3
TITO_API_ROOT = "https://api.tito.io/v3"
4
@@ -21,6 +21,7 @@ async def fetch_question_answers(self, question_slug: str) -> list[dict]:
21
async with aiohttp.ClientSession() as session:
22
async with session.get(endpoint, headers=self.base_headers) as response:
23
answers = await response.json()
24
+ logging.debug(answers)
25
return [TitoAnswer.from_json(a) for a in answers.get("answers", [])]
26
27
0 commit comments