Releases: cms-DQM/runregistry_api_client
Releases · cms-DQM/runregistry_api_client
3.0.0
What's Changed
Breaking changes
- Make all methods' return values uniform by @nothingface0 in #11
Full Changelog: 2.0.1...3.0.0
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
1.4.1
- Merge pull request #10 by @gabrielmscampos
Full Changelog: 1.3.1...1.4.1
1.3.1
- Bump version, fix some tests
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
- Look for .env file in the caller directory first by @nothingface0 in #8
- Add "run_needs_to_be_updated_manually" to the available filters by @nothingface0 in #5
Full Changelog: 1.2.1...1.3.0
1.2.1
1.2.0
What's Changed
- Added a method for changing a run's class.
- feat: add get_cycles function to fetch cycles from the api by @gabrielmscampos in #4
New Contributors
- @gabrielmscampos made their first contribution in #4
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Added method for changing run class, fix for method edit lumisections, update tests. by @nothingface0 in #3
Full Changelog: 1.0.0...1.1.0
1.0.0
Non-backwards-compatible release, which deprecates the use of Grid certificates and moves on to require a Client ID and a Client Secret.
See here for instructions on updating your client application.
What's Changed
- [Breaking] Updated client to use token instead of Grid certificates, tested against new SSO on production by @nothingface0 in #1
Full Changelog: 0.2.8...1.0.0
0.2.8
Features
- ADFS-based CERN SSO authentication
Full Changelog: https://github.com/cms-DQM/runregistry_api_client/commits/0.2.8