Segments-ai

Latest version: v1.8.1

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

Scan your dependencies

Page 10 of 22

1.0.3

Typing bugfix

1.0.2

Bugfixes in `SegmentsDataset`

1.0.1

1.0.0

The most notable changes in v1.0 of the Python SDK compared to v0.x include:

- Added Python type hints and better auto-generated docs.
- Improved error handling: functions now raise proper exceptions.
- New functions for managing issues and collaborators.

You can upgrade to v1.0 with `pip install —upgrade segments-ai`. Please be mindful of following breaking changes:

- The client functions now return classes instead of dicts, so you should access properties using dot-based indexing (e.g. `dataset.description`) instead of dict-based indexing (e.g. `dataset[’description’]`).
- Functions now consistently raise exceptions, instead of sometimes silently failing with a print statement. You might want to handle these exceptions with a try-except block.
- Some legacy fields are no longer returned: `dataset.tasks`, `dataset.task_readme`, `dataset.data_type`.
- The default value of the `id_increment` argument in `utils.export_dataset()` and `utils.get_semantic_bitmap()` is changed from 1 to 0.
- Python 3.6 and lower are no longer supported.

1.0.0rc.2

1.0.0rc.1

Page 10 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.