vector-vault 4.4.2__tar.gz → 4.4.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.
Files changed (21) hide show
  1. {vector_vault-4.4.2 → vector_vault-4.4.3}/PKG-INFO +1 -1
  2. {vector_vault-4.4.2 → vector_vault-4.4.3}/setup.py +1 -1
  3. {vector_vault-4.4.2 → vector_vault-4.4.3}/vector_vault.egg-info/PKG-INFO +1 -1
  4. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/cloudmanager.py +1 -1
  5. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/creds.py +2 -1
  6. {vector_vault-4.4.2 → vector_vault-4.4.3}/LICENSE +0 -0
  7. {vector_vault-4.4.2 → vector_vault-4.4.3}/README.md +0 -0
  8. {vector_vault-4.4.2 → vector_vault-4.4.3}/setup.cfg +0 -0
  9. {vector_vault-4.4.2 → vector_vault-4.4.3}/vector_vault.egg-info/SOURCES.txt +0 -0
  10. {vector_vault-4.4.2 → vector_vault-4.4.3}/vector_vault.egg-info/dependency_links.txt +0 -0
  11. {vector_vault-4.4.2 → vector_vault-4.4.3}/vector_vault.egg-info/requires.txt +0 -0
  12. {vector_vault-4.4.2 → vector_vault-4.4.3}/vector_vault.egg-info/top_level.txt +0 -0
  13. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/__init__.py +0 -0
  14. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/ai.py +0 -0
  15. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/cloud_api.py +0 -0
  16. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/download.py +0 -0
  17. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/itemize.py +0 -0
  18. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/tools_gpt.py +0 -0
  19. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/vault.py +0 -0
  20. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/vecreq.py +0 -0
  21. {vector_vault-4.4.2 → vector_vault-4.4.3}/vectorvault/wrap.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vector_vault
3
- Version: 4.4.2
3
+ Version: 4.4.3
4
4
  Summary: Quickly create ChatGPT RAG apps and Unleash the full potential of GenAI with Vector Vault
5
5
  Home-page: https://github.com/John-Rood/VectorVault
6
6
  Author: VectorVault.io
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="vector_vault",
5
- version="4.4.2",
5
+ version="4.4.3",
6
6
  packages=find_packages(),
7
7
  author="VectorVault.io",
8
8
  author_email="john@johnrood.com",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vector-vault
3
- Version: 4.4.2
3
+ Version: 4.4.3
4
4
  Summary: Quickly create ChatGPT RAG apps and Unleash the full potential of GenAI with Vector Vault
5
5
  Home-page: https://github.com/John-Rood/VectorVault
6
6
  Author: VectorVault.io
@@ -28,7 +28,7 @@ class CloudManager:
28
28
  self.credentials = CustomCredentials(user, self.api)
29
29
  # Instantiate the client
30
30
  self.storage_client = storage.Client(project=call_proj(), credentials=self.credentials)
31
- self.username = self.username(self.user)
31
+ self.username = self.username(user)
32
32
  self.cloud = self.storage_client.bucket(self.username)
33
33
  self.cloud_name = cloud_name
34
34
  self.req_count = 0
@@ -15,6 +15,7 @@
15
15
 
16
16
  from google.auth.credentials import Credentials
17
17
  import requests
18
+ import time
18
19
  import datetime
19
20
 
20
21
  class CustomCredentials(Credentials):
@@ -32,7 +33,7 @@ class CustomCredentials(Credentials):
32
33
  def valid(self):
33
34
  if self.expiry is None:
34
35
  return False
35
- return datetime.datetime.utcnow() < self.expiry
36
+ return time.gmtime() < self.expiry
36
37
 
37
38
  def refresh(self, request):
38
39
  if not self.valid:
File without changes
File without changes
File without changes