From 2f2818a943f40be3cf49f4475d13b6070f41d0f7 Mon Sep 17 00:00:00 2001 From: childish-sambino Date: Wed, 16 Oct 2019 08:36:35 -0500 Subject: [PATCH] Update a few property types in the lookups and trunking responses (#482) --- twilio/rest/lookups/v1/phone_number.py | 4 ++-- twilio/rest/trunking/v1/trunk/phone_number.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/twilio/rest/lookups/v1/phone_number.py b/twilio/rest/lookups/v1/phone_number.py index 906feebebc..34e3c63089 100644 --- a/twilio/rest/lookups/v1/phone_number.py +++ b/twilio/rest/lookups/v1/phone_number.py @@ -209,7 +209,7 @@ def _proxy(self): def caller_name(self): """ :returns: The name of the phone number's owner - :rtype: unicode + :rtype: dict """ return self._properties['caller_name'] @@ -241,7 +241,7 @@ def national_format(self): def carrier(self): """ :returns: The telecom company that provides the phone number - :rtype: unicode + :rtype: dict """ return self._properties['carrier'] diff --git a/twilio/rest/trunking/v1/trunk/phone_number.py b/twilio/rest/trunking/v1/trunk/phone_number.py index 88c1a80cfe..a1f13448aa 100644 --- a/twilio/rest/trunking/v1/trunk/phone_number.py +++ b/twilio/rest/trunking/v1/trunk/phone_number.py @@ -372,7 +372,7 @@ def beta(self): def capabilities(self): """ :returns: Indicate if a phone can receive calls or messages - :rtype: unicode + :rtype: dict """ return self._properties['capabilities']