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 8942f62 commit 5adc318Copy full SHA for 5adc318
time_tracker_api/__init__.py
@@ -3,6 +3,8 @@
3
4
from flask import Flask
5
6
+__version__ = '0.0.2'
7
+
8
flask_app: Flask = None
9
10
time_tracker_api/api.py
@@ -5,12 +5,15 @@
from flask import current_app as app
from flask_restplus import Api, fields
from flask_restplus._http import HTTPStatus
+from time_tracker_api import __version__
faker = Faker()
11
-api = Api(version='1.0.1',
12
- title="TimeTracker API",
13
- description="API for the TimeTracker project")
+api = Api(
+ version=__version__,
14
+ title="TimeTracker API",
15
+ description="API for the TimeTracker project"
16
+)
17
18
# Common models structure
19
audit_fields = {
0 commit comments