Replymessage unavailable
Basically, @QmlElement replaces qmlRegisterType()
Here is an example: https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/qml/referenceexamples/adding
Here is the documentation:https://doc.qt.io/qtforpython/PySide6/QtQml/QmlElement.html