Resin-sdk

Latest version: v5.1.3

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.6.1

Added

- Implement resin.models.environment_variables.device.get_all_by_application().
- Implement Build class (`resin.models.build.get()` and `resin.models.build.get_all_by_application()`).
- Implement `resin.models.device.set_custom_location()` and `resin.models.device.unset_customer_location()`.
- Implement `resin.models.device.generate_device_key()` that can generate a device specific key for use by a device.
- Implement `resin.models.application.get_config()` for downloading an application config.json file.

Changed

- Deprecated `resin.models.application.get_api_key()`.
- Make all device env vars consistently return names as .name.
- Ensure application and device .get handle arguments clearly.

1.5.4

Changed

- Allow passing option to force device reboot and shutdown.
- Specify version of pubnub lib since pubnub v4 is not supported yet.
- Remove unused import.

1.5.3

Changed

- Import print_function to support python3 print syntax when output error message to STDERR.

1.5.2

Changed

- Output error messages to STDERR

1.5.1

Changed

- Fix issue with PubNub logs channel. If available, use device.logs_channel for PubNub channel names.

1.5.0

Added

- Implement resin.models.supervisor.enable_tcp_ping().
- Implement resin.models.supervisor.disable_tcp_ping().
- Implement resin.models.supervisor.regenerate_supervisor_api_key().
- Implement resin.models.supervisor.get_device_state().
- Implement resin.models.supervisor.stop_application().
- Implement resin.models.supervisor.get_application_info().
- Implement resin.models.supervisor.start_application().

Changed

- Update all functions in resin.models.supervisor, Use device_uuid instead of device_id for ease of use.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.