@twitrss_breaker<EOL>async def fetch_twitter(handle: str) -> List:
async with ClientSession() as session:<EOL><INDENT>try:<EOL><INDENT>async with session.get(f"<STR_LIT>") as request:<EOL><INDENT>text = await request.text()<EOL><DEDENT><DEDENT>except ClientConnectionError as con_err:<EOL><INDENT>logger.debug(f"<STR_LIT>")<EOL>raise ApiError(f"<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>feed = parse(text)<EOL>for x in feed.entries:<EOL><INDENT>x["<STR_LIT:image>"] = feed.feed["<STR_LIT:image>"]["<STR_LIT>"]<EOL><DEDENT>return feed.entries<EOL><DEDENT><DEDENT>
Gets the twitter feed for a given handle.
:param handle: The twitter handle.
:return: A list of entries in a user's feed.
:raises ApiError: When the api couldn't connect.
:raises CircuitBreakerError: When the circuit breaker is open.