Skip to content

Commit

Permalink
fix issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
gechandesu committed May 19, 2023
1 parent 3a4bb53 commit b2ca273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions twc/api/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""API client exceptions."""

from typing import List
from typing import List, Union
from uuid import UUID

from requests import HTTPError, PreparedRequest, Response
Expand All @@ -13,7 +13,7 @@ def __init__(
self,
status_code: int = None,
error_code: str = None,
message: str | List[str] = None,
message: Union[str, List[str]] = None,
response_id: UUID = None,
):
self.status_code = status_code
Expand All @@ -31,7 +31,7 @@ def __init__(
response: Response = None,
error_code: str = None,
status_code: str = None,
message: str | List[str] = None,
message: Union[str, List[str]] = None,
response_id: UUID = None,
):
if message is not None:
Expand Down

0 comments on commit b2ca273

Please sign in to comment.