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