Skip to content

Commit

Permalink
style: Remove unnecessary code and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 18, 2024
1 parent c8968da commit 8db7a7f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/nbiatoolkit/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,3 @@ def parse_response(response: requests.Response) -> List[dict[Any, Any]]:
)

return response_list


if __name__ == "__main__":
from bs4 import BeautifulSoup
from datetime import datetime
from typing import Union
import requests

response = requests.get("https://jsonplaceholder.typicode.com/todos/1")
print(
parse_response(response)
) # Output: {'userId': 1, 'id': 1, 'title': 'delectus aut autem', 'completed': False}

0 comments on commit 8db7a7f

Please sign in to comment.