ignition-devs/ignition-api-8.1

Importing certain `system` modules results in `ImportError: cannot import name Path`

cesarcoatl opened this issue · 0 comments

Describe the bug

When importing the following system modules on PyCharm's Python Console, I get an ImportError exception.

To Reproduce

Open PyCharm's Python Console on a project which depends on ignition-api/8.1 and import any of the following system modules:

  • alarm
  • dataset
  • db
  • device
  • eam
  • gui
  • nav
  • opc
  • opchda
  • perspective
  • report
  • roster
  • secsgem
  • sfc
  • tag
  • twilio
  • user
  • util

Expected behavior

There should be no error.

Screenshots

Additional context

This is caused by a circular import that goes undetected by pylint.