Hi @pimterry,
I’ve just been testing out the SDK to figure out which aspects I may use. I’ll try committing the generated file, thank you!
I’ve logged in a few different ways (user/pass, token)
I’ve created, accessed and updated environment variables. Ran into some issues here - I can’t recall what threw the error but it was likely updating or removing given this thread: Python SDK: Creating/Updating/Removing environment variables (from device itself)
I’ve also accessed various other things - configuration, device types, tags, etc.
Couple of errors I did log (copied these commands from the SDK doc):
#AttributeError: ‘ServiceEnvVariable’ object has no attribute ‘get_all’
#print(balena.models.environment_variables.service_environment_variable.get_all(APPID))
#TypeError: ‘DeviceServiceEnvVariable’ object is not callable
#print(balena.models.environment_variables.device_service_environment_variable(int(APPID)))