Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE not recognizing OSI classes in python #820

Open
ClemensLinnhoff opened this issue Jun 6, 2024 · 0 comments · May be fixed by #821
Open

IDE not recognizing OSI classes in python #820

ClemensLinnhoff opened this issue Jun 6, 2024 · 0 comments · May be fixed by #821
Assignees
Labels
Bug Problems in the build system, build scripts, etc or faults in the interface.
Milestone

Comments

@ClemensLinnhoff
Copy link
Contributor

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
@ClemensLinnhoff ClemensLinnhoff added the Bug Problems in the build system, build scripts, etc or faults in the interface. label Jun 6, 2024
@ClemensLinnhoff ClemensLinnhoff added this to the V3.7.1 milestone Jun 6, 2024
@ClemensLinnhoff ClemensLinnhoff self-assigned this Jun 6, 2024
@ClemensLinnhoff ClemensLinnhoff linked a pull request Jun 6, 2024 that will close this issue
6 tasks
@ClemensLinnhoff ClemensLinnhoff linked a pull request Jun 6, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Problems in the build system, build scripts, etc or faults in the interface.
Projects
None yet
1 participant