wg-backend-django/dell-env/lib/python3.11/site-packages/plotly/version.py
2023-10-30 14:40:43 +07:00

19 lines
423 B
Python

from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
from ._widget_version import __frontend_version__
def stable_semver():
"""
Get the stable portion of the semantic version string (the first three
numbers), without any of the trailing labels
'3.0.0rc11' -> '3.0.0'
"""
from packaging.version import Version
return Version(__version__).base_version