alexa / alexa-skills-kit-sdk-for-python

The Alexa Skills Kit SDK for Python helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-python/overview.html
Apache License 2.0
812 stars 206 forks source link

Add UserAgentManager, for adding custom user agents outside skill context #173

Closed nikhilym closed 4 years ago

nikhilym commented 4 years ago

Description

This commit introduces the following changes :

Motivation and Context

To allow frameworks built on the SDK, to provide user agent information without registering themselves to the skill builder. This way, frameworks can register user agents and create a skill context outside of skill builder, and still get the required user agent from the SDK.

Testing

Unit tests added.

Screenshots (if appropriate)

Types of changes

Checklist

License

nikhilym commented 4 years ago

Refactored the code around the nit comments. Since the functionality is the same , I am going ahead and merging the PR. Thanks for reviewing.