mixpeek 0.6.10__py3-none-any.whl → 0.6.12__py3-none-any.whl

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.
@@ -5,7 +5,7 @@ class Connections:
5
5
  self.base_url = base_url
6
6
  self.headers = headers
7
7
 
8
- def create_connection(self, alias: str, engine: str, details: dict):
8
+ def create(self, alias: str, engine: str, details: dict):
9
9
  url = f"{self.base_url}connections/"
10
10
  data = {
11
11
  "alias": alias,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mixpeek
3
- Version: 0.6.10
3
+ Version: 0.6.12
4
4
  Summary: Mixpeek Python SDK
5
5
  Home-page: https://github.com/mixpeek/mixpeek-python
6
6
  Author: Ethan Steininger
@@ -48,7 +48,7 @@ generated_content = mixpeek.generate.text(
48
48
  context="Please tell me the weather and make sure to respond in the provided JSON schema"
49
49
  )
50
50
 
51
- mixpeek.create_connection(
51
+ mixpeek.connections.create(
52
52
  alias="my-mongo-test",
53
53
  engine="mongodb",
54
54
  details={
@@ -2,12 +2,12 @@ mixpeek/__init__.py,sha256=XDdcK7wTEOEcF1cp-GeWmgPJ21Ny1R9pB0PPNrdDTMo,28
2
2
  mixpeek/client.py,sha256=h-YSg18sjAoKgZFMMlRJGkuanpa7zQ5K0JPMhJP0aDg,789
3
3
  mixpeek/exceptions.py,sha256=Orhdo5UFLn3fcWVJtlgkznW8Iy5ndL96h0qTY8zOlDA,235
4
4
  mixpeek/endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- mixpeek/endpoints/connections.py,sha256=N7Zr97lI68HOanvB8OkVRjQhecNXfNPdnvonCnPvxj4,480
5
+ mixpeek/endpoints/connections.py,sha256=-jkdK_CK68DRUOu0IF2ThQFOsQGH8e2RqyRQBBq3Pco,469
6
6
  mixpeek/endpoints/embed.py,sha256=D_xOYllx4cdPZZVXejRYhfvPOyJylum5aJ5gki-lbVQ,1562
7
7
  mixpeek/endpoints/extract.py,sha256=1KWxvgbQanRwYcFPWGthyv32LVj2gAhxDERwY3QgHUg,476
8
8
  mixpeek/endpoints/generate.py,sha256=TAJ79KCchwHYQBWZSnOZBFeXprXBZqAb2mNrQrT8VWM,513
9
9
  mixpeek/endpoints/tools.py,sha256=Yw6mvBqbrREY79l_BM6ek_CjxDPbFUdkmZqiaZcYSe8,787
10
- mixpeek-0.6.10.dist-info/METADATA,sha256=nSnMlCnbPHriwr-seumxGIrE0HijDHIs6c5Q5Ht1FB4,1483
11
- mixpeek-0.6.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
12
- mixpeek-0.6.10.dist-info/top_level.txt,sha256=EJ8Jc4IhqyUwnUlBwKbs498Ju4O9a-IDh2kXc_lo6Vg,8
13
- mixpeek-0.6.10.dist-info/RECORD,,
10
+ mixpeek-0.6.12.dist-info/METADATA,sha256=i6MDkladdtauiSqZ5l3qaKj-WoPdl5th3KA-1mTHWqs,1484
11
+ mixpeek-0.6.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
12
+ mixpeek-0.6.12.dist-info/top_level.txt,sha256=EJ8Jc4IhqyUwnUlBwKbs498Ju4O9a-IDh2kXc_lo6Vg,8
13
+ mixpeek-0.6.12.dist-info/RECORD,,