Skip to content

Commit c60f60d

Browse files
author
ask-pyth
committed
Release 1.20.0. For changelog, check CHANGELOG.rst
1 parent 7b63a4f commit c60f60d

File tree

14 files changed

+39
-30
lines changed

14 files changed

+39
-30
lines changed

ask-sdk-model/CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,11 @@ This release contains the following changes :
258258
- Alexa Presentation Language HTML Interface support. Apply for preview request `here <https://build.amazonalexadev.com/AlexaWebAPIforGamesDeveloperPreview_AlexaWebAPIforGames.html>`__.
259259
- Update service client methods to return an `ApiResponse` instance, in case a full response is required instead of just the response body.
260260
- mypy fix for `AuthenticationConfiguration` class.
261+
262+
263+
1.20.0
264+
~~~~~~
265+
266+
This release contains the following changes :
267+
268+
- captions support in `audioplayer play directive <https://developer.amazon.com/docs/custom-skills/audioplayer-interface-reference.html#play>`__.

ask-sdk-model/ask_sdk_model/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__pip_package_name__ = 'ask-sdk-model'
1515
__description__ = 'The ASK SDK Model package provides model definitions, for building Alexa Skills.'
1616
__url__ = 'https://github.com/alexa/alexa-apis-for-python'
17-
__version__ = '1.19.0'
17+
__version__ = '1.20.0'
1818
__author__ = 'Alexa Skills Kit'
1919
__author_email__ = 'ask-sdk-dynamic@amazon.com'
2020
__license__ = 'Apache 2.0'

ask-sdk-model/ask_sdk_model/services/device_address/device_address_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
class DeviceAddressServiceClient(BaseServiceClient):
3838
"""ServiceClient for calling the DeviceAddressService APIs.
3939
40-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
40+
:param api_configuration: Instance of ApiConfiguration
4141
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4242
"""
4343
def __init__(self, api_configuration):

ask-sdk-model/ask_sdk_model/services/directive/directive_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
class DirectiveServiceClient(BaseServiceClient):
3737
"""ServiceClient for calling the DirectiveService APIs.
3838
39-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
39+
:param api_configuration: Instance of ApiConfiguration
4040
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4141
"""
4242
def __init__(self, api_configuration):

ask-sdk-model/ask_sdk_model/services/endpoint_enumeration/endpoint_enumeration_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
class EndpointEnumerationServiceClient(BaseServiceClient):
3737
"""ServiceClient for calling the EndpointEnumerationService APIs.
3838
39-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
39+
:param api_configuration: Instance of ApiConfiguration
4040
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4141
"""
4242
def __init__(self, api_configuration):

ask-sdk-model/ask_sdk_model/services/list_management/list_management_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
class ListManagementServiceClient(BaseServiceClient):
4545
"""ServiceClient for calling the ListManagementService APIs.
4646
47-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
47+
:param api_configuration: Instance of ApiConfiguration
4848
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4949
"""
5050
def __init__(self, api_configuration):

ask-sdk-model/ask_sdk_model/services/monetization/monetization_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
class MonetizationServiceClient(BaseServiceClient):
4040
"""ServiceClient for calling the MonetizationService APIs.
4141
42-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
42+
:param api_configuration: Instance of ApiConfiguration
4343
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4444
"""
4545
def __init__(self, api_configuration):

ask-sdk-model/ask_sdk_model/services/proactive_events/proactive_events_service_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
class ProactiveEventsServiceClient(BaseServiceClient):
4040
"""ServiceClient for calling the ProactiveEventsService APIs.
4141
42-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
42+
:param api_configuration: Instance of ApiConfiguration
4343
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4444
"""
4545
def __init__(self, api_configuration, authentication_configuration, lwa_client=None):
@@ -49,7 +49,7 @@ def __init__(self, api_configuration, authentication_configuration, lwa_client=N
4949
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
5050
:param authentication_configuration: Instance of :py:class:`ask_sdk_model.services.authentication_configuration.AuthenticationConfiguration`
5151
:type api_configuration: ask_sdk_model.services.authentication_configuration.AuthenticationConfiguration
52-
:param lwa_client: (Optional) Instance of :py:class:`ask_sdk_model.services.lwa.LwaClient`,
52+
:param lwa_client: (Optional) Instance of :py:class:`ask_sdk_model.services.lwa.LwaClient`,
5353
can be passed when the LwaClient configuration is different from the authentication
5454
and api configuration passed
5555
:type lwa_client: ask_sdk_model.services.lwa.LwaClient

ask-sdk-model/ask_sdk_model/services/proactive_events/skill_stage.py

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
1-
# -*- coding: utf-8 -*-
1+
# coding: utf-8
2+
23
#
3-
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights
4-
# Reserved.
4+
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
55
#
6-
# Licensed under the Apache License, Version 2.0 (the "License").
7-
# You may not use this file except in compliance with the License.
8-
# A copy of the License is located at
6+
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
7+
# except in compliance with the License. A copy of the License is located at
98
#
109
# http://aws.amazon.com/apache2.0/
1110
#
12-
# or in the "license" file accompanying this file. This file is
13-
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
14-
# OF ANY KIND, either express or implied. See the License for the
15-
# specific language governing permissions and limitations under the
16-
# License.
11+
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for
13+
# the specific language governing permissions and limitations under the License.
1714
#
1815

1916
import pprint
17+
import re # noqa: F401
18+
import six
2019
import typing
2120
from enum import Enum
2221

2322

2423
if typing.TYPE_CHECKING:
25-
from typing import Dict
24+
from typing import Dict, List, Optional, Union
25+
from datetime import datetime
2626

2727

2828
class SkillStage(Enum):
29-
"""Stage for creating Proactive events.
29+
"""
30+
Stage for creating Proactive events. Since proactive events can be created on the DEVELOPMENT and LIVE stages of the skill, this enum provides the stage values that can be used to pass to the service call.
31+
3032
31-
Since proactive events can be created on the DEVELOPMENT and LIVE
32-
stages of the skill, this enum provides the stage values that can
33-
be used to pass to the service call.
3433
3534
Allowed enum values: [DEVELOPMENT, LIVE]
3635
"""

ask-sdk-model/ask_sdk_model/services/reminder_management/reminder_management_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
class ReminderManagementServiceClient(BaseServiceClient):
4040
"""ServiceClient for calling the ReminderManagementService APIs.
4141
42-
:param api_configuration: Instance of :py:class:`ask_sdk_model.services.api_configuration.ApiConfiguration`
42+
:param api_configuration: Instance of ApiConfiguration
4343
:type api_configuration: ask_sdk_model.services.api_configuration.ApiConfiguration
4444
"""
4545
def __init__(self, api_configuration):

0 commit comments

Comments
 (0)