def _get_current_client():
 if settings.USE_POSTGRES:
  return None
 return CLIENT_POOL.acquire()

def _get_current_client ( ) : if settings . USE_POSTGRES : return None return CLIENT_POOL . acquire ( )
get the current mongodb client from the pool .