Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KWH40
fml40-reference-implementation
Commits
eb2fdaeb
Commit
eb2fdaeb
authored
Apr 05, 2021
by
Jiahang Chen
Browse files
deactivate update broker token
parent
b0cff9af
Pipeline
#440851
passed with stages
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ml/thing.py
View file @
eb2fdaeb
...
...
@@ -407,8 +407,8 @@ def receive():
target
=
self
.
broker
.
receive
,
args
=
(
self
.
__endpoint
,
self
.
__on_broker_callback
),
).
start
()
else
:
self
.
broker
.
update_token
(
self
.
access_token
)
#
else:
#
self.broker.update_token(self.access_token)
def
__on_broker_callback
(
self
,
ch
,
method
,
properties
,
body
):
"""Parses body (content of a S3I-B message) and delegates the
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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