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

const module not exposed #2819

Closed
valentingregoire opened this issue Mar 12, 2024 · 1 comment
Closed

const module not exposed #2819

valentingregoire opened this issue Mar 12, 2024 · 1 comment

Comments

@valentingregoire
Copy link
Contributor

Description of the problem, including code/CLI snippet

The const module is not exported, therefore, one cannot access any const properly.

Expected Behavior

One can simply access the consts

Actual Behavior

Right now, it is possible to access the consts with gitlab.const.XYZ, but this is not the most ideal situation I believe.

Specifications

  • python-gitlab version: 4.4.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): most recent
@valentingregoire valentingregoire changed the title const module note exposed const module not exposed Mar 12, 2024
@nejch
Copy link
Member

nejch commented Jun 6, 2024

As discussed in #2820 we'll keep this as is - it's expected that the constants aren't exposed at the root package level.

@nejch nejch closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants