Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
task_15_pollution_data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
arun.uday
task_15_pollution_data
Commits
d47df411
Commit
d47df411
authored
Dec 18, 2023
by
arun.uday
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab-pm.knowledgelens.com/arun.uday/task_15_pollution_data
parents
5e03c564
1ef3c28f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
scripts/core/handlers/receiver_handlers/select_db_redis.py
scripts/core/handlers/receiver_handlers/select_db_redis.py
+4
-2
No files found.
scripts/core/handlers/receiver_handlers/select_db_redis.py
View file @
d47df411
...
...
@@ -11,7 +11,9 @@ def operations_call_(json_poll_data):
1
:
redis_db_connection
.
conn_maintenance
,
2
:
redis_db_connection
.
conn_error
}
conn
=
mapper
.
get
(
json_poll_data
[
'data_quality'
])
if
conn
:
# insert the data to the db
insert_data
(
mapper
.
get
(
json_poll_data
[
'data_quality'
])
,
json_poll_data
)
insert_data
(
conn
,
json_poll_data
)
except
Exception
as
e
:
logger
.
exception
(
"Redis mapper Failed"
,
e
)
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