Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ems_collector
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ZZH
ems_collector
Commits
ba20be54
Commit
ba20be54
authored
Jul 13, 2026
by
wwr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add water history data
parent
618fb01f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
backfill_water_pg_1day.py
src/ems_water_grp/backfill_water_pg_1day.py
+6
-0
No files found.
src/ems_water_grp/backfill_water_pg_1day.py
View file @
ba20be54
...
...
@@ -21,6 +21,7 @@ import asyncio
import
importlib.util
import
json
import
os
import
sys
from
collections
import
defaultdict
from
decimal
import
Decimal
,
ROUND_HALF_UP
from
pathlib
import
Path
...
...
@@ -28,6 +29,11 @@ from typing import Dict, Iterable, List, Optional, Tuple
import
pendulum
SRC_DIR
=
Path
(
__file__
)
.
resolve
()
.
parents
[
1
]
if
str
(
SRC_DIR
)
not
in
sys
.
path
:
sys
.
path
.
insert
(
0
,
str
(
SRC_DIR
))
from
infra.config.settings
import
SETTING
from
infra.logger.logger
import
Logger
from
utils.time_format
import
CST
,
YMD_Hms
...
...
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