I’ve read through the powerpoint and it says a logic reference is myWidget.logic, but the powerpoint doesn’t specify if this is just how the myWidget class accesses logic, or if that is how other modules should access the logic as well.
This is included in the standard scripted module template (created by Extension Wizard):
For loadable and CLI modules the logic is instantiated at application startup. You can access them as shown in the slide you referenced above. For scripted modules, optimal choice depends on the module. If the the scripted module logic is active (e.g., continuously observe the scene and act on scene or node changes automatically) then you need to access the existing module logic (typically via the module object). However, in most cases the module logic is just passive (it is just a collection of functions, does not do any observations) and in these cases you can instantiate another logic class and use that, as it is done for example here: