Skip to content

Commit

Permalink
Release 1.10.1. For changelog, check CHANGELOG.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ask-pyth committed Apr 15, 2019
1 parent dd22f52 commit 031d996
Show file tree
Hide file tree
Showing 260 changed files with 272 additions and 263 deletions.
9 changes: 9 additions & 0 deletions ask-sdk-model/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,12 @@ This release contains the following changes :
- The `Skill Messaging API <https://developer.amazon.com/docs/smapi/skill-messaging-api-reference.html>`__ is now supported. Use the Skill Messaging API to send a message request to a skill for a specified user.
- Adds support for additional `APL Standard Commands <https://developer.amazon.com/docs/alexa-presentation-language/apl-standard-commands.html>`__.
- Packaged type information in models as per `PEP 0561 <https://www.python.org/dev/peps/pep-0561/>`__.


1.10.1
^^^^^^^

This release includes the following :

- Fixing the imports under `reminder_management` service, to deserialize the reminders correctly.

2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__pip_package_name__ = 'ask-sdk-model'
__description__ = 'The ASK SDK Model package provides model definitions, for building Alexa Skills.'
__url__ = 'https://github.com/alexa/alexa-apis-for-python'
__version__ = '1.10.0'
__version__ = '1.10.1'
__author__ = 'Alexa Skills Kit'
__author_email__ = 'ask-sdk-dynamic@amazon.com'
__license__ = 'Apache 2.0'
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Application(object):

attribute_map = {
'application_id': 'applicationId'
} # type: Dict
} # type: Dict

def __init__(self, application_id=None):
# type: (Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CanFulfillIntent(object):
attribute_map = {
'can_fulfill': 'canFulfill',
'slots': 'slots'
} # type: Dict
} # type: Dict

def __init__(self, can_fulfill=None, slots=None):
# type: (Optional[CanFulfillIntentValues], Optional[Dict[str, CanFulfillSlot]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CanFulfillIntentRequest(Request):
'locale': 'locale',
'dialog_state': 'dialogState',
'intent': 'intent'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=None, intent=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[DialogState], Optional[Intent]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_slot.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CanFulfillSlot(object):
attribute_map = {
'can_understand': 'canUnderstand',
'can_fulfill': 'canFulfill'
} # type: Dict
} # type: Dict

def __init__(self, can_understand=None, can_fulfill=None):
# type: (Optional[CanUnderstandSlotValues], Optional[CanFulfillSlotValues]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Context(object):
'display': 'Display',
'geolocation': 'Geolocation',
'viewport': 'Viewport'
} # type: Dict
} # type: Dict

def __init__(self, system=None, audio_player=None, automotive=None, display=None, geolocation=None, viewport=None):
# type: (Optional[SystemState], Optional[AudioPlayerState], Optional[AutomotiveState], Optional[DisplayState], Optional[GeolocationState], Optional[ViewportState]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Device(object):
attribute_map = {
'device_id': 'deviceId',
'supported_interfaces': 'supportedInterfaces'
} # type: Dict
} # type: Dict

def __init__(self, device_id=None, supported_interfaces=None):
# type: (Optional[str], Optional[SupportedInterfaces]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ConfirmIntentDirective(Directive):
attribute_map = {
'object_type': 'type',
'updated_intent': 'updatedIntent'
} # type: Dict
} # type: Dict

def __init__(self, updated_intent=None):
# type: (Optional[Intent]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ConfirmSlotDirective(Directive):
'object_type': 'type',
'updated_intent': 'updatedIntent',
'slot_to_confirm': 'slotToConfirm'
} # type: Dict
} # type: Dict

def __init__(self, updated_intent=None, slot_to_confirm=None):
# type: (Optional[Intent], Optional[str]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/dialog/delegate_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class DelegateDirective(Directive):
attribute_map = {
'object_type': 'type',
'updated_intent': 'updatedIntent'
} # type: Dict
} # type: Dict

def __init__(self, updated_intent=None):
# type: (Optional[Intent]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DynamicEntitiesDirective(Directive):
'object_type': 'type',
'update_behavior': 'updateBehavior',
'types': 'types'
} # type: Dict
} # type: Dict

def __init__(self, update_behavior=None, types=None):
# type: (Optional[UpdateBehavior], Optional[List[EntityListItem]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ElicitSlotDirective(Directive):
'object_type': 'type',
'updated_intent': 'updatedIntent',
'slot_to_elicit': 'slotToElicit'
} # type: Dict
} # type: Dict

def __init__(self, updated_intent=None, slot_to_elicit=None):
# type: (Optional[Intent], Optional[str]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Directive(object):

attribute_map = {
'object_type': 'type'
} # type: Dict
} # type: Dict

discriminator_value_class_map = {
'AudioPlayer.Stop': 'ask_sdk_model.interfaces.audioplayer.stop_directive.StopDirective',
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/er/dynamic/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Entity(object):
attribute_map = {
'id': 'id',
'name': 'name'
} # type: Dict
} # type: Dict

def __init__(self, id=None, name=None):
# type: (Optional[str], Optional[EntityValueAndSynonyms]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/er/dynamic/entity_list_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class EntityListItem(object):
attribute_map = {
'name': 'name',
'values': 'values'
} # type: Dict
} # type: Dict

def __init__(self, name=None, values=None):
# type: (Optional[str], Optional[List[Entity]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class EntityValueAndSynonyms(object):
attribute_map = {
'value': 'value',
'synonyms': 'synonyms'
} # type: Dict
} # type: Dict

def __init__(self, value=None, synonyms=None):
# type: (Optional[str], Optional[List[object]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AccountLinkedBody(object):

attribute_map = {
'access_token': 'accessToken'
} # type: Dict
} # type: Dict

def __init__(self, access_token=None):
# type: (Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class AccountLinkedRequest(Request):
'body': 'body',
'event_creation_time': 'eventCreationTime',
'event_publishing_time': 'eventPublishingTime'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, body=None, event_creation_time=None, event_publishing_time=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[AccountLinkedBody], Optional[datetime], Optional[datetime]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Permission(object):

attribute_map = {
'scope': 'scope'
} # type: Dict
} # type: Dict

def __init__(self, scope=None):
# type: (Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PermissionAcceptedRequest(Request):
'body': 'body',
'event_creation_time': 'eventCreationTime',
'event_publishing_time': 'eventPublishingTime'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, body=None, event_creation_time=None, event_publishing_time=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[PermissionBody], Optional[datetime], Optional[datetime]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PermissionBody(object):

attribute_map = {
'accepted_permissions': 'acceptedPermissions'
} # type: Dict
} # type: Dict

def __init__(self, accepted_permissions=None):
# type: (Optional[List[Permission]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PermissionChangedRequest(Request):
'body': 'body',
'event_creation_time': 'eventCreationTime',
'event_publishing_time': 'eventPublishingTime'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, body=None, event_creation_time=None, event_publishing_time=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[PermissionBody], Optional[datetime], Optional[datetime]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ProactiveSubscriptionChangedBody(object):

attribute_map = {
'subscriptions': 'subscriptions'
} # type: Dict
} # type: Dict

def __init__(self, subscriptions=None):
# type: (Optional[List[ProactiveSubscriptionEvent]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ProactiveSubscriptionChangedRequest(Request):
'timestamp': 'timestamp',
'locale': 'locale',
'body': 'body'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, body=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[ProactiveSubscriptionChangedBody]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ProactiveSubscriptionEvent(object):

attribute_map = {
'event_name': 'eventName'
} # type: Dict
} # type: Dict

def __init__(self, event_name=None):
# type: (Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SkillDisabledRequest(Request):
'locale': 'locale',
'event_creation_time': 'eventCreationTime',
'event_publishing_time': 'eventPublishingTime'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, event_creation_time=None, event_publishing_time=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[datetime], Optional[datetime]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SkillEnabledRequest(Request):
'locale': 'locale',
'event_creation_time': 'eventCreationTime',
'event_publishing_time': 'eventPublishingTime'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, event_creation_time=None, event_publishing_time=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[datetime], Optional[datetime]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Intent(object):
'name': 'name',
'slots': 'slots',
'confirmation_status': 'confirmationStatus'
} # type: Dict
} # type: Dict

def __init__(self, name=None, slots=None, confirmation_status=None):
# type: (Optional[str], Optional[Dict[str, Slot]], Optional[IntentConfirmationStatus]) -> None
Expand Down
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/intent_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class IntentRequest(Request):
'locale': 'locale',
'dialog_state': 'dialogState',
'intent': 'intent'
} # type: Dict
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=None, intent=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[DialogState], Optional[Intent]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AlexaPresentationAplInterface(object):

attribute_map = {
'runtime': 'runtime'
} # type: Dict
} # type: Dict

def __init__(self, runtime=None):
# type: (Optional[Runtime]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class AutoPageCommand(Command):
'component_id': 'componentId',
'count': 'count',
'duration': 'duration'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, component_id=None, count=None, duration=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[str], Optional[int], Optional[int]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Command(object):
'delay': 'delay',
'description': 'description',
'when': 'when'
} # type: Dict
} # type: Dict

discriminator_value_class_map = {
'SetPage': 'ask_sdk_model.interfaces.alexa.presentation.apl.set_page_command.SetPageCommand',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ControlMediaCommand(Command):
'command': 'command',
'component_id': 'componentId',
'value': 'value'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, command=None, component_id=None, value=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[MediaCommandType], Optional[str], Optional[int]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ExecuteCommandsDirective(Directive):
'object_type': 'type',
'commands': 'commands',
'token': 'token'
} # type: Dict
} # type: Dict

def __init__(self, commands=None, token=None):
# type: (Optional[List[Command]], Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class IdleCommand(Command):
'delay': 'delay',
'description': 'description',
'when': 'when'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None):
# type: (Optional[int], Optional[str], Optional[bool]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ParallelCommand(Command):
'description': 'description',
'when': 'when',
'commands': 'commands'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, commands=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[List[Command]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PlayMediaCommand(Command):
'audio_track': 'audioTrack',
'component_id': 'componentId',
'source': 'source'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, audio_track=None, component_id=None, source=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[AudioTrack], Optional[str], Optional[List[VideoSource]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class RenderDocumentDirective(Directive):
'document': 'document',
'datasources': 'datasources',
'packages': 'packages'
} # type: Dict
} # type: Dict

def __init__(self, token=None, document=None, datasources=None, packages=None):
# type: (Optional[str], Optional[Dict[str, object]], Optional[Dict[str, object]], Optional[List[object]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Runtime(object):

attribute_map = {
'max_version': 'maxVersion'
} # type: Dict
} # type: Dict

def __init__(self, max_version=None):
# type: (Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ScrollCommand(Command):
'when': 'when',
'distance': 'distance',
'component_id': 'componentId'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, distance=None, component_id=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[int], Optional[str]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ScrollToIndexCommand(Command):
'align': 'align',
'component_id': 'componentId',
'index': 'index'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, align=None, component_id=None, index=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[Align], Optional[str], Optional[int]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SendEventCommand(Command):
'when': 'when',
'arguments': 'arguments',
'components': 'components'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, arguments=None, components=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[List[object]], Optional[List[object]]) -> None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SequentialCommand(Command):
'when': 'when',
'commands': 'commands',
'repeat_count': 'repeatCount'
} # type: Dict
} # type: Dict

def __init__(self, delay=None, description=None, when=None, commands=None, repeat_count=None):
# type: (Optional[int], Optional[str], Optional[bool], Optional[List[Command]], Optional[int]) -> None
Expand Down
Loading

0 comments on commit 031d996

Please sign in to comment.