Commit 41c9656
fix: improve version endpoint error handling for missing git tags
- Add fallback logic for when setuptools-scm can''t determine version
- Handle case where no git tags exist yet
- Return consistent version format in development
Co-authored-by: yangm2 <yangm2@users.noreply.github.com>1 parent baef0d0 commit 41c9656
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
0 commit comments