We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9016e65 commit 09cec6dCopy full SHA for 09cec6d
ldclient/config.py
@@ -362,7 +362,7 @@ def copy_with_new_sdk_key(self, new_sdk_key: str) -> 'Config':
362
363
:param new_sdk_key: the new SDK key
364
"""
365
- warnings.warn("copy_with_new_sdk_key is deprecated and will be removed in a future version", DeprecationWarning)
+ warnings.warn("copy_with_new_sdk_key is deprecated and will be removed in a future version", DeprecationWarning, stacklevel=2)
366
return Config(
367
sdk_key=new_sdk_key,
368
base_uri=self.__base_uri,
0 commit comments