We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b6dc95 commit e0584c3Copy full SHA for e0584c3
bugout/__init__.py
@@ -7,7 +7,7 @@
7
8
__email__ = "engineering@bugout.dev"
9
__license__ = "MIT"
10
-__version__ = "0.1.14"
+__version__ = "0.1.15"
11
12
__all__ = (
13
"__author__",
bugout/resource.py
@@ -21,7 +21,7 @@ def __init__(
21
self.timeout = timeout
22
23
def _call(self, method: Method, path: str, **kwargs):
24
- url = f"{self.url.rstrip('/')}/{path.rstrip('/')}"
+ url = f"{self.url.rstrip('/')}/{path}"
25
result = make_request(method=method, url=url, timeout=self.timeout, **kwargs)
26
return result
27
@@ -31,7 +31,7 @@ def create_resource(
31
application_id: Union[str, uuid.UUID],
32
resource_data: Dict[str, Any],
33
) -> BugoutResource:
34
- resources_path = "resources"
+ resources_path = "resources/"
35
headers = {
36
"Authorization": f"Bearer {token}",
37
}
@@ -61,7 +61,7 @@ def list_resources(
61
token: Union[str, uuid.UUID],
62
params: Optional[Dict[str, Any]] = None,
63
) -> BugoutResources:
64
65
66
67
0 commit comments