Skip to content

IDE not recognizing OSI classes in python #820

@ClemensLinnhoff

Description

@ClemensLinnhoff

Describe the bug

When including modules from the python implementation of OSI, my IDE (pyCharm) does not recognize the classes. Therefore, there is no autocomplete when working with it.

image

Describe how to reproduce the bug

Steps to reproduce the behavior:

  1. Import a module from OSI into a python script
  2. Try to use autocomplete in your IDE

Describe the expected behavior

I would expect the IDE to find the package and support autocomplete. This could be accomplished by generating pyi files during the python setup using protoc: https://stackoverflow.com/a/74575817

Describe the OS you are using

  • OS: Ubuntu 22.04
  • Language: Python
  • IDE pyCharm

Metadata

Metadata

Labels

BugProblems in the build system, build scripts, etc or faults in the interface.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions