-
Notifications
You must be signed in to change notification settings - Fork 208
Description
I'm submitting a...
[ ] Regression (a behaviour that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[X ] Documentation issue or request
[ ] Other... Please describe:
Expected Behaviour
local_debug.py file in https://github.com/alexa/alexa-skills-kit-sdk-for-python/tree/master/ask-sdk-local-debug
should be (note position of the close square bracket):
from ask_sdk_local_debug.local_debugger_invoker import LocalDebuggerInvoker
if name == "main":
LocalDebuggerInvoker([
'--accessToken', '<ACCESS_TOKEN>',
'--skillId', '<SKILL_ID>',
'--skillHandler', '<HANDLER_NAME>',
'--skillFilePath', '<FILE_NAME>'
"--region", "" # Optional argument. Region defaults to NA.
]
).invoke()
Current Behaviour
VScode detects mis-matched brackets with suggested local_debug.py :
from ask_sdk_local_debug.local_debugger_invoker import LocalDebuggerInvoker
if name == "main":
LocalDebuggerInvoker([
'--accessToken', '<ACCESS_TOKEN>',
'--skillId', '<SKILL_ID>',
'--skillHandler', '<HANDLER_NAME>',
'--skillFilePath', '<FILE_NAME>'
"--region", "" # Optional argument. Region defaults to NA.]
).invoke()
Possible Solution
Change the documentation
Steps to Reproduce (for bugs)
// Provide a self-contained, concise snippet of code
// For more complex issues provide a repo with the smallest sample that reproduces the bug
// Including business logic or unrelated code makes diagnosis more difficult
Context
Your Environment
- ASK SDK for Python used: x.x.x
- Operating System and version:
Python version info
- Python version used for development: