databutton 0.38.10__tar.gz → 0.38.11__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 (29) hide show
  1. {databutton-0.38.10 → databutton-0.38.11}/PKG-INFO +1 -1
  2. {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/auth/get_user.py +3 -3
  3. {databutton-0.38.10 → databutton-0.38.11}/databutton/version.py +1 -1
  4. {databutton-0.38.10 → databutton-0.38.11}/pyproject.toml +1 -1
  5. {databutton-0.38.10 → databutton-0.38.11}/LICENSE +0 -0
  6. {databutton-0.38.10 → databutton-0.38.11}/README.md +0 -0
  7. {databutton-0.38.10 → databutton-0.38.11}/databutton/__init__.py +0 -0
  8. {databutton-0.38.10 → databutton-0.38.11}/databutton/cachetools.py +0 -0
  9. {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/__init__.py +0 -0
  10. {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/auth/__init__.py +0 -0
  11. {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/folder/__init__.py +0 -0
  12. {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/folder/folder.py +0 -0
  13. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/__init__.py +0 -0
  14. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/auth.py +0 -0
  15. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/byteutils.py +0 -0
  16. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/dbapiclient.py +0 -0
  17. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/httpxclient.py +0 -0
  18. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/performedby.py +0 -0
  19. {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/retries.py +0 -0
  20. {databutton-0.38.10 → databutton-0.38.11}/databutton/jobs/__init__.py +0 -0
  21. {databutton-0.38.10 → databutton-0.38.11}/databutton/jobs/run.py +0 -0
  22. {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/__init__.py +0 -0
  23. {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/email.py +0 -0
  24. {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/send.py +0 -0
  25. {databutton-0.38.10 → databutton-0.38.11}/databutton/pydantic_v1/__init__.py +0 -0
  26. {databutton-0.38.10 → databutton-0.38.11}/databutton/secrets/__init__.py +0 -0
  27. {databutton-0.38.10 → databutton-0.38.11}/databutton/secrets/secrets.py +0 -0
  28. {databutton-0.38.10 → databutton-0.38.11}/databutton/storage/__init__.py +0 -0
  29. {databutton-0.38.10 → databutton-0.38.11}/databutton/storage/storage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: databutton
3
- Version: 0.38.10
3
+ Version: 0.38.11
4
4
  Summary: The CLI for databutton.com
5
5
  License: Databutton
6
6
  Author: Databutton
@@ -1,8 +1,8 @@
1
1
  import re
2
2
  from datetime import datetime, timedelta
3
3
 
4
+ import httpx
4
5
  import jwt
5
- import requests
6
6
  from cryptography.x509 import load_pem_x509_certificate
7
7
  from fastapi import HTTPException, Request, status
8
8
  from pydantic import BaseModel
@@ -17,11 +17,11 @@ class GooglePublicKeySet:
17
17
 
18
18
  def get_keys(self):
19
19
  # Load certs from Google
20
- response = requests.get(
20
+ response = httpx.get(
21
21
  "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com"
22
22
  )
23
23
 
24
- x509_certs = response.json()
24
+ x509_certs: dict = response.json()
25
25
 
26
26
  # Extract the public keys
27
27
  keys = {}
@@ -5,4 +5,4 @@ This module contains project version information.
5
5
  .. moduleauthor:: Databutton <support@databutton.com>
6
6
  """
7
7
 
8
- __version__ = "0.38.10"
8
+ __version__ = "0.38.11"
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "databutton"
3
- version = "0.38.10"
3
+ version = "0.38.11"
4
4
  description = "The CLI for databutton.com"
5
5
  authors = ["Databutton <hi@databutton.io>"]
6
6
  license = "Databutton"
File without changes
File without changes