This repository was archived by the owner on Feb 21, 2025. It is now read-only.
Repository navigation
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_componentmethod for getting per-component, per-ls information for offline datasets by @nothingface0 in #9
Breaking changes
get_runraises anExceptionif more than 1 run is returned, instead of just printing a message and returningNone.get_runsraises anExceptionif more than 20000 runs are to be returned, andfilteris not specified, instead of returningNone.get_datasetreturns an empty dict instead ofNone, if no results are found.get_datasetraises anExceptionif more than 1 dataset is returned, instead of just printing a message and returningNone.get_datasetsraises anExceptionif more than 20000 runs are to be returned, andfilteris not specified, instead of returning an empty array.generate_jsonraises aDeprecationWarning, as it should not be used anymore. Usecreate_jsoninstead.create_jsonwill raise anExceptionif JSON creation failed, instead of returningNone.move_runswill raise anExceptionif norunorrunsargument is provided.move_runswill now return a list ofrequest.Responseobjects instead of JSON strings, ifrunsis specified, to bemake_significant_runswill raise anExceptionif norunorrunsargument is provided.reset_RR_attributes_and_refresh_runswill raise anExceptionif norunsargument is provided.manually_refresh_components_statuses_for_runswill raise anExceptionif norunsargument is provided.edit_rr_lumisectionswill raise anExceptionif the target value is not found inLUMISECTION_STATES.move_datasetswill raise anExceptionif norunorrunsargument is provided.move_datasetswill raise anExceptioniffrom_orto_values are not found inOFFLINE_DATASET_STATES.move_datasetsnow always returns a list ofrequest.Responseobjects, regardless of whether arunorrunsare specified.
Full Changelog: 1.4.1...2.0.1