Skip to content

Commit bdadc00

Browse files
authored
Merge branch 'main' into override-aud-check
2 parents b65752d + 2554dd9 commit bdadc00

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2187
-1250
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
- id: black
2525
language_version: python3
2626
- repo: https://github.com/asottile/pyupgrade
27-
rev: v3.20.0
27+
rev: v3.21.0
2828
hooks:
2929
- id: pyupgrade
3030
args: [--py38-plus]
@@ -47,7 +47,7 @@ repos:
4747
hooks:
4848
- id: validate_manifest
4949
- repo: https://github.com/tox-dev/tox-ini-fmt
50-
rev: 1.6.0
50+
rev: 1.7.0
5151
hooks:
5252
- id: tox-ini-fmt
5353
args: ["-p", "type"]

descope/_auth_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ class AuthBase:
77

88
def __init__(self, auth: Auth):
99
self._auth = auth
10+
self._http = auth.http_client

descope/_http_base.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from __future__ import annotations
2+
3+
from descope.http_client import HTTPClient
4+
5+
6+
class HTTPBase:
7+
"""Base class for classes that only need HTTP access."""
8+
9+
def __init__(self, http_client: HTTPClient):
10+
self._http = http_client

0 commit comments

Comments
 (0)