You can never safely use imports with Ignition project library scripts. Ignition doesn't use jython's import machinery.
Edit: This long-standing script library bug might be (part of) the reason for the no-import best practice:
You can never safely use imports with Ignition project library scripts. Ignition doesn't use jython's import machinery.
Edit: This long-standing script library bug might be (part of) the reason for the no-import best practice: