Octue

Latest version: v0.60.2

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

Scan your dependencies

Page 25 of 39

0.7.0

Not secure
Summary
Remove two `Dataset` methods that were deprecated 13 months ago. Also remove the `Loggable` mixin, which was causing confusion on how log messages should be emitted.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([305](https://github.com/octue/octue-sdk-python/pull/305))
**IMPORTANT:** There is 1 breaking change.

Refactoring
- Remove `Loggable` mixin
- **BREAKING CHANGE:** Remove deprecated `Dataset.append` and `Dataset.get_files` methods

<!--- END AUTOGENERATED NOTES --->

0.6.11

Not secure
Summary
Ensure the root logger includes the analysis ID in the logging context for the duration of the analysis.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([304](https://github.com/octue/octue-sdk-python/pull/304))

Enhancements
- Swap root log handlers for handlers that include the analysis ID in the logging context for duration of analysis
- Allow easy addition of line number, process name, and thread name to logging context via new environment variables

Fixes
- Ensure analysis logging includes log messages from any packages or modules used during the analysis
- Ensure the name of the module from which the log message is emitted is correct for log messages emitted during the analysis
- Fix Pub/Sub delivery attempt key error

Refactoring
- Rename `create_formatter` to `create_octue_formatter`

Testing
- Update example service ID

<!--- END AUTOGENERATED NOTES --->

0.6.10

Not secure
Summary
Multi-thread uploads of multiple files from dataset to cloud storage.

When uploading 100 files, the time taken was:
- 15.5s with the new approach
- 50.9s with the old approach

This is a 3.3x speed up that is likely to increase with the number of files in the dataset and the number of threads available.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([303](https://github.com/octue/octue-sdk-python/pull/303))

Enhancements
- Use `ThreadPool` to upload files from a dataset to the cloud
- Lift 10-worker limit for dataset file downloads

Fixes
- Ensure datafile paths relative to their dataset are constructed correctly on non-Linux-based OSs
<!--- END AUTOGENERATED NOTES --->

0.6.9

Not secure
<!--- SKIP AUTOGENERATED NOTES --->
Contents ([301](https://github.com/octue/octue-sdk-python/pull/301), [#302](https://github.com/octue/octue-sdk-python/pull/302))

Fixes
- Preserve directory structure on dataset cloud upload
<!--- END AUTOGENERATED NOTES --->

0.6.8

Not secure
<!--- START AUTOGENERATED NOTES --->
Contents ([296](https://github.com/octue/octue-sdk-python/pull/296))

Enhancements
- Allow instantiation of `Dataset`s from a local directory recursively and non-recursively

<!--- END AUTOGENERATED NOTES --->

0.6.7

Not secure
<!--- START AUTOGENERATED NOTES --->
Contents ([290](https://github.com/octue/octue-sdk-python/pull/290))

Enhancements
- Allow apps to be written as a class

<!--- END AUTOGENERATED NOTES --->

Page 25 of 39

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.