Skip to content

Commit

Permalink
Merge pull request #109 from desaxce/desaxce/add-version
Browse files Browse the repository at this point in the history
Create version.py
  • Loading branch information
sophiamyang authored Aug 12, 2024
2 parents a321739 + 952298f commit 58a026a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mistralai/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from importlib import metadata

try:
__version__ = metadata.version(__package__)
except metadata.PackageNotFoundError:
# Case where package metadata is not available.
__version__ = ""

0 comments on commit 58a026a

Please sign in to comment.