Notifications-python-client

Latest version: v10.0.0

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

Scan your dependencies

Page 1 of 8

10.0.0

* Drop support for end-of-life Python 3.7
* Chain `RequestExceptions` when raising an `HTTPError` so users can view the full context in stack traces etc.

9.1.0

* Adds `one_click_unsubscribe_url` parameter to `send_email_notification`

9.0.0

* Removes the `is_csv` parameter to `prepare_upload`.
* Adds the `filename` parameter to `prepare_upload`. See [our documentation](https://docs.notifications.service.gov.uk/python.html#send-a-file-by-email) for guidance on how to use this.

8.2.0

* Add support for python 3.12

8.1.0

* Reuse the same `requests.session` between requests to increase performance through HTTP Keepalive

8.0.1

* Some minor non-functional code reformatting.
* Changing emitted logs to use lazy %-based evaluation rather than upfront "".format
* Changing an error-level log to a warning-level log (request failures). These still throw the actual exception to be caught and handled by the calling code.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.