mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
15 lines
268 B
Python
15 lines
268 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from backend.common.i18n import i18n
|
|
from backend.utils.console import console
|
|
|
|
__version__ = '1.8.0'
|
|
|
|
|
|
def get_version() -> str | None:
|
|
console.print(f'[cyan]{__version__}[/]')
|
|
|
|
|
|
# 初始化 i18n
|
|
i18n.load_locales()
|