Closed shaunmulligan closed 1 month ago
In the documentation, the code examples use balena.models.device.tag.set('890233e65de76d854d627ce9c8a7ffe0', 'testtag','test1') which fails with:
balena.models.device.tag.set('890233e65de76d854d627ce9c8a7ffe0', 'testtag','test1')
AttributeError: 'Device' object has no attribute 'tag'
The model needs to be the plural tags.set
tags.set
We need to update all the examples in https://github.com/balena-io/balena-sdk-python/blob/master/balena/models/device.py where .tag is used incorrectly.
.tag
fixed by https://github.com/balena-io/balena-sdk-python/pull/367
In the documentation, the code examples use
balena.models.device.tag.set('890233e65de76d854d627ce9c8a7ffe0', 'testtag','test1')
which fails with:The model needs to be the plural
tags.set
We need to update all the examples in https://github.com/balena-io/balena-sdk-python/blob/master/balena/models/device.py where
.tag
is used incorrectly.