Closed bitkeeper closed 3 months ago
To the import_xml an optional argument auto_load_definitions is added. Default is True.
import_xml
auto_load_definitions
Case: With commit https://github.com/FreeOpcUa/opcua-asyncio/commit/de8269e4dadcbc2e12773a35b415f55e54e8709c import_xml automatic load(on the fly code generation) the type defintions.
When using your own extension object and enum implementation (with ua.register_extension_object ua.register_enum) this is unwanted behaviour.
ua.register_extension_object
ua.register_enum
Previous work flow was:
load_data_type_definitions()
To make this possible again an option is required to prevent the auto load definitions when calling the import_xml method.
To the
import_xml
an optional argumentauto_load_definitions
is added. Default is True.Case: With commit https://github.com/FreeOpcUa/opcua-asyncio/commit/de8269e4dadcbc2e12773a35b415f55e54e8709c
import_xml
automatic load(on the fly code generation) the type defintions.When using your own extension object and enum implementation (with
ua.register_extension_object
ua.register_enum
) this is unwanted behaviour.Previous work flow was:
load_data_type_definitions()
To make this possible again an option is required to prevent the auto load definitions when calling the
import_xml
method.