2.0.1
What's changed
Features
- Update tests to retry on specific exceptions by @nothingface0
- Increase test retries by @nothingface0
- Use a more sane run number by @nothingface0
- Add a
get_lumisection_ranges_by_component
method for getting per-component, per-ls information for offline datasets by @nothingface0 in #9
Breaking changes
get_run
raises anException
if more than 1 run is returned, instead of just printing a message and returningNone
.get_runs
raises anException
if more than 20000 runs are to be returned, andfilter
is not specified, instead of returningNone
.get_dataset
returns an empty dict instead ofNone
, if no results are found.get_dataset
raises anException
if more than 1 dataset is returned, instead of just printing a message and returningNone
.get_datasets
raises anException
if more than 20000 runs are to be returned, andfilter
is not specified, instead of returning an empty array.generate_json
raises aDeprecationWarning
, as it should not be used anymore. Usecreate_json
instead.create_json
will raise anException
if JSON creation failed, instead of returningNone
.move_runs
will raise anException
if norun
orruns
argument is provided.move_runs
will now return a list ofrequest.Response
objects instead of JSON strings, ifruns
is specified, to bemake_significant_runs
will raise anException
if norun
orruns
argument is provided.reset_RR_attributes_and_refresh_runs
will raise anException
if noruns
argument is provided.manually_refresh_components_statuses_for_runs
will raise anException
if noruns
argument is provided.edit_rr_lumisections
will raise anException
if the target value is not found inLUMISECTION_STATES
.move_datasets
will raise anException
if norun
orruns
argument is provided.move_datasets
will raise anException
iffrom_
orto_
values are not found inOFFLINE_DATASET_STATES
.move_datasets
now always returns a list ofrequest.Response
objects, regardless of whether arun
orruns
are specified.
Full Changelog: 1.4.1...2.0.1