carbonarc 1.0.1__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: carbonarc
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Carbon Arc - Python Package
5
5
  License: MIT
6
6
  Author: Carbon Arc
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "carbonarc"
3
- version = "1.0.1"
3
+ version = "1.0.2"
4
4
  description = "Carbon Arc - Python Package"
5
5
  authors = ["Carbon Arc <support@carbonarc.co>"]
6
6
  readme = "README.md"
@@ -36,9 +36,7 @@ class BaseAPIClient:
36
36
  product: Literal["clients", "framework", "library", "ontology", "hub"],
37
37
  ) -> str:
38
38
 
39
- url = self.host + f"/{self.version}/" + product
40
-
41
- url = url.replace("//", "/")
39
+ url = f"{self.host.rstrip('/')}/{self.version}/{product}"
42
40
 
43
41
  return url
44
42
 
File without changes
File without changes