I don't know how to construct dynamic data objects containing sequences, unions, or nested types with the rti.connextdds python package, and find very difficult to find any tutorials, guides or example code about that online. I've looked through the example projects contained in this repository, but was disappointed to find that more advanced type definitions like the ones I mentioned are not covered by any of them.
I think it might be good if you could add an example project covering all - or at least most of - the IDL features supported by rti connext, including the more complex ones.