We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6453a commit 546f754Copy full SHA for 546f754
synchro/__init__.py
@@ -338,7 +338,8 @@ def synchronized_method(*args, **kwargs):
338
def partial():
339
return async_method(*args, **kwargs)
340
341
- with warnings.catch_warnings(action="ignore", category=DeprecationWarning):
+ with warnings.catch_warnings():
342
+ warnings.simplefilter("ignore", DeprecationWarning)
343
loop = IOLoop.current()
344
return loop.run_sync(partial)
345
0 commit comments