opc_ua/__init__.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 16 Aug 2022 19:52:49 +0200
branchwxPython4
changeset 3584 8a54fd58a552
parent 3337 6097bca230e8
child 3750 f62625418bff
permissions -rw-r--r--
Runtime: wx.app.mainLoop and twisted reactor now share main thread with runtime.Worker.

This fixes exception when invoking python interactive shell from Runtime's tray
icon right-click menu.

Probably a consequence of wxPython upgrade, together with initial bad idea to
move wx.app.mainloop in non-main thread.
# opcua/__init__.py

from __future__ import absolute_import

from .client import OPCUAClient

# class RootClass(object):
#     XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
#     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
#     </xsd:schema>
#     """
#     CTNChildrenTypes = [("OPCUAClient", OPCUAClient, "OPCUA Client")]
#