Replaced values.unset in Twilio methods signature with None for JSON compatibility
This commit is contained in:
parent
403076e6ab
commit
019bcbf90a
1 changed files with 8 additions and 8 deletions
|
@ -156,15 +156,15 @@ class TwilioPlugin(Plugin):
|
||||||
@action
|
@action
|
||||||
def register_phone_number(self,
|
def register_phone_number(self,
|
||||||
phone_number: str,
|
phone_number: str,
|
||||||
friendly_name: str = values.unset,
|
friendly_name: Optional[str] = None,
|
||||||
address_sid: str = values.unset,
|
address_sid: Optional[str] = None,
|
||||||
sms_url: str = values.unset,
|
sms_url: Optional[str] = None,
|
||||||
sms_fallback_url: str = values.unset,
|
sms_fallback_url: Optional[str] = None,
|
||||||
status_callback: str = values.unset,
|
status_callback: Optional[str] = None,
|
||||||
voice_caller_id_lookup: bool = True,
|
voice_caller_id_lookup: bool = True,
|
||||||
voice_url: str = values.unset,
|
voice_url: Optional[str] = None,
|
||||||
voice_fallback_url: str = values.unset,
|
voice_fallback_url: Optional[str] = None,
|
||||||
area_code: str = values.unset) -> dict:
|
area_code: Optional[str] = None) -> dict:
|
||||||
# noinspection SpellCheckingInspection
|
# noinspection SpellCheckingInspection
|
||||||
"""
|
"""
|
||||||
Request to allocate a phone number on your Twilio account. The phone number should first be displayed as
|
Request to allocate a phone number on your Twilio account. The phone number should first be displayed as
|
||||||
|
|
Loading…
Reference in a new issue