-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Completed AWS SAM support #754
Conversation
Looks like I have to fix some code style. |
Ok that's fixed |
Hey @Noah-Huppert, awesome to see this work carried forward. Nice work! :D |
Nice job @Noah-Huppert and @dogonthehorizon! Thank you for getting SAM implemented. |
When about do you think this will make it into a release? |
I'm trying to wrangle a few remaining PR's into master. More than likely I'll do a new release over the weekend. |
Awesome - looking forward to the release |
Not involved with the project, but maybe talking to this guy would make sense ? https://github.com/capless/sammy |
Unfortunately we already added all of the SAM resources so it wouldn't make much sense to redo it again but using a library |
@dogonthehorizon did almost all the heavy lifting for this one. I fixed the bug mentioned in the previous PR #671.
I did this by adding a
cls
argument to theTemplateGenerator._convert_definition
method. If thecls
argument is provided it will attempt to create an instance of the provided class. If it is not provided then no classes will be made.Then the only place where this
cls
argument is provided is in theTemplateGenerator.__init__
method when adding resources.All the tests pass but I am suspicious of my fix, it seemed too simple for such and annoying bug.