Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_slot_value_v2 returns 'None' for slot_value #27

Open
rubenturcios opened this issue May 19, 2022 · 0 comments
Open

get_slot_value_v2 returns 'None' for slot_value #27

rubenturcios opened this issue May 19, 2022 · 0 comments

Comments

@rubenturcios
Copy link

rubenturcios commented May 19, 2022

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request (generic to all classes)
[ ] Documentation issue or request
[ ] Other... Please describe:

Returns incorrect value for attribute slotValue (slot_value).

Expected Behavior

get_slot_value_v2 should return the value of the slot, not None

Current Behavior

slotValue in attribute map for obj of type Slot does not resolve to anything in a response json file / envelope. Returns None for mapped attribute value slot_value. It does return the correct value in attribute value or when using get_slot_value (version 1)

Possible Solution

Fix slot object deserialization. 

Steps to Reproduce (for bugs)

Context

Found while working on intent handler logic for Alexa skill

Your Environment

  • ASK SDK Models for Python used: latest
  • ASK SDK for Python used: latest
  • Operating System and version: windows 10

Python version info

  • Python version used for development: 3.8.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant