beremiz

Let extensions know when configuration is new, to apply defaults.
py2compat
17 months ago, Edouard Tisserant
1772f66ebefa
Let extensions know when configuration is new, to apply defaults.

Add "new_config" member to CTN, True when config was just created.
# 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")]
#