Skip to content

Commit

Permalink
comment about plans on senml parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed Dec 11, 2024
1 parent a9eb92c commit 51629ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_device_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ async def set_device_info(device_uuid, service_name, action_verb, action_value):
# this function seems to be only updating the states consider rename the method.
# action_verb seems to be a type annotation:
# c.f. senml: https://www.rfc-editor.org/rfc/rfc8428.html#section-5
# the senml parsing library (utils.py) could use some additional love.
# to make it more conformal to the RFC standard.
for state in self.info['states']:
if state['n'] == service_name:
break
Expand Down

0 comments on commit 51629ee

Please sign in to comment.