This repository was archived by the owner on Feb 21, 2025. It is now read-only.
Releases: cms-DQM/runregistry_api_client
Releases · cms-DQM/runregistry_api_client
3.1.1
What's Changed
- fix: re-expose
__version__in package root by @gabrielmscampos in #14
Full Changelog: 3.1.0-0...3.1.1
1.5.0
What's Changed
- [Backport] Add User-Agent to requests + by @gabrielmscampos in #15
Full Changelog: 1.4.1...1.5.0
3.1.0-0
What's Changed
- Add
User-Agentto requests by @nothingface0 in #12 - Replace
get_with_tokenwithrequests.getby @nothingface0 in #13
Full Changelog: 3.0.0...3.1.0-0
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_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
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