wg-backend-django/dell-env/lib/python3.11/site-packages/plotly/version.py

19 lines
423 B
Python
Raw Normal View History

2023-10-30 03:40:43 -04:00
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