Skip to content

Commit 9f7f905

Browse files
author
Joel Collins
committed
Deprecate monkey patch
1 parent 4055ef6 commit 9f7f905

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/labthings/monkey.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import logging
2+
3+
14
def patch_all(*args, **kwargs):
2-
# Here for backwards compatibility
5+
logging.warning(
6+
"monkey.patch_all is deprecated and will be removed in a future version"
7+
)
38
return

0 commit comments

Comments
 (0)