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

Add a version module to align with SDV Enterprise #1761

Closed
npatki opened this issue Jan 26, 2024 · 0 comments · Fixed by #1774
Closed

Add a version module to align with SDV Enterprise #1761

npatki opened this issue Jan 26, 2024 · 0 comments · Fixed by #1774
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@npatki
Copy link
Contributor

npatki commented Jan 26, 2024

Problem Description

To align the usages of SDV with SDV Enterprise, we should add a version module that the user can call to quickly see what they have installed.

Expected behavior

The expected behavior is similar to SDV Enterprise: the version module should expose an enterprise variable and a public variable. The only difference is that the enterprise variable is set to None. The public variable should return the same value as calling sdv.__version__ (current version).

>>> import sdv
>>> print(sdv.version.enterprise)
None
>>> print(sdv.version.public)
'1.9.0'
>>> print(sdv.__version__)
'1.9.0'

Additional context

This will make it easy for users and customer to troubleshoot which versions they currently have installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants