Skip to content

Commit 09cec6d

Browse files
committed
show where the developer is calling the deprecated function from
1 parent 9016e65 commit 09cec6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def copy_with_new_sdk_key(self, new_sdk_key: str) -> 'Config':
362362
363363
:param new_sdk_key: the new SDK key
364364
"""
365-
warnings.warn("copy_with_new_sdk_key is deprecated and will be removed in a future version", DeprecationWarning)
365+
warnings.warn("copy_with_new_sdk_key is deprecated and will be removed in a future version", DeprecationWarning, stacklevel=2)
366366
return Config(
367367
sdk_key=new_sdk_key,
368368
base_uri=self.__base_uri,

0 commit comments

Comments
 (0)