File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def api_meta():
1212 "status" : "internal" ,
1313 "breaking_changes" : (
1414 "No breaking changes are currently declared. This field will describe "
15- "required upgrade paths when incompatible API versions are introduced." ,
15+ "required upgrade paths when incompatible API versions are introduced."
1616 ),
1717 # Build identifier injected at deploy time (e.g., short git SHA).
1818 # Intentionally None until CI/CD or multi-environment deployments exist.
Original file line number Diff line number Diff line change 11import os
22import uuid
33from collections .abc import AsyncGenerator
4+ from pathlib import Path
45from typing import Generator
56from urllib .parse import urlparse
67
2627
2728logger = _setup_custom_logger (__name__ )
2829
29- ALEMBIC_INI_PATH = "alembic.ini"
30+
31+ BASE_DIR = Path (__file__ ).resolve ().parents [1 ]
32+ ALEMBIC_INI_PATH = BASE_DIR / "alembic.ini"
3033
3134
3235# -----------------------------------------------
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def test_meta_endpoint(self, client):
2626 "status" : "internal" ,
2727 "breaking_changes" : (
2828 "No breaking changes are currently declared. This field will describe "
29- "required upgrade paths when incompatible API versions are introduced." ,
29+ "required upgrade paths when incompatible API versions are introduced."
3030 ),
3131 "build" : None ,
3232 }
You can’t perform that action at this time.
0 commit comments