erioon 0.0.6__tar.gz → 0.0.7__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.2
2
2
  Name: erioon
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Erioon SDF for Python
5
5
  Author: Zyber Pireci
6
6
  Author-email: zyber.pireci@erioon.com
@@ -92,8 +92,7 @@ class ErioonClient:
92
92
  dict: Metadata with user_id, database, cluster, etc.
93
93
  """
94
94
  url = f"{self.base_url}/login_with_credentials"
95
- hashed_key = generate_password_hash(self.api)
96
- payload = {"api_key": hashed_key,"email": self.email, "password": self.password}
95
+ payload = {"api_key": self.api,"email": self.email, "password": self.password}
97
96
  headers = {"Content-Type": "application/json"}
98
97
 
99
98
  response = requests.post(url, json=payload, headers=headers)
@@ -94,7 +94,6 @@ class Collection:
94
94
  new_doc = {"name": "Alice", "age": 25}
95
95
  result = collection.insert_one(new_doc)
96
96
  """
97
- self._print_loading()
98
97
  if self._is_read_only():
99
98
  return {"status": "KO", "error": "Method not allowed. Access is only read."}
100
99
 
@@ -140,7 +139,6 @@ class Collection:
140
139
  Usage:
141
140
  result = collection.delete_one({"name": "John"})
142
141
  """
143
- self._print_loading()
144
142
  if self._is_read_only():
145
143
  return {"status": "KO", "error": "Method not allowed. Access is only read."}
146
144
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: erioon
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Erioon SDF for Python
5
5
  Author: Zyber Pireci
6
6
  Author-email: zyber.pireci@erioon.com
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='erioon',
5
- version='0.0.6',
5
+ version='0.0.7',
6
6
  author='Zyber Pireci',
7
7
  author_email='zyber.pireci@erioon.com',
8
8
  description='Erioon SDF for Python',
File without changes
File without changes
File without changes
File without changes
File without changes