Skip to content

feat: add get_version() helper function#69

Open
haosenwang1018 wants to merge 1 commit into
llmsresearch:mainfrom
haosenwang1018:feat/add-version-helper
Open

feat: add get_version() helper function#69
haosenwang1018 wants to merge 1 commit into
llmsresearch:mainfrom
haosenwang1018:feat/add-version-helper

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

Add get_version() helper function to retrieve package version.

Changes

  • Add get_version() function to return version
  • Useful for CLI and programmatic version checks

Testing

  • Function returns correct version string
  • No breaking changes

Add get_version() helper to retrieve package version.
Useful for CLI and programmatic version checks.
@dippatel1994
Copy link
Copy Markdown
Member

Hi @haosenwang1018, thanks for your contribution. Could you please create an issue and link it here? Also, add a small test for this change.

@dippatel1994
Copy link
Copy Markdown
Member

Hey @haosenwang1018, paperbanana.__version__ is already exported from the package, so a get_version() helper adds minimal value as a standalone. This overlaps with PR #29 which exposes version on the CLI. Would you like to close this and let #29 cover version exposure, or expand this PR to add the CLI --version flag as well?

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

Successfully merging this pull request may close these issues.

2 participants