Skip to content

Commit

Permalink
Release 1.10.3. For changelog, check CHANGELOG.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ask-pyth committed May 1, 2019
1 parent 1993dc9 commit 153f406
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions ask-sdk-model/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,12 @@ This release includes the following :
^^^^^^^

- Added video codecs information in the APL Viewport Characteristic `Video property <https://developer.amazon.com/docs/alexa-presentation-language/apl-viewport-characteristics.html#video>`__.


1.10.3
^^^^^^^

This release contains the following changes:

- Fix the `deserialized_type` for viewport_state.video object

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.2'
__version__ = '1.10.3'
__author__ = 'Alexa Skills Kit'
__author_email__ = 'ask-sdk-dynamic@amazon.com'
__license__ = 'Apache 2.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from ask_sdk_model.interfaces.viewport.touch import Touch
from ask_sdk_model.interfaces.viewport.keyboard import Keyboard
from ask_sdk_model.interfaces.viewport.shape import Shape
from ask_sdk_model.interfaces.viewport.video import Video
from ask_sdk_model.interfaces.viewport.viewport_state_video import Video


class ViewportState(object):
Expand All @@ -54,7 +54,7 @@ class ViewportState(object):
:param keyboard: The physical button input mechanisms supported by the device. An empty array indicates physical button input is unsupported.
:type keyboard: (optional) list[ask_sdk_model.interfaces.viewport.keyboard.Keyboard]
:param video:
:type video: (optional) ask_sdk_model.interfaces.viewport.video.Video
:type video: (optional) ask_sdk_model.interfaces.viewport.viewport_state_video.Video
"""
deserialized_types = {
Expand All @@ -67,7 +67,7 @@ class ViewportState(object):
'current_pixel_height': 'float',
'touch': 'list[ask_sdk_model.interfaces.viewport.touch.Touch]',
'keyboard': 'list[ask_sdk_model.interfaces.viewport.keyboard.Keyboard]',
'video': 'ask_sdk_model.interfaces.viewport.video.Video'
'video': 'ask_sdk_model.interfaces.viewport.viewport_state_video.Video'
} # type: Dict

attribute_map = {
Expand Down Expand Up @@ -106,7 +106,7 @@ def __init__(self, experiences=None, shape=None, pixel_width=None, pixel_height=
:param keyboard: The physical button input mechanisms supported by the device. An empty array indicates physical button input is unsupported.
:type keyboard: (optional) list[ask_sdk_model.interfaces.viewport.keyboard.Keyboard]
:param video:
:type video: (optional) ask_sdk_model.interfaces.viewport.video.Video
:type video: (optional) ask_sdk_model.interfaces.viewport.viewport_state_video.Video
"""
self.__discriminator_value = None # type: str

Expand Down

0 comments on commit 153f406

Please sign in to comment.