We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c16e6 commit 59643b9Copy full SHA for 59643b9
syncmaster/server/__init__.py
@@ -6,6 +6,7 @@
6
from pydantic import ValidationError
7
from sqlalchemy.ext.asyncio import async_engine_from_config
8
9
+from syncmaster import _raw_version as syncmaster_version
10
from syncmaster.db.factory import create_session_factory, get_uow
11
from syncmaster.exceptions import SyncmasterError
12
from syncmaster.server.api.router import api_router
@@ -35,6 +36,7 @@ def celery_factory(settings: Settings) -> Celery:
35
36
def application_factory(settings: Settings) -> FastAPI:
37
application = FastAPI(
38
title="Syncmaster",
39
+ version=syncmaster_version,
40
debug=settings.server.debug,
41
# will be set up by middlewares
42
openapi_url=None,
0 commit comments