Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyagreco committed Sep 8, 2024
1 parent e29a8fc commit aa6dd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sleeper/api/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Optional
from typing import Optional

import requests

Expand All @@ -13,7 +13,7 @@ def build_route(base_url: str, version: Optional[str], *args) -> str:
return f"{base_url}/{'/'.join(args)}"


def get(url: str) -> Optional[dict[Any, Any] | list[Any]]:
def get(url: str) -> Optional[dict | list]:
response = requests.get(url)
response.raise_for_status()
return response.json()
Expand Down

0 comments on commit aa6dd71

Please sign in to comment.