Fake submodule so class imported from it is considered as the same classes.
Additional review information
This is for cases when any base handle class is not imported from ftrack_common but from ftrack_common.event_handlers. In that case (if module is not in sys.modules yet), it will reimport the files again, which will cause different ids of classes. Preparing it for python will avoid importing it again.
Testing notes:
When using service tools, it is possible to dicover action that imports base class from ftrack_common.event_handlers.
Changelog Description
Fake submodule so class imported from it is considered as the same classes.
Additional review information
This is for cases when any base handle class is not imported from
ftrack_common
but fromftrack_common.event_handlers
. In that case (if module is not insys.modules
yet), it will reimport the files again, which will cause different ids of classes. Preparing it for python will avoid importing it again.Testing notes:
ftrack_common.event_handlers
.