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

documentation error - local_debug.py #205

Open
jallwork opened this issue Jan 17, 2023 · 0 comments
Open

documentation error - local_debug.py #205

jallwork opened this issue Jan 17, 2023 · 0 comments

Comments

@jallwork
Copy link

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:
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