Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TASK_12_MQTT_FASTAPI_Mongo_Postgres
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_12_MQTT_FASTAPI_Mongo_Postgres
Commits
4f0822e7
Commit
4f0822e7
authored
Feb 15, 2023
by
arun.uday
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2cb67346
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/core/handlers/sender_mqtt/cursor_handle.py
scripts/core/handlers/sender_mqtt/cursor_handle.py
+2
-2
No files found.
scripts/core/handlers/sender_mqtt/cursor_handle.py
View file @
4f0822e7
...
@@ -9,9 +9,9 @@ def gen_list(dict_data):
...
@@ -9,9 +9,9 @@ def gen_list(dict_data):
def
cursor_to_list
(
cursor
):
def
cursor_to_list
(
cursor
):
try
:
try
:
dic
t_data
=
gen_list
(
cursor
)
lis
t_data
=
gen_list
(
cursor
)
# returning the data to api
# returning the data to api
# return dict_data
# return dict_data
return
dic
t_data
return
lis
t_data
except
Exception
as
e
:
except
Exception
as
e
:
logger
.
error
(
"Some exception occurred while trying to run the cursor: "
,
e
)
logger
.
error
(
"Some exception occurred while trying to run the cursor: "
,
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