Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS-6589: Log Redaction #255

Merged
merged 3 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Change Log
## [4.47.2](https://github.com/plivo/plivo-python/tree/v4.47.2) (2024-02-05)
**Feature - Log Redaction Enhancement**
- Added log attribute in GET and List MDR response
- Change log field from bool to string in send SMS

## [4.47.1](https://github.com/plivo/plivo-python/tree/v4.47.1) (2023-12-19)
**Type param addition in speak api for call and mpc**

Expand Down
4 changes: 2 additions & 2 deletions plivo/resources/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Messages(PlivoResourceInterface):
optional(all_of(of_type(six.text_type), is_in(('sms', 'mms', 'whatsapp'))))],
url=[optional(is_url())],
method=[optional(of_type(six.text_type))],
log=[optional(of_type_exact(bool))],
log=[optional(of_type_exact(str))],
trackable=[optional(of_type_exact(bool))],
powerpack_uuid=[optional(of_type(six.text_type))],
media_urls=[optional(of_type_exact(list))],
Expand All @@ -53,7 +53,7 @@ def create(self,
type_='sms',
url=None,
method='POST',
log=True,
log="true",
trackable=False,
powerpack_uuid=None,
media_urls=None,
Expand Down
2 changes: 1 addition & 1 deletion plivo/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '4.47.1'
__version__ = '4.47.2'