Runregistry

Latest version: v3.0.0

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

Scan your dependencies

Page 1 of 2

3.0.0

What's Changed
Breaking changes
* Make all methods' return values uniform by nothingface0 in https://github.com/cms-DQM/runregistry_api_client/pull/11


**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/2.0.1...3.0.0

2.0.1

What's changed

Features
- [Update tests to retry on specific exceptions](https://github.com/cms-DQM/runregistry_api_client/commit/f4fa0db58edecfdf6afb0b9708eaf5bc0e37ed3b) by nothingface0
- [Increase test retries](https://github.com/cms-DQM/runregistry_api_client/commit/42fe5ee5a12a894f5bc06852d5cb8ff49b86b406) by nothingface0
- [Use a more sane run number](https://github.com/cms-DQM/runregistry_api_client/commit/9e4f012ef75018a456bf36ae7667d7f240b476b7) by nothingface0
- Add a `get_lumisection_ranges_by_component` method for getting per-component, per-ls information for offline datasets by nothingface0 in https://github.com/cms-DQM/runregistry_api_client/pull/9

Breaking changes
* `get_run` raises an `Exception` if more than 1 run is returned, instead of just printing a message and returning `None`.
* `get_runs` raises an `Exception` if more than 20000 runs are to be returned, and `filter` is not specified, instead of returning `None`.
* `get_dataset` returns an empty dict instead of `None`, if no results are found.
* `get_dataset` raises an `Exception` if more than 1 dataset is returned, instead of just printing a message and returning `None`.
* `get_datasets` raises an `Exception` if more than 20000 runs are to be returned, and `filter` is not specified, instead of returning an empty array.
* `generate_json` raises a `DeprecationWarning`, as it should not be used anymore. Use `create_json` instead.
* `create_json` will raise an `Exception` if JSON creation failed, instead of returning `None`.
* `move_runs` will raise an `Exception` if no `run` or `runs` argument is provided.
* `move_runs` will now return a list of `request.Response` objects instead of JSON strings, if `runs` is specified, to be
* `make_significant_runs` will raise an `Exception` if no `run` or `runs` argument is provided.
* `reset_RR_attributes_and_refresh_runs` will raise an `Exception` if no `runs` argument is provided.
* `manually_refresh_components_statuses_for_runs` will raise an `Exception` if no `runs` argument is provided.
* `edit_rr_lumisections` will raise an `Exception` if the target value is not found in `LUMISECTION_STATES`.
* `move_datasets` will raise an `Exception` if no `run` or `runs` argument is provided.
* `move_datasets` will raise an `Exception` if `from_` or `to_` values are not found in `OFFLINE_DATASET_STATES`.
* `move_datasets` now always returns a list of `request.Response` objects, regardless of whether a `run` or `runs` are specified.


**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/1.4.1...2.0.1

1.4.1

- Merge pull request https://github.com/cms-DQM/runregistry_api_client/pull/10 by gabrielmscampos

**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/1.3.1...1.4.1

1.3.1

- Bump version, fix some tests

**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/1.3.0...1.3.1

1.3.0

What's Changed
* Look for .env file in the caller directory first by nothingface0 in https://github.com/cms-DQM/runregistry_api_client/pull/8
* Add "run_needs_to_be_updated_manually" to the available filters by nothingface0 in https://github.com/cms-DQM/runregistry_api_client/pull/5


**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/1.2.1...1.3.0

1.2.1

What's Changed
* Fix SSO audience by nothingface0 in https://github.com/cms-DQM/runregistry_api_client/pull/7


**Full Changelog**: https://github.com/cms-DQM/runregistry_api_client/compare/1.2.0...1.2.1

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.