def gevent_un_patch_all():
 restore_saved_module('os')
 restore_saved_module('time')
 restore_saved_module('thread')
 restore_saved_module('threading')
 restore_saved_module('_threading_local')
 restore_saved_module('stdin')
 restore_saved_module('stdout')
 restore_saved_module('socket')
 restore_saved_module('select')
 restore_saved_module('ssl')
 restore_saved_module('subprocess')

def gevent_un_patch_all ( ) : restore_saved_module ( 'os' ) restore_saved_module ( 'time' ) restore_saved_module ( 'thread' ) restore_saved_module ( 'threading' ) restore_saved_module ( '_threading_local' ) restore_saved_module ( 'stdin' ) restore_saved_module ( 'stdout' ) restore_saved_module ( 'socket' ) restore_saved_module ( 'select' ) restore_saved_module ( 'ssl' ) restore_saved_module ( 'subprocess' )
a method to unpatch gevent libraries .