Skip to content

Commit 192f501

Browse files
aepfligruebel
andauthored
Update providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/provider.py
Co-authored-by: Anton Grübel <[email protected]> Signed-off-by: Simon Schrottner <[email protected]>
1 parent 15fb0fc commit 192f501

File tree

1 file changed

+3
-2
lines changed
  • providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd

1 file changed

+3
-2
lines changed

providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/provider.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ def __init__( # noqa: PLR0913
6767
"""
6868
if deadline is None and timeout is not None:
6969
deadline = timeout * 1000
70-
logging.warn(
71-
"'timeout' property is deprecated, please use 'deadline' instead, be aware that 'deadline' is in milliseconds"
70+
warnings.warn(
71+
"'timeout' property is deprecated, please use 'deadline' instead, be aware that 'deadline' is in milliseconds",
72+
DeprecationWarning,
7273
)
7374

7475
self.config = Config(

0 commit comments

Comments
 (0)