Skip to content

Commit 5b80a48

Browse files
authored
Merge pull request #579 from permitio/rk/suppress-tests-warnings
Suppress warnings in tests
2 parents ed55f51 + aba5b77 commit 5b80a48

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

packages/opal-client/opal_client/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class OpalClientConfig(Confi):
9090
POLICY_STORE_POLICY_PATHS_TO_IGNORE = confi.list(
9191
"POLICY_STORE_POLICY_PATHS_TO_IGNORE",
9292
[],
93-
description="When loading policies manually or otherwise externally into the policy store, use this list of glob patterns to have OPAL ignore and not delete or override them, end paths (without any wildcards in the middle) with '\**' to indicate you want all nested under the path to be ignored",
93+
description="When loading policies manually or otherwise externally into the policy store, use this list of glob patterns to have OPAL ignore and not delete or override them, end paths (without any wildcards in the middle) with '/**' to indicate you want all nested under the path to be ignored",
9494
)
9595

9696
POLICY_UPDATER_ENABLED = confi.bool(

packages/opal-common/opal_common/authentication/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
from typing import Any, Dict
33

44
from cryptography.hazmat.primitives.asymmetric.types import (
5-
PRIVATE_KEY_TYPES,
6-
PUBLIC_KEY_TYPES,
5+
PrivateKeyTypes,
6+
PublicKeyTypes,
77
)
88
from jwt.algorithms import get_default_algorithms
99

1010
# custom types
11-
PrivateKey = PRIVATE_KEY_TYPES
12-
PublicKey = PUBLIC_KEY_TYPES
11+
PrivateKey = PrivateKeyTypes
12+
PublicKey = PublicKeyTypes
1313
JWTClaims = Dict[str, Any]
1414

1515

packages/requires.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
charset-normalizer>=2.0.12,<3
21
idna>=3.3,<4
32
typer>=0.4.1,<1
43
fastapi>=0.109.1,<1

0 commit comments

Comments
 (0)