Skip to content

2.0.1

Compare
Choose a tag to compare
@gabrielmscampos gabrielmscampos released this 22 Oct 11:51
· 8 commits to master since this release
2.0.1
f27f9ac

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