definite-sdk 0.1.0__tar.gz → 0.1.3__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.1
2
2
  Name: definite-sdk
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
  Summary: Definite SDK for Python
5
5
  License: MIT
6
6
  Author: Definite
@@ -1,4 +1,4 @@
1
- from store import DefiniteKVStore
1
+ from definite_sdk.store import DefiniteKVStore
2
2
 
3
3
  API_URL = "https://api.definite.app"
4
4
 
@@ -45,8 +45,7 @@ class DefiniteKVStore:
45
45
  self._name = name
46
46
  self._store_url = api_url + STORE_ENDPOINT
47
47
  response = requests.get(
48
- self._store_url,
49
- json={"name": self._name},
48
+ self._store_url + f"/{name}",
50
49
  headers={"Authorization": "Bearer " + self._api_key},
51
50
  )
52
51
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "definite-sdk"
3
- version = "0.1.0"
3
+ version = "0.1.3"
4
4
  description = "Definite SDK for Python"
5
5
  authors = ["Definite <hello@definite.app>"]
6
6
  license = "MIT"
File without changes
File without changes