langchain/libs/cli/langchain_cli/__init__.py

9 lines
271 B
Python
Raw Normal View History

from importlib import metadata
try:
__version__ = metadata.version(__package__)
except metadata.PackageNotFoundError:
# Case where package metadata is not available.
__version__ = ""
del metadata # optional, avoids polluting the results of dir(__package__)