Trailblazer

Latest version: v21.10.4

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

Scan your dependencies

Page 32 of 41

15.1.5

refactor(constants) (246) (patch)

Changed

- Refactor constants and remove when not needed

15.1.4

Refactor date module (245)

Added

- Tests

Changed

- Move datetime function to single module.

15.1.3

Migrate add_user function to createhandler as it is using INSERT (244)

Changed

- Migrate add_user function to createhandler

15.1.2

Refactor update jobs (237)

Added

- Tests

Changed

- Split update_jobs into two new functions to remove side effects. Move end refactor new functions.
- Add DeleteHandler

15.1.1

Refactor sql analysis (238)

Added

- General filter module for Analysis
- Tests

Changed

- Refactor sql analysis and migrate it ReadHandler



15
Added

- SLURM module: models.py and api.py
- get_squeue_result for reading squeue output into Pydantic models
- get_current_analysis_status for getting the analysis status based on job status distribution
- SqueueResult and SqueueJob Pydantic models
- Constants:
- SlurmJobStatus
- HOURS_IN_DAY
- MINUTES_PER_HOUR
- SCALE_SECONDS_TO_MINUTES
- SlurmSqueueHeader
- Pipeline
- CSV file extension and file format
- Header to squeue output to enable CSV dict stream parsing and aliasing in Pydantic model
- Reading CSV str stream into list of dicts
- Tests

Refactor reading squeue output (241)

Changed

- Lock Pydantic version to 1.10.9
- Remove Pandas
- TrailblazerStatus to be a str based enum, enabling removal of ".value" accessing
- Decode bytes to string in subprocessing squeue output
- Refactored sacct test fixtures into squeue csv files
- All parsing oof squeue output is done when initializing Squeue Pydantic models

15.0.7

quick fix: unsupported tower status in job table (240)

Fixed

- Temporary fix for non-supported tower status in job table. Cancelled and Aborted status in tower are set as Failed.

Page 32 of 41

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.