Skip to content

Releases: cms-DQM/runregistry_api_client

3.0.0

24 Oct 12:21
Compare
Choose a tag to compare

What's Changed

Breaking changes

Full Changelog: 2.0.1...3.0.0

2.0.1

22 Oct 11:51
2.0.1
f27f9ac
Compare
Choose a tag to compare

What's changed

Features

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: 1.4.1...2.0.1

1.4.1

22 Oct 11:48
1.4.1
1e7a6dd
Compare
Choose a tag to compare

Full Changelog: 1.3.1...1.4.1

1.3.1

01 Aug 16:29
Compare
Choose a tag to compare
  • Bump version, fix some tests

Full Changelog: 1.3.0...1.3.1

1.3.0

01 Aug 14:16
df1d163
Compare
Choose a tag to compare

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

22 Jul 19:07
f1527c9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.2.1

1.2.0

17 Jul 12:03
Compare
Choose a tag to compare

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

Full Changelog: 1.1.0...1.2.0

1.1.0

14 May 13:05
e673fc2
Compare
Choose a tag to compare

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

07 Aug 08:41
87ab4d2
Compare
Choose a tag to compare

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

07 Jul 15:40
Compare
Choose a tag to compare

Features

  • ADFS-based CERN SSO authentication

Full Changelog: https://github.com/cms-DQM/runregistry_api_client/commits/0.2.8