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 4 of 8

5.7.0

* We added `letter_contact_block` to our template object serialization, which means it will be added to responses for `get_template_by_id` requests and also `get_template_version` and `get_all_templates` . This version adds this new `letter_contact_block` attribute to Documentation and tests.

5.6.0

* Add support for an optional `is_csv` parameter in the `prepare_upload()` function. This fixes a bug when sending a CSV file by email. This ensures that the file is downloaded as a CSV rather than a TXT file.

5.5.1

* change error message to refer to file rather than document

5.5.0

* Improve error messages for errors related to JSON Web Tokens

5.4.0

* Add `NotificationsAPIClient.get_pdf_for_letter(id)`
* Returns a `BytesIO`
* Will raise a BadRequestError if the PDF is not available

5.3.0

* Add an optional `postage` argument to `send_precompiled_letter_notification` method.
* Add postage to the response of `send_precompiled_letter_notification`

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.