examples.data.example_aas: Missing namespace initialization for `create_example_submodel`
If you try:
test_submodel = create_example_submodel()
test_submodel.get_referable("ExampleProperty")
you recieve:
KeyError: 'Referable with id_short ExampleProperty not found in this namespace'
This function (and possibly all the other create_example...
-functions) is/are missing the creation of a NamespaceSet
containing all the sub-elements, something like:
example_submodel_namespace_set = NamespaceSet(parent=example_submodel, items=[example_property, ...])
example_submodel.namespace_element_sets = [example_submodel_namespace_set]
Though, shouldn't these namespaces in general be created automatically with initializing the objects?