mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
10 lines
175 B
Python
10 lines
175 B
Python
import re
|
|
|
|
from . import routes
|
|
|
|
|
|
def version():
|
|
with open("pyproject.toml") as f:
|
|
ret = re.findall('version = "(\d+\.\d+\.\d+)"', f.read())
|
|
return ret[0]
|