I develop a Module Peer function that works perfectly inside Jython script.
When i move this code to Jython library, Modelio syas: AttributeError: 'fr.acceliance.modelio.utils.impl.ModelioUtilsPeerM' object has no attribute 'getModelioContext' in <script>
Why does the peer function is not seen when moving the Jython code to Jython lib ?
ModelioContext getModelioContext() is a method on IModule, not IPeerModule.
A IPeerModule is a public API intented to be shared with other modules.
The IModelioContext is private to the module and is not to be shared with other modules that's why it is not on IPeerModule .