You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the __init__ file doesn't have an entry for this value. There should be a __version__ variable as described in pep8. But, if you are looking for a Single-sourcing the package version in poetry, you can add __version__ in __init__ and use tools like bump2version to update versions across multiple files as i did here.
The text was updated successfully, but these errors were encountered:
Usually, I run the following command to get the package version:
python3 -c 'from redis_om import __version__; print(__version__)'
However, the
__init__
file doesn't have an entry for this value. There should be a__version__
variable as described inpep8
. But, if you are looking for a Single-sourcing the package version in poetry, you can add__version__
in__init__
and use tools likebump2version
to update versions across multiple files as i did here.The text was updated successfully, but these errors were encountered: