We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example: GET /api/local/action/cleanRoom?pmap_id=DXXXXXXXXXXXXXXXQ®ions=18,23
GET /api/local/action/cleanRoom?pmap_id=DXXXXXXXXXXXXXXXQ®ions=18,23
Expected: for region in command.get('regions', []).split(','): Logs:
for region in command.get('regions', []).split(','):
[2022-02-07 04:02:58,955][ INFO](Roomba.M6 Jet.api ) received: {'command': 'start', 'pmap_id': 'DXXXXXXXXXXXXXXXQ', 'regions': '18,23'} [2022-02-07 04:02:58,956][ INFO](Roomba.M6 Jet ) pmaps: [{'DXXXXXXXXXXXXXXXQ': '2XXXXXXXXXXX3'}] [2022-02-07 04:02:58,957][ INFO](Roomba.M6 Jet ) region: 18 [2022-02-07 04:02:58,958][ INFO](Roomba.M6 Jet ) command.get('regions', []).split(",")): ['18', '23'] [2022-02-07 04:02:58,959][ INFO](Roomba.M6 Jet ) type of command.get('regions', []).split(',')): <class 'list'> [2022-02-07 04:02:58,962][ INFO](Roomba.M6 Jet ) region: 23 [2022-02-07 04:02:58,967][ INFO](Roomba.M6 Jet ) myCommand: {'command': 'start', 'ordered': 1, 'pmap_id': 'DXXXXXXXXXXXXXXXQ', 'regions': [{'region_id': '18', 'type': 'rid'}, {'region_id': '23', 'type': 'rid'}], 'user_pmapv_id': '2XXXXXXXXXXX3'}
Actual:
Roomba980-Python/roomba/roomba.py
Line 899 in 9759a13
[2022-02-07 04:20:18,292][ INFO](Roomba.M6 Jet.api ) received: {'command': 'start', 'pmap_id': 'DXXXXXXXXXXXXXXXQ', 'regions': '18,23'} [2022-02-07 04:20:18,293][ INFO](Roomba.M6 Jet ) pmaps: [{'DXXXXXXXXXXXXXXXQ': '2XXXXXXXXXXX3'}] [2022-02-07 04:20:18,293][ INFO](Roomba.M6 Jet ) region: 1 [2022-02-07 04:20:18,293][ INFO](Roomba.M6 Jet ) command.get('regions', []) is 18,23 [2022-02-07 04:20:18,294][ INFO](Roomba.M6 Jet ) type of command.get('regions', []) is <class 'str'> [2022-02-07 04:20:18,295][ INFO](Roomba.M6 Jet ) region: 8 [2022-02-07 04:20:18,296][ INFO](Roomba.M6 Jet ) command.get('regions', []) is 18,23 [2022-02-07 04:20:18,297][ INFO](Roomba.M6 Jet ) type of command.get('regions', []) is <class 'str'> [2022-02-07 04:20:18,300][ INFO](Roomba.M6 Jet ) region: , [2022-02-07 04:20:18,300][ INFO](Roomba.M6 Jet ) command.get('regions', []) is 18,23 [2022-02-07 04:20:18,301][ INFO](Roomba.M6 Jet ) type of command.get('regions', []).split())) is <class 'str'> [2022-02-07 04:20:18,301][ INFO](Roomba.M6 Jet ) region: 2 [2022-02-07 04:20:18,302][ INFO](Roomba.M6 Jet ) command.get('regions', []) is 18,23 [2022-02-07 04:20:18,303][ INFO](Roomba.M6 Jet ) type of command.get('regions', []) is <class 'str'> [2022-02-07 04:20:18,305][ INFO](Roomba.M6 Jet ) region: 3 [2022-02-07 04:20:18,306][ INFO](Roomba.M6 Jet ) command.get('regions', []) is 18,23 [2022-02-07 04:20:18,307][ INFO](Roomba.M6 Jet ) type of command.get('regions', []) is <class 'str'> [2022-02-07 04:20:18,309][ INFO](Roomba.M6 Jet ) myCommand is {'command': 'start', 'ordered': 1, 'pmap_id': 'DXXXXXXXXXXXXXXXQ', 'regions': [{'region_id': '1', 'type': 'rid'}, {'region_id': '8', 'type': 'rid'}, {'region_id': '2', 'type': 'rid'}, {'region_id': '3', 'type': 'rid'}], 'user_pmapv_id': '2XXXXXXXXXXX3'}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example:
GET /api/local/action/cleanRoom?pmap_id=DXXXXXXXXXXXXXXXQ®ions=18,23
Expected:
for region in command.get('regions', []).split(','):
Logs:
Actual:
Roomba980-Python/roomba/roomba.py
Line 899 in 9759a13
Logs:
The text was updated successfully, but these errors were encountered: