Skip to content

Commit

Permalink
fix: remove unnecessary default base url values
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusemreozdemir committed Dec 24, 2024
1 parent 7e49d9c commit 8f7a392
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qstash/asyncio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(
http = AsyncHttpClient(
token,
retry,
base_url=(base_url or "https://qstash.upstash.io"),
base_url,
)
self.message = AsyncMessageApi(http)
"""Message api."""
Expand Down
2 changes: 1 addition & 1 deletion qstash/asyncio/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(
self,
token: str,
retry: Optional[Union[Literal[False], RetryConfig]],
base_url: str,
base_url: Optional[str] = None,
) -> None:
self._token = f"Bearer {token}"

Expand Down
2 changes: 1 addition & 1 deletion qstash/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
http = HttpClient(
token,
retry,
base_url=(base_url or "https://qstash.upstash.io"),
base_url,
)
self.message = MessageApi(http)
"""Message api."""
Expand Down
2 changes: 1 addition & 1 deletion qstash/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(
self,
token: str,
retry: Optional[Union[Literal[False], RetryConfig]],
base_url: str,
base_url: Optional[str] = None,
) -> None:
self._token = f"Bearer {token}"

Expand Down

0 comments on commit 8f7a392

Please sign in to comment.