Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 0e3a420

Browse files
authored
fix: Default api_url (#132)
1 parent 3451d22 commit 0e3a420

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

seamapi/seam.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def __init__(
7373
workspace_id = os.environ.get("SEAM_WORKSPACE_ID", None)
7474
self.api_key = api_key
7575
self.workspace_id = workspace_id
76-
self.api_url = cast(str, api_url)
76+
if api_url is not None:
77+
self.api_url = cast(str, api_url)
7778
self.should_report_exceptions = should_report_exceptions
7879

7980
if self.should_report_exceptions:

0 commit comments

Comments
 (0)