def __init__(self):
    super().__init__(name='NetworkThread')
    assert (not self.network_event_loop)
    NetworkThread.network_event_loop = asyncio.new_event_loop()
def __init__(self):
    super().__init__(name='NetworkThread')
    assert (not self.network_event_loop)
    NetworkThread.network_event_loop = asyncio.new_event_loop()