Tomtoolkit

Latest version: v2.18.4

Safety actively analyzes 630272 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 25

2.2.0

Not secure
This release provides a new `TargetNameSearchView` that allows a user to search for a target name and be redirected to the target detail page for that name, provided there's only one result. The new view is documented [here](https://tom-toolkit.readthedocs.io/en/stable/api/tom_targets/views.html#tom_targets.views.TargetNameSearchView).

2.1.1

Not secure
Fixes a bug that allowed negative exposure time and exposure count in the LCOPhotometricSequenceForm.
Fixes out-of-date references to `LCOObservationForm` in documentation.
Adds links and descriptions of new supported modules to documentation.

2.1.0

Not secure
This release does the following:

- Updated MARS and ALeRCE modules to support future Dash Broker additions.
- Various documentation improvements and code style fixes.

2.1.0alpha.1

This release does the following:

- Updated MARS and ALeRCE modules to support future Dash Broker additions.
- Various documentation improvements and code style fixes.

2.0.1

Not secure
This release fixes a bug introduced into the Simbad harvester module by Simbad API changes and adds a corresponding canary test.

2.0.0

Not secure
- Renamed `ALERT_CREDENTIALS` and `BROKER_CREDENTIALS` to `BROKERS` as a catchall for any broker-specific values.
- Added support for custom `CadenceStrategy` layouts.
- Moved settings for `TNSHarvester` into `settings.HARVESTERS` to maintain consistency.
- Updated `tom_alerts.GenericBroker` interface to support submission upstream to a broker, if implemented.
- Fixed `TNSBroker` to get the correct object name.
- Added stub `SCIMMABroker`.
- Removed `tom_publications` from `tom_base`, and placed it in a separate `tom_publications` repository.
- Upgraded a number of dependencies, including `astroplan`, `astropy`, and multiple `django`-related libraries.
- Added tests for `lco.py`, `soar.py`, `alerce.py`, and `mars.py`.
- Added canary tests for `mars.py` and `alerce.py`.

Breaking changes

- Migrations are required for this version.
- Due to the renaming of `BROKER_CREDENTIALS` and `ALERT_CREDENTIALS` to `BROKERS`, TOM Toolkit users will need to consolidate their broker configurations in `settings.py` into the `BROKERS` dict.
- Because the built-in cadence strategies were moved into their own files, users of the cadence strategies will need to update their `settings.TOM_CADENCE_STRATEGIES` to include the values as seen in this commit: https://github.com/TOMToolkit/tom_base/blob/82101a92a9c19f0ff8ab0f59ecb758bc47824252/tom_base/settings.py#L214
- Users of the `TNSHarvester` will need to introduce a dict in `settings` called `HARVESTERS` with a sub-dict `TNS` to store the relevant `api_key`.
- Due to the removal of `tom_publications`, TOM Toolkit users will need to either add `tom_publications` to their dependencies, or:
- Remove `tom_publications` from `INSTALLED_APPS`.
- Remove `publications_extras` from the following templates, if they've been customized: `observation_groups.html`, `target_grouping.html`.
- Remove references to `latex_button_group` from the templates referenced above, if they've been customized.
- The `LCOBaseForm` methods `instrument_choices`, `instrument_to_type`, and `filter_choices` were re-implemented as static methods, and any subclasses will need to add a `staticmethod` decorator, modify the method signature, and replace calls to `self` within the method to calls to the class name.

Page 13 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.