First time here? Check out the FAQ!

Revision history  [back]

See here for the further analysis on this problem. I excerpted them from there for your info:

Dear Hongyi,

Let me add the reason why 'calcfunction' is not imported in the way described in the linked post:

In the import

orm/nodes/process/ has from .calculation import *

the calcfunction module is imported into orm/nodes/process/calculation/, but that file also defines an attribute

__all__ = ('CalculationNode', 'CalcFunctionNode', 'CalcJobNode')

Because a wildcard (from something import *) import will import only the names defined in __all__, the "calcfunction" module is not exposed at the level of orm/nodes/process/

Maybe this explanation will help in figuring out what goes wrong with the autocompletion.

Best regards,