Skip to content

Commit da044c1

Browse files
vaibhavatlanAryamanz29
authored andcommitted
more cleanup
1 parent bae36f0 commit da044c1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pyatlan/client/aio/oauth.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ def _create_path(self, api: API):
8080
from urllib.parse import urljoin
8181

8282
if self.base_url == "INTERNAL":
83-
base_with_prefix = urljoin(api.endpoint.service, api.endpoint.prefix)
84-
return urljoin(base_with_prefix, api.path)
83+
return urljoin(api.endpoint.service, api.path)
8584
else:
8685
base_with_prefix = urljoin(self.base_url, api.endpoint.prefix)
8786
return urljoin(base_with_prefix, api.path)

pyatlan/client/oauth.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ def _create_path(self, api: API):
8080
from urllib.parse import urljoin
8181

8282
if self.base_url == "INTERNAL":
83-
base_with_prefix = urljoin(api.endpoint.service, api.endpoint.prefix)
84-
return urljoin(base_with_prefix, api.path)
83+
return urljoin(api.endpoint.service, api.path)
8584
else:
8685
base_with_prefix = urljoin(self.base_url, api.endpoint.prefix)
8786
return urljoin(base_with_prefix, api.path)

0 commit comments

Comments
 (0)