Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IoTSmartMeter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kristian.tan
IoTSmartMeter
Commits
d236805e
Commit
d236805e
authored
Nov 18, 2019
by
Kristian Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Services package test
parent
5f3eb731
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
app.py
app.py
+2
-1
__init__.py
services/__init__.py
+0
-0
daily_usage.py
services/daily_usage.py
+6
-0
No files found.
app.py
View file @
d236805e
...
...
@@ -4,7 +4,8 @@ from flask_sqlalchemy import SQLAlchemy
from
sqlalchemy
import
asc
,
desc
import
os
from
datetime
import
datetime
,
date
,
timedelta
from
services
import
daily_usage
daily_usage
.
DailyUsage
.
test_me
(
"Hello, World!"
)
# from daily_usage import DailyUsage
app
=
Flask
(
__name__
)
...
...
services/__init__.py
0 → 100644
View file @
d236805e
services/daily_usage.py
0 → 100644
View file @
d236805e
class
DailyUsage
:
@
staticmethod
def
test_me
(
msg
):
print
(
msg
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment